OSS TanbouSign in with GitHub

Build 2D and 3D games in Java for desktop, mobile, and the web from shared code

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
25,423
Primary language
Java
License
Apache-2.0
Repository last updated
Sep 24, 2026
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.

Sources: [1][2]

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.

Sources: [1][2][3]

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.

Sources: [2][3][4][5]

Official sources

  1. [1]libgdx/libgdx — README at 1.14.2(2026-10-04)
  2. [2]libGDX — Creating a Project(2026-10-04)
  3. [3]libGDX — Importing and Running a Project(2026-10-04)
  4. [4]libGDX 1.14.2 release(2026-10-04)
  5. [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. 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. 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. 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
Check the official README

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

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
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?