JavaFX is great for simple browser / 2D games - areas where Flash is currently the most common. Causes:
- Great performance for 2D applications (good use of hardware acceleration under the hood)
- CSS skin is very easy - web designers will love it.
- The new JavaFX 2.0 API is very useful from pure Java (or other JVM languages ββsuch as Scala, Clojure)
- Cross platform so that it can reach the maximum possible audience
This is hardly suitable for complex / high-performance 3D games where you need a suitable OpenGL engine, for example jMonkeyEngine .
I think that the jury is still aloof from games on the middle ground (shooting games, third-party role-playing games, RTS games, etc.). These games do not necessarily need a full 3D engine, but they need good, smooth graphics performance. I suspect JavaFX will be good for them on modern hardware, but I highly recommend making a quick prototype to test the performance that meets your requirements.
source share