I am making a game where you press B to toggle on and off platforms. How do I turn walls on/off at these tiles when B is pressed?
Game: https://makecode.com/_0HsDMRCU0cL4
Note: the mechanic isn’t used until the third level.
I am making a game where you press B to toggle on and off platforms. How do I turn walls on/off at these tiles when B is pressed?
Game: https://makecode.com/_0HsDMRCU0cL4
Note: the mechanic isn’t used until the third level.
You can do this:
and enter the wall that you want to toggle on in the “array of ___ locations” and you can change what wall you want to replace (set walll on/off) and what tile you want to change it to (set ___ at value)
Oops! I thought it randomly deleted my post, so I made a second one, which is this one. Don’t mind this post, thanks.