A game where you dodge bullets that are coming down from the top of the screen. It can only be played with a keyboard.
This is just a pygame project which I followed a YouTube tutorial to make.
I have been adding new features such as sound effects, and lives and will try to add any suggestions!
Please leave them in Issues under the "suggestion" tag.
Note
This project is currently in active development, I work on it during my free time.
Any help would be greatly appreciated!
Do not hesitate to open a pull request. I will review it as fast as possible (1-3 days).
If you need help opening a pull request, please follow this link or watch this video.
The instructions to play the game are in-game.
Important
Are you on Windows?
If you are on Windows, you will need to run python
in terminal/command prompt on its own and download Python from the Microsoft store as well as from the website.
- Download Python from python.org. Make sure it is correct for your computer.
Caution
Make sure it is the official python site!
- Download the zip file from the main page of the repository. Click the green
Code
button and clickDownload Zip
- Extract/unzip the file to a desired location.
- Open the terminal on your computer and navigate to the extracted folder.
- Type:
pip install pygame
to install pygame. You also need to dopip install pygame_widgets
. - In the extracted folder, find
main.py
, and run this file.
You can also right-click it, clickcopy path
, go to terminal/command prompt and typepython PATH
. ReplacePATH
with the path to the file.
The game should start, but if you have any trouble, create an issue with the tag "help wanted".
Tip
You should try opening the main.py
file in the default IDLE
, and provide a screenshot of the error message when you run it in the IDLE
, as this will severely help me solve the issue faster.
- The first basic concept and code was from a YouTube tutorial.
- After that, 100% of the code was written by me with help from GitHub Copilot.
- All images were generated using Leonardo.ai with some exceptions:
- The mini-explosion gif when a bullet hits the ground, you can find it here
- The mute symbol can be found here
- The unmute symbol can be found here
- The pause button & settings gear symbol can be found in the SF Symbols app on Mac (It can be downloaded here: SF Symbols)
- All sounds were sourced from Pixabay and/or Uppbeat