8-direction movement (Construct 3 style)
Arrows with acceleration, braking and wall collision, no "forever" needed.
- Add the 8-Direction Movement extension.
- On the flag: use 8-direction movement: yes. Done: the arrows already move the sprite.
- Tune max speed, acceleration and deceleration (steps per second). High acceleration = snappy; low deceleration = spaceship inertia.
- allowed directions: 8, 4 (mazes), up/down only or left/right only.
- turn the sprite to where it moves: free, every 45°, every 90° or don't turn.
- controls: arrows, WASD or none. With "none", use simulate key inside a "forever" for AI enemies or on-screen buttons.
The sprite does not pass through barriers or solid map blocks, and the when I hit a wall hat reports collisions. See the examples Ghost Maze (4 directions) and Space Hunt (8 directions with inertia).