Free module
Game development
Learn game development hands on: the game loop, input and states, collisions, gravity, levels and spawn schedules, and playtesting a small browser game.
The lessons
Each lesson is free to read in full. Create a free account to run its commands in a live lab and to sit its quizzes and tasks.
1 · Container lab
The game loop
I can explain what a game loop does on every frame.
Read the lesson2 · Container lab
Player input and game states
I can model a game with states and the events that change them.
Read the lesson3 · Container lab
Collision detection
I can test whether two boxes or two circles overlap.
Read the lesson4 · Container lab
Velocity, gravity and bouncing
I can move a thing with velocity and gravity, one step per frame.
Read the lesson5 · Container lab
Levels and difficulty
I can describe a level as data and work out its spawn schedule.
Read the lesson6 · Container lab
Playtesting and game balance
I can read playtest results and decide what to change in a game.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.