Up: move up Feel free to remix and make Down: move down games with this: it might be more Left: move left easy than backpacking every Right: move right single block definition. W: move forward A: turn left S: move backward D: turn right
These custom movement blocks provide perfect collision detection. You can use them for platformers, mazes, shooters, physics simulations, etc. Just remember to give credit! There are 5 blocks: the x+() block and the y+() block, which you can use in place of change x by () and change y by (), the turn () block which works like the turn () degrees clockwise block, and the move () and trigonometrically move () blocks. The move block is an all-in-one modified version of the move () steps block, but you just stop when you hit a wall. The trigonometrically move () block is the same idea, but it uses the x+() and y+() blocks and sin/cos functions so you slide when you hit a wall. The trig move () block is automatically installed in the control script, but I left the move () block next to it, if you want to test both.