1
2
Drawing & Movement
10 minCoordinate systems, clearing the canvas, and moving rectangles.
Start Tutorial3
The Game Loop
15 minUnderstanding requestAnimationFrame and the heartbeat of every game.
Start TutorialOptional: delta time ยท fixed timestep.
4
Input Controls
15 minRecord keyboard and touch input, then read that state in the game loop.
Start Tutorial5
6
Game State & Score
10 minKeep score, restart cleanly, and know when a game has ended.
Start Tutorial7