Commits

zonski  committed 808e3ce

Added some screen flows to start the game.

  • Participants
  • Parent commits 55de5e1

Comments (0)

Files changed (1)

File defender/src/main/java/com/fxexperience/games/defender/games/simple/ui/WelcomePanel.java

                                 .node(topHalf)
                                 .duration(Duration.millis(1000))
                                 .fromY(0)
-                                .toY(-game.getHeight() / 2)
+                                .toY(-game.getHeight() / 2 - 100)
                                 .build(),
 
                         TranslateTransitionBuilder.create()
                                 .node(bottomHalf)
                                 .duration(Duration.millis(1000))
                                 .fromY(0)
-                                .toY(game.getHeight() / 2)
+                                .toY(game.getHeight() / 2 + 100)
                                 .build()
 
                 ).build());