Back to portfolio

Python / Interactive

Pygame Platformer

A Pygame platformer with ten seasonal levels.

GitHub
First level of the Python platformer

About the project

A Python platformer with animated sprites, ten seasonal levels, health, dodge rolls, and different surface physics. The embedded version runs the repository’s game through a Python/WebAssembly runtime. Gameplay and level design are maintained in the game repository.

Implementation decisions

Represent levels as character grids and construct sprites from that data.

Keep player animation, collision, and surface behavior in the sprite layer.

Adapt blocking loops to asyncio for the browser without rewriting gameplay in JavaScript.

Current scope

Playing requires a keyboard and an initial Python runtime download. R reloads the packaged level; live editing of local Python files remains part of the desktop development workflow.