Game Dev From Zero · Episode 6
Drive the ghost
Arrow keys or WASD (or the buttons) to move. The ghost is moved by exactly the lines on the right:
every frame, each if asks its question, and the line lights up when the answer is yes.
The game 320 × 180, like PALE WHISPERS
Things to try
- Untick if left is held. Now try going left.
- Untick the edge checks (the last four) and walk off the screen. Where's the ghost now?
- Hold right and watch "moving at". Then hold right + down. Faster?! Why? (Episode 7!)
- Set the speed to 200. Then 20. It's pixels per second, thanks to delta time.