FXGL is a Java and Kotlin game development framework built on JavaFX that supports 2D and experimental 3D game creation across desktop and mobile platforms.
The framework addresses the need for a lightweight, accessible game engine that doesn't require complex installation or setup. It works with Java versions 8 through 25 and runs on Windows, macOS, Linux, Android, iOS, and web platforms without additional configuration. FXGL implements real-world game development patterns including Entity-Component architecture, interpolated animations, and particle systems. Because it extends JavaFX rather than replacing it, developers use a familiar UI API while gaining game-specific capabilities. Games can be packaged as single executable JAR files or compiled into native images.
The tool suits developers building 2D games in genres like side-scrollers, platformers, arcade games, and RPGs, as well as business applications requiring complex UI controls and animations. It works equally well for hobby projects, academic study, commercial releases, and rapid prototyping. The framework is particularly valuable for learning game development or teaching the discipline, given its straightforward API and extensive documentation including a published book, wiki tutorials, and sample game source code. The README does not compare FXGL to other engines, so no comparative positioning is available.
Development activity shows consistent engagement with the project. The codebase maintains active updates across its core systems and examples. Community adoption spans multiple educational institutions internationally, with documented use in university programs and secondary schools. The project sustains a collection of community-contributed tutorials and published games, indicating ongoing interest and practical application beyond the core repository.