This is the git repository of Final Project of CSCI 2020 Winter Semester. This is a video game project called "ASTEROIDS" that has the requested features.
This instruction will get you a copy of the code up and running on your local machine. Follow the instruction from installing the IDE and Library to Running the Code.
IntelliJ IDEA Community Version
JavaFX SDK 11.0.2
- JavaFX SDK: https://gluonhq.com/products/javafx/
- IntelliJ IDEA: https://www.jetbrains.com/idea/download/
- Download JavaFX SDK and pick the appropriate platform
- Download IntelliJ IDEA Community Version and pick the appropriate platform
- Install IntelliJ IDEA on your local machine
- Clone this repository
- Open JavaFX and Open Project of this repository.
- Once opened, go to File > Project Structure.
- Go to Project > Project SDK as "
12
" - Go to Modules, select "
/src
" directory as Sources and "/out
" directory as Excluded. - Select "
/src/Textures
", "/src/Misc
", "/src/Misc/SFX
" and "/src/Misc/Music
" as Resources. - Go to Libraries, select "+" icon, go to your JavaFX SDK root folder and select "
lib
" folder. - Click OK
- Select Run > Edit Configuration...
- Select Application > "+" symbol on the top left > Application
- In VM Options textfield, write "
--module-path (JavaFX SDK Root Folder)\lib --add-modules javafx.controls,javafx.fxml
" - Put the appropriate code's name in the Name textfield
- In Main Class textfield, write "
Main
"
- Movement:
LEFT & RIGHT ARROW KEYS
- Slow Down:
LEFT-SHIFT
- Shoot:
Z
- Destroy as many asteroids as you can.
- DO NOT let any asteroids pass through the screen
- DO NOT let the asteroids hit you.
- Jinhan Liu | 100721099
- Kevin Chandra | 100708570
- Nicolas Belair | 100709799
- Matthew Vrban | 100708709