Game Engine MatchBeta
Game engine selection tool
All engines
Engine guide

libGDX

A Java-based framework for cross-platform games

Overview

libGDX is a Java-based game framework with APIs for 2D and 3D. Its project generator can also include Kotlin; you write code in your own IDE rather than using a built-in visual game editor.

Good for

  • Java and Kotlin
  • 2D games
  • cross-platform projects

Worth knowing

It is code-first and platform setup can take work; browser builds have extra compatibility constraints.

Getting started

Set up a Java development environment, download gdx-liftoff, and generate a project with your chosen languages and platforms. iOS builds require macOS and Xcode; browser builds have extra compatibility constraints.

Create a libGDX projectDownload the project generator and choose your platforms and languages.

Learning resources

Start with these resources from the engine’s creators and community.