Welcome to the Space Invaders JavaFX Game! This is an exciting and action-packed game where you take control of a battle ship and face off against enemy ships in a thrilling space combat. Your objective is to destroy all the enemy ships across four challenging levels, each increasing in difficulty as you progress.
To run the Space Invaders JavaFX Game, follow these steps:
-
Ensure you have Java Development Kit (JDK) version 17 installed on your system.
-
Clone this repository to your local machine using the following command:
git clone https://github.com/EnYiHou/FX-Space-invaders.git
-
Navigate to the project directory:
cd FXSapceInvaders/
-
Run the project using Gradle:
./gradlew clean run
The game window will open, and you can start playing!
- Use the
W
,A
,S
, andD
keys to control the movement of your battle ship. W
: Move upA
: Move leftS
: Move downD
: Move right- Press the left mouse button to shoot and destroy the enemy ships.
- Your objective is to eliminate all the enemy ships in each level.
- Be cautious! The enemy ships will chase you and attempt to destroy your battle ship.
- Each level increases in difficulty, so be prepared for a greater challenge as you progress.
The Space Invaders JavaFX Game is built using the following technologies:
- Java programming language
- JavaFX framework for graphics and user interface
- Gradle build tool for dependency management and project build automation
Thank you for playing the Space Invaders JavaFX Game! We hope you enjoy the thrilling space combat experience.
Happy gaming!