qmetrics.net

libGDX

Cross-platform Java game framework for 2D and 3D

libGDX screenshot

libGDX targets Windows, Linux, macOS, Android, iOS, and browsers from one Java codebase using OpenGL. It supports rapid prototyping without imposing a fixed game architecture.

Overview

libGDX is a Java game development framework built on OpenGL (ES) for multiple desktop, mobile, and web targets. Teams use a shared codebase to ship on Windows, Linux, macOS, Android, iOS, and HTML5 browsers.

The framework includes tooling for 2D and 3D games and leaves design and coding style to the developer. API choices emphasize reducing garbage collection pressure through custom collections and careful interfaces.

Projects typically start via Gradle-based setup or a setup tool that fetches dependencies and scaffolds templates. Bundled Javadocs and wiki material cover building simple games, tutorials, and integration with IDEs.

A large third-party ecosystem offers companion libraries for common game tasks. Community channels, showcases, and jams support developers learning the framework or shipping commercial titles.

Key features

  • Single Java codebase across platforms
  • OpenGL-based 2D and 3D rendering
  • Gradle-based project setup
  • Bundled API reference docs
  • No enforced game architecture
  • Custom collections for memory-aware code
  • Third-party library ecosystem
  • Setup tool for new projects

Use cases

  • Indie 2D and 3D game projects
  • Cross-platform mobile and desktop games
  • Browser-deployed HTML5 games
  • Rapid gameplay prototyping
  • Java teams avoiding engine lock-in

Does the same job as

libGDX doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare libGDX

Similar software

Godot

Cross-platform 2D and 3D game engine

Godot Engine lets creators build 2D and 3D games from one editor and export to desktop, mobile, web, and console targets through publishers.

  • Unified 2D and 3D editor
  • Node and scene workflow
  • GDScript, C#, and C++ scripting
C++Web, Linux, macOS, WindowsDetails →
★ 121.4k⟳ todayMIT
Open Source Alternative to:Unity

Bevy

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

  • Entity-component-system core
  • 2D and 3D renderers
  • Render graph pipelines
RustLinux, macOS, Windows, AndroidDetails →
★ 50.2k⟳ todayApache-2.0 · open core
Open Source Alternative to:Unity

PixiJS

HTML5 WebGL and WebGPU 2D graphics library

PixiJS is a browser library for fast 2D rendering with WebGPU or WebGL. It targets games, ads, apps, and interactive sites.

  • WebGPU and WebGL 2D rendering
  • Spritesheets and asset loader
  • Filters and custom shaders
TypeScriptWeb, CLIDetails →
★ 49k⟳ 4 days agoMIT

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

  • Canvas and WebGL rendering
  • Scene-based game structure
  • Arcade and Matter.js physics
JavaScriptWebDetails →
★ 40.9k⟳ todayMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

  • Bundled dependencies in one library
  • OpenGL and software render paths
  • 2D, 3D, audio, and input modules
CLinux, macOS, Windows, AndroidDetails →
★ 35.9k⟳ yesterdayZlib

GDevelop

Cross-platform no-code game engine for 2D and 3D

GDevelop is no-code game development software for building 2D, 3D, and multiplayer games for mobile, desktop, and the web. It uses an event-based system, modular behaviors, and optional AI assistance.

  • No-code event-based game logic
  • 2D and 3D WebGL rendering
  • Modular attachable behaviors
JavaScriptWeb, Linux, macOS, WindowsDetails →
★ 29.6k⟳ todayMIT · open core
Game DevelopmentDesktop/CLI app
Open Source Alternative to:Unity