I am attempting to develop/port the classical 'Flappy Bird' game on Desktop, Android, and iOS using JavaFX with Gluon and JavaFXPorts. The application is now playable on Desktop and Android platforms, but with noticeable performance differences. The application is TOO SLOW on Android (slow animation).
I already did some performance tuning such as node caching, AnimationTimer
as game loop, node recycling, parallel processing with Stream API back-port net.sourceforge.streamsupport:streamsupport
, and among others, but the performance is still the same.
How could I make my application faster, with similar performance with the desktop version?
You can find my application's source code here: https://github.com/warrenmnocos/flappy-bird-gluon.
Mirror post: http://gluonhq.com/forums/topic/javafx-application-on-android-platform-is-too-slow-javafxportsgluon/