{"schemaVersion":"1.0","record":{"label":"libGDX","description":"Java game-development framework with shared code and platform-specific backends.","aliases":[],"kind":"software","website":"https://libgdx.com/","overview":"libGDX is a Java framework for developing 2D and 3D games. It uses a code-centric workflow with shared game logic and platform backends for desktop, mobile and browser deployment.","license":"Apache-2.0","lifecycle":"active","example":false,"features":[{"name":"Shared game code","status":"supported","detail":"Core logic can be shared across selected backend modules.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android","iOS","HTML5"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://libgdx.com/wiki/start/project-generation","locator":"Backend modules, GWT restrictions and iOS prerequisites","retrievedAt":"2026-10-07T06:54:43Z","kind":"vendor"}]},{"name":"Identical dependency support across targets","status":"limited","detail":"GWT and optional extension constraints apply; iOS requires the Apple toolchain.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android","iOS","HTML5"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://libgdx.com/wiki/start/project-generation","locator":"Backend modules, GWT restrictions and iOS prerequisites","retrievedAt":"2026-10-07T06:54:43Z","kind":"vendor"}]}],"alternatives":[],"slug":"libgdx","draftAlternatives":[{"targetSlug":"cocos-creator","status":"limited","detail":"Candidate for code-first Java 2D/3D games; replaces the editor and scripting workflow rather than importing Creator projects unchanged.","useCase":"Code-driven games and interactive graphics","platforms":["Windows","macOS","Linux","Android","iOS","HTML5"],"region":"Target toolchains, browser and hardware support apply","evidence":[{"url":"https://libgdx.com/features/","locator":"Code-first workflow, rendering and optional extensions","retrievedAt":"2026-10-07T06:55:28Z","kind":"vendor"},{"url":"https://github.com/cocos/cocos-engine","locator":"Runtime versus editor and native/web architecture","retrievedAt":"2026-10-07T06:54:43Z","kind":"vendor"}]}],"evidence":[{"url":"https://libgdx.com/","locator":"Java framework and target platforms","retrievedAt":"2026-10-07T06:53:51Z","kind":"vendor"},{"url":"https://libgdx.com/features/","locator":"Code-first workflow, rendering and optional extensions","retrievedAt":"2026-10-07T06:55:28Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://libgdx.com/","locator":"Java framework and target platforms","retrievedAt":"2026-10-07T06:53:51Z","id":"gdx-home","title":"libGDX overview","kind":"vendor"},{"url":"https://libgdx.com/features/","locator":"Code-first workflow, rendering and optional extensions","retrievedAt":"2026-10-07T06:55:28Z","id":"gdx-features","title":"libGDX features","kind":"vendor"},{"url":"https://libgdx.com/wiki/start/project-generation","locator":"Backend modules, GWT restrictions and iOS prerequisites","retrievedAt":"2026-10-07T06:54:43Z","id":"gdx-project","title":"libGDX project generation","kind":"vendor"},{"url":"https://github.com/cocos/cocos-engine","locator":"Runtime versus editor and native/web architecture","retrievedAt":"2026-10-07T06:54:43Z","id":"cocos-engine","title":"Cocos engine README","kind":"vendor"}],"overviewCitations":["gdx-home","gdx-features"],"licenseCitations":["gdx-home"],"sections":[{"id":"workflow","heading":"Code and game facilities","paragraphs":[{"id":"workflow-detail","content":[{"text":"The framework includes drawing and animation facilities, asset management, input and audio, together with higher-level components such as Scene2D interfaces and tiled-map support. Optional integrations include physics libraries. These are building blocks for a programmed game, not a requirement to work inside one visual scene editor. The developer chooses how to organize gameplay and how much of the framework to adopt."}],"citations":["gdx-features"]}]},{"id":"projects","heading":"Project structure","paragraphs":[{"id":"projects-detail","content":[{"text":"The recommended project generator, gdx-liftoff, creates a Gradle-based project with a shared core and selected backend modules. A desktop launcher and Android or browser modules are distinct build targets even when they share most game code. That separation makes platform-specific setup explicit and allows development on a desktop before checking behavior on the intended devices."}],"citations":["gdx-project"]}]},{"id":"boundaries","heading":"Cross-platform limits","paragraphs":[{"id":"boundaries-detail","content":[{"text":"Browser deployment uses the GWT backend, whose supported Java libraries and language environment differ from an unrestricted desktop JVM. Some extensions, including the documented FreeType integration, are not available through that HTML target. The iOS workflow requires Xcode on macOS. Shared source therefore reduces duplication but does not mean every Java dependency or optional subsystem can be used unchanged on every platform."}],"citations":["gdx-project"]}]},{"id":"license","heading":"Open-source model","paragraphs":[{"id":"license-detail","content":[{"text":"libGDX is published under Apache License 2.0. The framework's open-source status is separate from the rights to game art, sound, third-party libraries and platform development tools. A deployment decision should consider those components alongside the framework rather than equating a permissive core license with an entirely unrestricted release pipeline."}],"citations":["gdx-home"]}]},{"id":"substitution","heading":"Substitution assessment","paragraphs":[{"id":"substitution-detail","content":[{"text":"libGDX is an alternative to "},{"text":"Cocos Creator","targetSlug":"cocos-creator"},{"text":" for teams building 2D or 3D games that prefer Java and a code-centered workflow. Moving from Creator means replacing editor-managed scenes, TypeScript components and engine-specific asset setup with a new project architecture. It is most plausible when the team wants that control, rather than when preserving an existing Creator project with minimal changes is the priority."}],"citations":["gdx-features","gdx-project","cocos-engine"]}]}]},"id":"Q691","revision":739,"updatedAt":"2026-10-13T03:24:06Z","sourceUrl":"https://substitutefor.net/entities/Q691?revision=739"}}