Posts mit dem Label javafx werden angezeigt. Alle Posts anzeigen
Posts mit dem Label javafx werden angezeigt. Alle Posts anzeigen

Freitag, 14. Februar 2020

Programming Snake Game in Processing

In this video we create a snake game in less than 60 lines of java code. This is a step by step tutorial and very easy to follow. I use processing for this. With Processing you can program in a simplified version of Java. If you know Java, you will understand processing immediately.





 You can download the code here: https://github.com/Gaspared/Snake-Pro

How to add background music in JavaFX Tutorial

In this video, I'll show you how to add background music to your javafx programs and games. The code can be found as always on my github page: https://github.com/Gaspared/JavaFX-music


How to get eclipse to work with JavaFX/OpenJFX (error handling)

In this video, I'll show you how to set up JavaFX in eclipse. I show how to eliminate errors that occur. 
To get JavaFX up and running, follow these steps: 
First: Download and install JavaFX: https://gluonhq.com/products/javafx


Programming Space Invaders in JavaFX - Tutorial

In this video we will create Space Invaders in JavaFX. The code contains about 300 lines of code. I'll show you how to program Space Invaders in JavaFX.





You can download the code from here:
https://github.com/Gaspared/Space-Invaders

Java Robot Class plays Online Games and wins


Welcome. In this video we will write Java code that is able to play different browser games. I'll show you how you can automate online games and how to use the Java Robot class to play games. At the end I show you how my program reaches the first place in an online highscore.




 
You can download the code from the video here: 
 https://github.com/Gaspared/BrowserGames 

We create a PONG Game, JavaFX Programming Tutorial

We are programming a PONG game in JavaFX. The whole game needs just 100 lines of code. Eclipse is used as IDEA. If you like what you see, please leave me a like :)



You can download the code here:  
https://github.com/Gaspared/pong

Snake Game in JavaFX - IntelliJ Tutorial

We will create a simple snake game in Java fx. In this video, we get snake running in IntelliJ IDEA. This video is just a short addition to my snake tutorial.




You can download the code here:
https://github.com/Gaspared/snake/blob/master/Main.java
 

How to use the Java Robot Class

In this tutorial I will show you how to use the java robot class. We will change our deskop wallpaper, Java will draw something in paint for us and we will start a website in the browser.



You can download the code here:
https://github.com/Gaspared/JavaRobot1

01:14 Use powershell to download a picture from the internet  
07:03 Open windows explorer  
08:29 Set a picture as a background  
09:48 Close windows explorer  
10:54 Let the robot draw something in paint  
15:08 Open any program. Our example: internet browser

 

How to Install and use the JavaFX Scene Builder

In this video we will install the JavaFX Scene Builder. I will also show you how to use the Scene Builder directly with eclipse. If you like what you saw, please leave me a like :) 



You can download the Scene Builder here: 
https://gluonhq.com/products/scene-builder/

How to install JavaFX and the Dark Theme for eclipse

I'll show you how to install JavaFX for eclipse. We also change the look of eclipse to a dark theme. I'll show you two different solutions for each task. Check out my other tutorials as well. 


Programming a Tetris Game in JavaFX

We will create a tetris game in JavaFX. At the end we programmed a nice tetris game together. I have used eclipse with the plugin e(fx)clipse and the dark theme. Check my channel for more JavaFX tutorials. 
If you like what you see, please leave me a like :)




You can download the code here: https://github.com/Gaspared/tetris 

Programming Snake Game in JavaFX - Tutorial

Hey guys, this time we're going to create a snake game in JavaFX. The whole thing takes only 25 minutes and needs 200 lines of code.
I have used eclipse with the plugin e(fx)clipse. This is a step by step guide.

You can download the Java code here: https://github.com/Gaspared/snake





Beautiful custom Toggle Switch Button UI in Java

How to create a beautiful toggle switch in java. In this tutorial we learn how to create colored toggle switches in java using templates. You can custom your switch in every way and it will only took seconds. 

Have fun. 
Links to the java classes: https://harmoniccode.blogspot.com/2010/11/friday-fun-component-iii.html





Java Mini Game Tutorial: Flying Nyan Cat

Today we create a small Java game. It is little effort and takes only a short time.
At the end we have a beautiful flying Nyan cat.
At the same time we learn something about GUI programming in Java.

You can download the code here:
https://github.com/Gaspared/Cat


Create a transparent Jframe window with Background Image in Java

Hey guys, I'll show you how to create a transparent window with Java. I use a JFrame and insert an image as the background. Then we have a window that is exactly the size of the picture. Have fun with the video.

You can download the code here: https://github.com/Gaspared/CustomButton/blob/master/CustomB.java

Programming a Breakout Game in Java

Let's program breakout in Java. In this video I will show you how to create Breakout in Java step by step. I use the programming environ...