Skip to content

audzeimar/python-2d-platformer-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geometry Dash Clone (Pygame)

A small Geometry Dash-inspired game written in Python with Pygame. The project includes a start menu, simple settings screen, side-scrolling gameplay, collision detection, particles and a death animation.

Features

  • Start menu with buttons
  • Auto-running player with jump mechanic
  • Tile-based level loaded from a text map
  • Camera tracking
  • Background scrolling
  • Particle trail and death animation
  • Relative asset loading (no hardcoded local paths)

Project Structure

GD_fixed/
├── assets/
│   ├── fonts/
│   ├── images/
│   ├── maps/
│   └── music/
├── src/
│   ├── assets.py
│   ├── button.py
│   ├── camera.py
│   ├── death_animation.py
│   ├── game.py
│   ├── main.py
│   ├── menu.py
│   ├── particles.py
│   ├── player.py
│   ├── settings.py
│   └── utils.py
├── requirements.txt
└── README.md

How to run

  1. Create a virtual environment if you want.
  2. Install dependencies:
pip install -r requirements.txt
  1. Start the game:
python src/main.py

Controls

  • Space – jump
  • Close window – quit the game

What I Learned

  • working with game loops and real-time systems
  • implementing physics and collision detection
  • structuring a multi-file Python project
  • managing assets and project architecture

About

A 2D platformer game built in Python using Pygame with custom physics, animations and level system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages