A game where you dodge bullets that are coming down from the top of the screen. It is available on Windows, Mac & Linux.
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.
If you have any feedback please fill out this survey
The instructions to play the game are in-game.
- Download Python from python.org. Make sure it is correct for your computer.
Caution
Make sure it is the official python site (https://python.org)!
Important
If you are on windows, please run python
on its own in the terminal/command prompt and install python from the microsoft store as well
- Download the latest release here
- Extract/unzip the file to a desired location.
- Navigate to the folder where you extracted the files. Find main.py (it is inside the space_dodge folder)
Note
The script will automatically create a venv (virtual environment) in the same folder as the main.py file. This avoids breaking system Python or relying on global packages.
- Right click it and open with python (launcher) not IDLE or run the command
python main.py
orpython3 main.py
(depending on your OS) to start the game.
Note
It may take a few seconds to open the game, as it is installing necessary packages, so please be patient.
You should create an issue and make sure to upload the mylog.log file if available. Make sure to upload screenshots or screen recordings of any errors. Thanks!
Tip
If you can't find the mylog.log file, then
you should try opening the main.py
file in the default IDLE
(right click main.py
and open with python 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, most of the code was written by me, however not all, please view the contributors section on my repo for more info
- All images were generated using Leonardo.ai and the Terms of Service allow commercial use, you can read more here
- Other media that was used is credited here:
- 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 x symbol ( the one to exit the pop-up menus) can be found here
- The pause button can be found in the SF Symbols app on Mac (It can be downloaded here)
- The Settings animated icon was created by Freepik - Flaticon
- The Mute icon was created by Freepik - Flaticon
- The Unmute icon was created by Freepik - Flaticon
- All sounds were sourced from Pixabay and Uppbeat
- The pause music is from uppbeat:
https://uppbeat.io/t/aylex/evening-meal - The main game music ( not title screen ) is from uppbeat:
https://uppbeat.io/t/qube/play - The other sounds are licensed under the Pixabay License
- The pause music is from uppbeat:
- Q: Why does the game freeze when I drag the window?
- A: Unfortunately, this is an operating system bug which pauses the main thread when you drag the window, causing the game to freeze.
- 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.
Important
All commits need to be signed & verified
This is automatically done when using Github Web/Github Codespaces
However, in your editor you may need to do extra steps
You can follow this guide for your IDE:
- If you would like to contact me, please message me on discord at
spacexplorer11
or email me at spacexplorer11@proton.me
Thank you so much for playing Space Dodge! I'd really appreciate it if you starred my repository! Back to the top ^