Programming Space Invaders in Java (fx) Tutorial 1/2

In this video we will create Space Invaders in JavaFX. The code contains about 300 lines of code. I split the tutorial into two parts. In the second part you get the whole code from me 🙂
If you like what you see, please leave me a like 🙂

To get JavaFX up and running, follow these steps:

First: Download and install JavaFX –
https://gluonhq.com/products/javafx/
watch my video about this: https://www.youtube.com/watch?v=QNf3_ddPHYg

1. Create a new JavaFX Project

2. -Project Properties -Java Build Path
-libraries/Modulpath: Add external JARs

3. Create a new file: module-info.java
module application {
requires javafx.controls;
requires javafx.fxml;
// exports application;
}

4. Add VM Arguments:
Run – Run Configurations – Arguments – VM Arguments:
–module-path /link-to-javafx/javafx-sdk-11.x.x/lib –add-modules=javafx.controls,javafx.fxml

For more Information visit:
https://stackoverflow.com/questions/52013505/how-do-i-use-javafx-11-in-eclipse
Icons made by Freepik from www.flaticon.com

Thank´s for watching! 🙂

Music:

Unconditionally by Broken Elegance https://soundcloud.com/brokenelegance
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: http://bit.ly/2CEvurk
Music promoted by Audio Library https://youtu.be/a1N_1y4YcGo

maginary by Broken Elegance & Nomyn https://soundcloud.com/brokenelegance
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Free Download / Stream: https://bit.ly/_imaginary
Music promoted by Audio Library https://youtu.be/CMLnB526kkY

Unconditionally by Broken Elegance https://soundcloud.com/brokenelegance
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: http://bit.ly/2CEvurk
Music promoted by Audio Library https://youtu.be/a1N_1y4YcGo

I Just Wanted To See Your Smile by Broken Elegance https://soundcloud.com/brokenelegance
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Free Download / Stream: https://bit.ly/i-just-wanted-to-see-y
Music promoted by Audio Library https://youtu.be/5T9sa5QOUg4

Reflection by Broken Elegance https://soundcloud.com/brokenelegance
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Free Download / Stream: https://bit.ly/_reflection
Music promoted by Audio Library https://youtu.be/NDGGS4JwAkI

#JavaFX #GameDevelopment #SpaceInvaders

Post Author: hatefull