libGDX
libGDX is a free, open-source Java framework for building 2D and 3D games across desktop, mobile and web targets.
What libGDX is
libGDX is a free, open-source Java framework for building 2D and 3D games across desktop, mobile and web targets. A shared API supports Windows, Linux, macOS, Android, iOS and HTML5, with platform backends providing access to host capabilities. Graphics use OpenGL ES 2.0, 3.0, 3.1 or 3.2. Audio supports streamed music and WAV, MP3 and OGG playback, along with PCM playback and recording. Input abstractions cover mouse, keyboard, touchscreen, controllers and device sensors. Physics support includes JNI wrappers for Box2D 2D physics and Bullet 3D physics. Networking features include TCP sockets, HTTP requests and a cross-platform WebSocket API. The project lists integrations or third-party support for services including Google Play Games, Apple Game Center, Firebase, Steamworks API, GameAnalytics, Facebook Graph API and AdMob. The setup tool generates a project and downloads required components; Java is supported, with Groovy, Kotlin or Scala available as setup options. Compiling for iOS requires Xcode, which is available only on macOS.
Good
- Targets six desktop, mobile and web platforms.
- Supports 2D and 3D game development.
- Includes Box2D and Bullet physics wrappers.
- Open source under Apache 2.0.
Watch out
- iOS compilation requires macOS and Xcode.
- No console export is listed.
- Visual scripting is not supported.
Who it suits
libGDX suits developers building 2D or 3D games for desktop, mobile and web from a shared codebase. iOS builds require access to macOS for Xcode.
Verdict
libGDX offers a broad set of game-development APIs for teams working across supported desktop, mobile and web platforms. Its iOS build requirement and lack of console export matter when choosing target platforms.
The facts
Each one read from libGDX's own pages, with the date it was checked.
What it does
- 2D and 3D APIs
- It includes high-level 2D and 3D game APIs.checked 18 Nov 2026
- Archived forum
- The project says its forums were archived due to spam issues and remain available as a reference.checked 5 Oct 2026
- Audio
- Audio features include streaming music and sound playback for WAV, MP3 and OGG, plus PCM playback and recording.checked 5 Oct 2026
- Audio and input
- Audio features include WAV, MP3 and OGG playback, while input abstractions cover mouse, keyboard, touchscreen, controllers and device sensors.checked 5 Oct 2026
- Build system
- Projects use Gradle for dependency management and building.checked 18 Nov 2026
- Code-centric workflow
- libGDX is code-centric and does not impose a specific design or coding style.checked 18 Nov 2026
- Code reuse
- It offers a single API for Windows, Linux, macOS, Android, iOS and Web, using various backends to access host platform capabilities.checked 5 Oct 2026
- Community development
- The project is developed by more than 300 volunteers and is not-for-profit.checked 18 Nov 2026
- Console export
- Nochecked 20 Sep 2026
- Documentation
- Documentation is available through the community-driven wiki and Javadocs hosted on javadoc.io.checked 5 Oct 2026
- Game types
- The framework supports writing 2D and 3D games.checked 5 Oct 2026
- Graphics
- Rendering uses OpenGL ES 2.0, 3.0, 3.1 or 3.2 on all supported platforms.checked 5 Oct 2026
- Integrations
- The feature page names Google Play Games, Apple Game Center, Firebase, Steamworks API, GameAnalytics, Facebook Graph API and AdMob integrations or third-party support.checked 5 Oct 2026
- Language options
- The project setup tool can include Groovy, Kotlin or Scala in addition to Java.checked 5 Oct 2026
- License
- libGDX is licensed under Apache 2.0 and maintained by the community.checked 5 Oct 2026
- Mobile export
- Yeschecked 20 Sep 2026
- Multiplayer tools
- Yeschecked 20 Sep 2026
- Networking
- Gdx.net provides TCP sockets and HTTP requests, and a cross-platform WebSocket API is also listed.checked 5 Oct 2026
- Open source license
- The project is maintained under Apache 2.0.checked 18 Nov 2026
- Physics
- Physics support includes Box2D for 2D and Bullet for 3D.checked 18 Nov 2026
- Product
- libGDX is a cross-platform Java game development framework based on OpenGL (ES).checked 5 Oct 2026
- Project generator
- The gdx-liftoff setup tool generates projects and downloads dependencies.checked 18 Nov 2026
Money
- Free plan
- Yeschecked 20 Sep 2026
Where it runs
- Platform requirement
- Compiling a game for iOS requires Xcode, which is available only on macOS.checked 5 Oct 2026
Alternatives to libGDX
- 1

Unity
Free planAndroidiOSWebAPI8.4Free plan - 2
Qt Creator
Free planAndroidiOSWebLinux8.3From €546 a year - 3

Felgo
Free planAndroidiOSWebAPI8.2Free plan - 4
Avalonia
Free planAndroidiOSWebLinux8.1From €15 a month - 5

MIT App Inventor
Free planOpen sourceAndroidiOSWebAPI8.0Free plan - 6
Xojo
Free planAndroidiOSWebLinux8.0From $499 a year
