Welcome to this repository!
Users on mac, please try using the Linux steps.
If you encounter any bugs, feel free to mention it in the Issues page, or, if you have a suggestion that makes this better, you can make a pull request!
If you are using the Windows OS (Operating System):
- Download the .py file. DO NOT RENAME IT UNLESS YOU KNOW WHAT YOU ARE DOING!
- Install Visual Studio Code. You can install another IDLE or IDE, but I find Visual Studio Code easier to navigate. Visual Studio Code is a free IDE.
- Get Python (either the extension or from somewhere else)
- Get the module Pygame (in command prompt, type in pip install pygame)
- To run the game without making it an executable, run it in your IDLE or IDE
- (Optional) Make your edits and modifications.
- (Optional) Get Pyinstaller (pip install pyinstaller)
- (Optional) In the command prompt, type in "pyinstaller (directory path)\SuperSpaceDefense.py --onefile"
- (Optional) After a while, go to the folder where you put the file SuperSpaceDefense.py and then go to dist. Then open the file inside and start playing!
If you are using the Linux OS (Operating System):
- Download the .py file. DO NOT RENAME IT UNLESS YOU KNOW WHAT YOU ARE DOING!
- Install Visual Studio Code. You can install another IDLE or IDE, or use your text editor, but I find Visual Studio Code easier to navigate. Visual Studio Code is a free IDE.
- Get Python (type in sudo apt install python in the terminal). However, python is generally defaultly installed on Linux, so you might as well skip this step if you are on Linux OS.
- Get the module pygame (in terminal, type in pip3 install pygame)
- To run the game without making it an executable, run it in your IDLE or IDE
- (Optional) Make your edits and modifications.
- (Optional) Get Pyinstaller (pip3 install pyinstaller)
- (Optional) In the command prompt, type in "pyinstaller (directory path)/SuperSpaceDefense.py --onefile
- (Optional) After a while, go to the folder where you put the file SuperSpaceDefense.py and then go to dist. Then open the file inside and start playing!
- (Step 8 needs to be done) If you encounter issues about not being able to open the file, copy the directory, go to terminal, then type in cd (paste the directory here), then type in chmod +x SuperSpaceDefense, then type in ./SuperSpaceDefense
If you just want to play the game as normal:
If you are using Linux OS (Operating System):
- Download the executable (It does NOT have the .exe file extension)
- Open the file and enjoy!
If you are using Windows OS (Operating System): Executable build coming soon!
If you are using the Mac OS (Operating System): Please follow the Hacker's Guide above, and then make the build. After that, make a push request, and I will accept it.