Releases: DaNoob8157/Boat-Man-Shooters
Release list
Boat Man Shooters v1-beta
Hello! Due to app-building issues with relative directories in the code, we have published this first release as a beta. As you can see, there are no built apps in this release.
Installation of Dependencies
This project uses the dependencies pygame-ce, asyncio, imageio, moderngl, numpy, and supabase, which are not built in to the Python system. To install these dependencies, you will have to use pip in your terminal if you are in a local environment.
NOTE: If you are running in an app, you will not need to install these dependencies. Please proceed to section 3.3
-
Install
pipif Needed- First, get the
get-pip.pyfile from the following link:
https://bootstrap.pypa.io/get-pip.py - Run it in your local Python environment or alternatively use
cdin your terminal to get into the file and run it withpython3:
- First, get the
cd /Directory/to/get-pip.py
python3 get-pip.pyNOTE: Replace "/Directory/to/get-pip.py" with the actual directory to
get-pip.py
-
Remove Basic
pygame(if installed)
If you don't have pygame installed, you may skip the following step to delete the basic pygame. If you do have this command, run the following in your terminal to delete pygame so that you may replace it with pygame-ce.
pip uninstall pygameIf that did not work, you can alternatively try the following command:
pip3 uninstall pygame-
Install
pygame-ce
Why
pygame-ce?We decided to use
pygame-ce, the community fork of pygame, because of its continuous updates and security fixes. It also helps our game work faster than the original. Codewise, it's very similar; you can just callimport pygamejust like the original!
You may now install the dependencies:
cdinto repository folder:
cd /Directory/to/repositoryNOTE: Replace
"/Directory/to/repository"with the actual directory to the repository.
- Install dependencies:
pip install -r requirements.txtIf that did not work, you can alternatively try the following command:
pip3 install -r requirements.txtNOTE: These directions are assuming you are running Python verison 3 or higher.
How to Run (Python Files)
- Clone the repository with the following command:
git clone https://github.com/apmckelvey/boat-man-shooters.gitcdinto the repository folder:
cd /Directory/to/repositoryNOTE: Replace
"/Directory/to/repository"with the actual directory to the repository
- Run
main.pyusingPython:
python /Game_Code/main.pyIf that did not work, you can alternatively try the following command:
python3 /Game_Code/main.py