head to head · open source
raylib vs FXGL
raylib has 35,727 GitHub stars, 3,397 forks, 16 open issues and last shipped 2 days ago. FXGL has 4,880 stars, 709 forks, 150 open issues and last shipped 1 months ago. raylib leads on adoption by 632% (35,727 vs 4,880 stars). raylib is written in C under Zlib; FXGL is written in Kotlin under MIT. raylib has attracted 10% as many forks as stars, FXGL 15%. raylib was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 3 topic tags (android, game-development, game-engine), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| raylib | FXGL | |
|---|---|---|
| GitHub stars | ★ 36K | ★ 4.9K |
| License | Zlib | MIT |
| Written in | C | Kotlin |
| Last push | 2026-11-18 | 2026-10-16 |
| Forks | ⑂ 3.4K | ⑂ 709 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick raylib if
- You weight community size — 36K stars and counting
- You want the Zlib license terms
- Your stack matches C
- You value the larger contributor base for long-term maintenance
pick FXGL if
- You want the FXGL feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Kotlin
- You evaluated both and FXGL fits your workflow better
About raylib
raylib is a simple and easy to use library to enjoy videogames programming. raylib is highly inspired by Borland BGI graphics lib and by XNA framework and it's especially well suited for prototyping, tooling, graphical applications, embedded systems and education. NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no debug button... just coding in the most pure spartan programmers way. Ready to learn? Jump to code examples! features NO external dependencies , all required libraries are included in raylib Multiple platforms supported…
read the full raylib overview →
About FXGL
Languages   English   简体中文   Русский About JavaFX Game Development Framework Why FXGL? No installation or setup is required "Out of the box": Java 8 25, Win/Mac/Linux/Android 8+/iOS 11.0+/Web Simple and clean API, higher level than other engines Superset of JavaFX: no need to learn new UI API Real world game development techniques: Entity Component, interpolated animations, particles, and many more Games are easily packaged into a single executable .jar, or native images Good for: Any 2D game (side scroller / platformer / arcade / RPG) Any business application with complex UI…
More in Miscellaneous
Related comparisons
More Gaming projects
Compare either of these against the rest of the Gaming field.
Frequently asked questions
Is raylib or FXGL more popular?
raylib has 35,727 GitHub stars and FXGL has 4,880. raylib has the larger community by that measure.
Are raylib and FXGL free?
Both are open source. raylib is licensed under Zlib and FXGL under MIT. Neither carries a licence fee.
What is the difference between raylib and FXGL?
raylib is written in C and FXGL in Kotlin. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, raylib or FXGL?
Choose raylib if you want the larger community (35,727 stars) or its Zlib licence terms. Choose FXGL if its feature set, stack or MIT licence fits better. Both are self-hostable.