Getting Started
Controls
Gallery
Here are the steps to running and compiling our project. All the steps assume that you are working on the Eclipse IDE and you are using Java 9.0.4 Development Kit.
Additionally, this game assumes that you are running it within a device running at 60hz. There is currently a bug with JavaFX AnimationTimer where if the user is running at above 60hz, the game is seen to be sped up.
- Help > Eclipse Marketplace > search e(fx)clipse and install.
Install JavaFX from here.
- Extract all the
.jarfiles within the download and put it in a folder, remember this directory. - On Eclipse, Window > Preferences > Java > Build Path > User Libraries
- Hit the new button, user library name should be JavaFX then click "Ok"
- Now, in User Libraries click on JavaFX and click on "Add External Jars"
- From step 1, go to the directory with all
.jarfiles and select all of them. - Hit "Apply and Close"
- Copy the github repository link. (https://github.com/jtolentino1/S21CPSC233Project.git)
- On Eclipse, click File > Import > Git > Projects from Git (with smart import) > Clone URL
- Fill in URL and Authentication then keep clicking next then finish.
- Right click on the project, then hit properties > Java Build Path then click on Modulepath
- Click "Add Library" and add JavaFX SDK. Then go to User Libraries and select JavaFX.
- Hit "Apply and Close"
If the code is not compiling, please make sure that the required dependencies (JavaFX SDK and user library JavaFX) are in module path.
- Click: Shoot in the direction of the mouse location.
- F: Blink a certain distance to the location of mouse.
- W: Move forwards.
- S: Move backwards.
- A: Move left.
- D: Move right.
- ESC: Pause / Unpause

