Back to project foundations
Reference project
libGDX
Java framework for 2D/3D games across desktop, Android, iOS and browser targets.
Why we recommend it
libGDX gives a Java team rendering, input and game-oriented tools while leaving application structure under its control. Shared game code can be paired with platform-specific launchers and services.
When to choose it
- Java-based 2D games and custom multi-platform game architectures.
- Teams that want shared gameplay with explicit platform modules.
What to consider
- It is a framework, not an integrated visual game editor. Your screens, game model and asset pipeline still require design.
- Platform backends need different toolchains and may restrict Java APIs. Verify the chosen modules on each target instead of assuming a desktop build proves mobile or web support.
Start with this project
Use the official setup tool to create a separate Gradle project with only the required platform modules. Start on desktop, implement a screen and input, manage assets, then build the same slice for the next promised target.
