A small platform game made in Python
Hey guys! Thank you for checking out my platform game. This was a project I created when I was 13 years old. While the optimization might not be the best, I have plans to improve it in the future. Enjoy playing!
- Platform Mechanics: Classic platform game with jumping, moving, and avoiding obstacles.
- Basic Enemies: Avoid comets, bullets, and spikes coming from the ground.
- Pixel-Perfect Collision: Experience precise collision detection for a smooth gameplay experience.
- Parabolic/Physics-Perfect Jump: Realistic jumping mechanics to enhance the platforming challenge.
- Sprite Animation: Animated sprites for more lively and engaging visuals.
- Randomized Gameplay: Each run is different, providing unique challenges and experiences.
- Obstacle Damage: Each type of obstacle inflicts different damage levels, adding to the game's strategic depth.
Before running the Python platform game, ensure you have the following prerequisites installed on your system:
-
Python 3.x:
- Install Python to run the game.
- Download Link: Python.org
-
Clone the repository
-
Open a terminal or command prompt.
-
Navigate to the directory
src
wheremain.py
is located. -
Run the following command to install the pygame library:
pip install pygame
-
Run the game using the following command:
python Version5.py
- Move Left: Press
A
key - Move Right: Press
D
key - Jump: Press
SPACEBAR
- Avoid Obstacles: Avoid comets, bullets, and spikes to survive as long as possible.
- Survive: The longer you survive, the higher your score.
- Optimization: Improve code structure and optimize performance.
- Highscore: Implement a highscore tracking system.
- Pause Functionality: Add a pause feature.
- Super Powers: Introduce new abilities for the player.
- Executable File: Convert the game into an executable file for easier distribution.
This project is a work in progress and was created when I was 13 years old. Future updates will improve performance and add new features.