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
En esta página del sitio puede ver el video en línea Programming Space Invaders in Java (fx) Tutorial 1/2 de Duración hora minuto segunda en buena calidad , que subió el usuario gaspar coding 29 noviembre 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 37,374 veces y le gustó 417 a los espectadores. Disfruta viendo!