Space Shooter is a simple 2D shooting game developed using the Pygame library in Python.
- Control a spaceship to shoot down enemy ships and avoid their bullets.
- Collect upgrades and XP to enhance your spaceship and increase your score.
- Dynamic background music and sound effects for an immersive gaming experience.
- Game over screen with an option to restart the game.
- Clone the repository to your local machine: https://github.com/zohidjondev/SpaceShooter.git
- Navigate to the project directory: cd SpaceShooter
- Install the required dependencies using pip: pip install -r requirements.txt
-
Run the main game file
main.py
: python main.py -
Use the arrow keys or 'A' and 'D' keys to move the spaceship.
-
Press the spacebar to shoot bullets.
-
Avoid enemy bullets and collect upgrades and XP to increase your score.
main.py
: Main game file containing the game logic and setup.Images/
: Directory containing images used in the game (background, spaceship, enemies, upgrades, etc.).Sounds/
: Directory containing sound files used in the game (background music, shooting sounds, etc.).
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Make changes and commit them to your branch.
- Push the changes to your fork on GitHub.
- Submit a pull request to the original repository.
- Developed by Zohidjon