Build a platformer game
Build a game where you run, jump, collect coins and stomp enemies, then put it online for anyone to play.
For anyone who knows Python basics: variables, lists, dictionaries, loops and functions. No game experience needed.
Start chapter 1What you will build, part by part
- Game loop
- Player
- Platforms
- Level
- Camera
- Coins
- Enemies
- Online
Chapters
12 chapters · about 6 hours- 1How games work15 min
- 2Set up your project25 min
- 3A window and the game loop20 min
- 4Move the player20 min
- 5Gravity and jumping25 min
- 6Platforms and collisions35 min
- 7Levels from text30 min
- 8A scrolling camera20 min
- 9Coins and score25 min
- 10Enemies, winning and losing45 min
- 11Share it40 min
- 12Make it yours60 min
You write the code on your own computer. The starter project and each chapter's finished code are on GitHub.