Description
FXGLGames is a collection of sample games built with FXGL, a Java game library. Each sample focuses on one or two parts of the library. Drop shows the bare minimum, and Pac-man focuses on AI, for example. The games are grouped by difficulty. Beginner samples include Cannon, Drop, Tower Defense, Bomberman, OutRun in Kotlin, Shooter and Space Runner. Intermediate samples include GeoJumper in Kotlin, Pong, Breakout, TicTacToe, Battle Tanks, Flappy Bird and Slot Machine. Advanced samples include Space Invaders, Geometry Wars, Mario and Pac-man. The README says the original code targets Java 8 with FXGL 0.5.4, and that all projects will eventually move to Java 11 with FXGL 11.0 or later. The repository also explains how to build a sample for Android with GraalVM, a process the README says works only from Linux. The project welcomes forks and contributions, and it keeps a community list where developers link their own FXGL games. The repository is public on GitHub.…
Highlights
- Sample games grouped from beginner to advanced
- Each example focuses on one or two FXGL features
- Kotlin samples included
- Android build steps using GraalVM
- Community list of FXGL games
Ratings & Reviews
No ratings yet
Be the first to rate FXGLGames.
People also visit
Games Samples
A collection of samples to discuss and showcase games in Android apps
FXGLGames FAQ
What is this repository?
A set of sample games built with the FXGL Java game library, each showing one or two parts of the library.
Who is it for?
Developers learning FXGL. They can study a game at their level and fork it to try their own ideas.
Which games are included?
Beginner samples such as Cannon, Drop, Tower Defense and Bomberman, intermediate ones such as Pong, Breakout and Flappy Bird, and advanced ones such as Space Invaders, Geometry Wars, Mario and Pac-man.
Which Java version do they use?
The README says the current code is Java 8 with FXGL 0.5.4, and that all projects will move to Java 11 with FXGL 11.0 or later.
Can I build them for mobile?
The README gives steps for building a sample for Android with GraalVM, and notes that this only works from Linux.
What are the best FXGLGames alternatives?
Popular alternatives to FXGLGames include Dinosaur Exploder, Fx2048 and Games Samples. See all FXGLGames alternatives

