2D Jump and Run with Level Progression
A simple 2D jump-and-run game built in Python using the Pygame library. The player must navigate platforms by jumping and moving to reach the goal and advance to the next level.
🕹️ Features
• Platform Mechanics: The player can move on and jump between platforms.
• Gravity: The player falls back down after a jump.
• Goal Logic: Reaching the goal triggers the next level.
• Multiple Levels: Each level has a unique platform layout and goal.
• Game Completion: A success message is displayed after completing all levels.
⚙️ Requirements
Make sure you have the following tools installed:
-
Python 3.7 or higher
-
Pygame library
Install Pygame using the following command:
pip install pygame
🚀 How to Run
- Clone this repository:
git clone https://github.com/your-username/jump-and-run
- Navigate to the directory:
cd jump-and-run
- Run the game:
python game.py
🎮 Controls
• Arrow Key Left: Move the player to the left.
• Arrow Key Right: Move the player to the right.
• Spacebar: Jump.