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: • How to install JavaFX and Dark Theme for e...
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/5...
Icons made by Freepik from www.flaticon.com
Thank´s for watching! :)
Music:
Unconditionally by Broken Elegance / brokenelegance
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: http://bit.ly/2CEvurk
Music promoted by Audio Library • Unconditionally – Broken Elegance (No Copy...
maginary by Broken Elegance & Nomyn / brokenelegance
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Free Download / Stream: https://bit.ly/_imaginary
Music promoted by Audio Library • Imaginary – Broken Elegance & Nomyn (No Co...
Unconditionally by Broken Elegance / brokenelegance
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: http://bit.ly/2CEvurk
Music promoted by Audio Library • Unconditionally – Broken Elegance (No Copy...
I Just Wanted To See Your Smile by Broken Elegance / 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 • I Just Wanted To See Your Smile – Broken E...
Reflection by Broken Elegance / brokenelegance
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Free Download / Stream: https://bit.ly/_reflection
Music promoted by Audio Library • Reflection – Broken Elegance (No Copyright...
#JavaFX #GameDevelopment #SpaceInvaders
Auf dieser Seite können Sie das Online-Video Programming Space Invaders in Java (fx) Tutorial 1/2 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer gaspar coding 29 November 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 37,374 Mal angesehen und es wurde von 417 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!