Move in 8 directions
Easy · Smooth movement with the arrows, like top-down games.
Interactive tutorial: the editor checks each step by itself.
- Add the "8-Direction Movement" extension.
- Choose a sprite and drag "when green flag clicked" with "use 8-direction movement: yes" below.
- Click the flag, click the stage and use the arrows. No "forever" needed!
- Snap "max speed 200 acceleration 600 deceleration 500" and change the numbers to feel the difference.
- Snap "turn the sprite to where it moves" and choose "every 90°".
- Challenge: create a sprite, turn on "be a barrier" (Motion) and see your sprite can't pass through. (challenge)