Back to course overview
Game Prototyping & Systems
Mechanics
Detect AABB collisions, add gravity and jumping, and structure game flow as a state machine.
3 lessons · 1h 53m
- 25mCollision detectionReading
Detect overlaps between axis-aligned boxes and points, and find every object a player touches.
- 50mSimple physicsReading
Add gravity, ground contact, jumping and variable jump height to a canvas platformer.
- 38mGame statesReading
Model menu, play, pause and game-over as a finite state machine with a pure transition function.