🎮 My First Python Game â€ĸ Episode 2 of 7 â€ĸ See All Episodes
🎮 Episode 2 â€ĸ Beginner â€ĸ Builds on Episode 1

Jump Around!
Simple Platformer

Gravity, jumping and platforms, build a Mario-style level in Pygame. You will learn velocity physics, landing detection and level design with a list of platforms. See the finished level first, then build yours step by step.

🎮 Ages 10+ 🎮 ~1.5 Hours 🎮 Python ✓ Free
🎮 Gravity 🎮 Jumping 🎮 Platforms 🎮 Lists 🎮 Landing detection 🎮 Goal & win
⭐
0 XP
Level 1
🎮0
Your Progress 0 / 6 steps
đŸ› ī¸
Build it in our Python Studio too: lay out a level on a grid, tick the Pygame features and download a real main.py you can run, right in the browser with no install. Open the Python Mod Studio →
đŸ“Ļ
Reference project: download the finished code files used in this workshop: âŦ‡ python-platformer-workshop-reference.zip. Every code block also has a Copy button.
đŸ’ģ
How to run: Save your file and run python game.py in your terminal. The game window should appear!
🎮
Need the game setup? Each episode builds a new game on the same "usual template", import pygame, pygame.init(), the window and the while running game loop. If you're starting here or need that template, grab it in one click: Episode 1 full template ? â€ĸ Python Cheatsheet ?
🌐
How it works: write the Python in each step, and the canvas on the right shows what your code does. It is a live preview that maps Pygame ideas to a playable game. Type to see it update, or press Apply to Canvas to test it straight away.
đŸĻŠ
Lumo says: every step adds one feature to the same game. Type a little, click Apply to Canvas, and test it straight away. There is no wrong answer you can't undo.

Build Simple Platformer Step by Step

Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.

Step 1 / 6
A player standing on a grey platform under a blue sky
🎮🎮🎮🎮?
Workshop Complete!
Real platformer physics in Python, gravity, jump arcs and landing. Episode 3 turns up the chaos with Dodge & Collect!
0
Total XP
1
Level
0
Best Streak
0%
Accuracy
🎮-🎮 Episode 3: Dodge & Collect ?
⭐ View My Progress & Certificates

This workshop was free and took many hours to build. If it helped you learn something new, consider supporting the project.

☕ Support on Ko-fi
🐍 Build a Platformer in the Python Studio Pick the game in the browser, tune it, play it live, then download a runnable Pygame project with real Python code. No install. Open the Studio →