On this page
Overview
libGDX is a framework for developing 2D and 3D games in Java and targeting Windows, Linux, macOS, Android, web browsers, and iOS. Shared game logic sits at the center while platform-specific launchers and backends are selected as needed. Its project generator and Gradle layout support the same development foundation from a small prototype through a multi-platform release.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Carry shared game logic across multiple runtime targets
Built on OpenGL (ES), libGDX offers backends for desktop, Android, web, and iOS targets. It does not impose a particular design or coding style, so developers can assemble game-loop, rendering, input, audio, and asset features around their own architecture. The gdx-liftoff tool generates a Gradle project for the selected platforms and extensions.
Best fit
Fits rapid game development that can begin on desktop and expand later
libGDX fits Java and Gradle developers who want to validate a game on desktop first and later add Android, web, or other targets. It also suits individuals and small teams that want core 2D and 3D facilities while choosing official extensions and third-party libraries rather than adopting a prescribed editor workflow.
Before adoption
Each target still needs its own SDKs and runtime prerequisites
Shared code does not remove platform setup: Android needs its SDK, and iOS builds require Xcode on macOS, among other target-specific requirements. Web targets also support only a subset of Java libraries. Running the generated lwjgl3 desktop task first helps separate project issues from platform-specific setup. The reviewed stable release is 1.14.2, and the project uses Apache-2.0.
Official sources
- [1]libgdx/libgdx — README at 1.14.2(2026-10-04)
- [2]libGDX — Creating a Project(2026-10-04)
- [3]libGDX — Importing and Running a Project(2026-10-04)
- [4]libGDX 1.14.2 release(2026-10-04)
- [5]libgdx/libgdx — Apache-2.0 license(2026-10-04)
Supplemental curator note
libGDX stands out for code-first game development where teams choose their own architecture instead of working through a prescribed editor. Validate a small desktop build first, then add only the platform backends the product actually needs.
Try it in 3 steps
- 1
Download a fixed gdx-liftoff release
Prepare Java 8 or newer to launch the generator itself, then download the fixed release aligned with libGDX 1.14.2.
curl -fLO https://github.com/libgdx/gdx-liftoff/releases/download/v1.14.2.3/gdx-liftoff-1.14.2.3.jar - 2
Generate a project with the desktop target
Set PROJECT NAME, PACKAGE, and MAIN CLASS, then select Desktop (Lwjgl3) under Platforms before generating the Gradle project.
java -jar gdx-liftoff-1.14.2.3.jar - 3
Run the generated desktop target
Replace the path with the generated project directory and run from its root on JDK 17–27. This is the runtime range for the generated Gradle Wrapper 9.8.0 and is separate from the project Java target selected in the generator. On macOS, also follow the documented extra LWJGL3 setup.
cd path/to/generated-project ./gradlew lwjgl3:run
Growth
Growth trends · Last 30 days
25,423 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 2
- Open PRs
- 92
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- libgdx
- java
- game
- cross-platform
- android
- ios
- html5
- windows
- linux
- macosx
- 2d
- 3d
- Stars
- 25,423
- Forks
- 6,520
- Watchers
- 1,123
- Open issues
- 252
- Contributors
- 334
- Owner type
- Organization
- Primary language
- Java
- License
- Apache-2.0
- Repository last updated
- Sep 24, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Kotlin53,470 Stars
2 shared tag(s) · 1 shared category(s)
keep Java interoperability while extending one language from JVM to Android, iOS, desktop, and web
Kotlin - Blender20,668 Stars
2 shared tag(s) · 1 shared category(s)
Unify modeling, rigging, animation, simulation, rendering, compositing, and video editing in one 3D creation suite
C++ - bgfx17,536 Stars
2 shared tag(s) · 1 shared category(s)
abstract Direct3D, Metal, OpenGL, Vulkan, WebGL, and other backends into a cross-platform rendering layer for existing engines and frameworks
C++ - Assimp13,242 Stars
2 shared tag(s) · 1 shared category(s)
load 40+ 3D formats into a shared scene structure and integrate conversion and post-processing into asset pipelines
C++ - FNA3,051 Stars
2 shared tag(s) · 1 shared category(s)
port and maintain existing XNA games on Windows, Linux, macOS, and other desktop targets through an accuracy-focused C# XNA4 runtime
C# - HaxeFlixel2,212 Stars
2 shared tag(s) · 1 shared category(s)
build cross-platform 2D games on Haxe and OpenFL with a code-driven game engine
Haxe
Report incorrect information
Tell us if any listing information is incorrect or outdated.