+ 2

Jumping Animation in Javafx

As the title, I want to create a jumping animation in javafx, but I have no ideas what to do. The jumping animation that I want to do is like the game Mario. And I have finished moving toward right and left. Please help me.

8th Jun 2018, 7:42 AM
林家佑
林家佑 - avatar
1 Réponse
+ 4
Try looking into translation/transition/transformation in JavaFX. You should be able to move your object vertically upwards, and then set a transition period for the transition to appear animated. https://www.tutorialspoint.com/javafx/translation_transformation.htm
8th Jun 2018, 8:42 AM
Hatsy Rei
Hatsy Rei - avatar