Implementing a simple video game with JavaFX (1/4): Setting up the project and the scenes

preview_player
Показать описание
In this video we start implementing a simple video game using JavaFX library. These first steps consist in setting up the project and defining the different scenes of our video game.

IMPORTANT:

In minute 20:30 approximately, when we define the AnimationTimer object, there's a piece of code that is being hidden in the editor. You need to instantiate an AnimationTimer object, and then, you are asked to implement "handle" method:

@Override
public void draw()
{
new AnimationTimer()
{
public void handle(long currentNanoTime)
{
...

module BearFruitChallenge
{

opens videogame;
}

Рекомендации по теме
Комментарии
Автор

thank you for good explaining, you have helped very much

maxjango
Автор

Me he quedado por el minuto 6 cuando tengo que implementar Application y ya habiendo implementeadio las librerías esas que explicas. Tambien preguntarte cuales son los atajos de teclas que usas para hacer todas estas acciones rapidas.

programador
visit shbcf.ru