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

Published: 29 November 2019
on channel: gaspar coding
37,374
417

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


On this page of the site you can watch the video online Programming Space Invaders in Java (fx) Tutorial 1/2 with a duration of hours minute second in good quality, which was uploaded by the user gaspar coding 29 November 2019, share the link with friends and acquaintances, this video has already been watched 37,374 times on youtube and it was liked by 417 viewers. Enjoy your viewing!