OPEN SOURCE · JAVA · LIBGDX

Games, all the way down.

A Java game engine with a clear scene model, an extensible component core, and the tools to take an idea from a single object to a whole world.

JDK 25Gradle 9.8.1Desktop first
javity / fox-gardenDEMO CAPTURE
Two animated Fox models in a sunlit garden, rendered by the JavityEngine desktop PBR and HDR showcase
01 Fox Garden · PBR, HDR & directional shadows. Fox credits ↗
BUILT FOR MAKING, NOT MAGIC SCROLL TO EXPLORE

01 / THE ENGINE

Small pieces.
One living scene.

JavityEngine is built around Game, GameObject and Component. Gameplay stays in Java; rendering, physics, UI and services join the scene as explicit systems.

A

Know what owns what

Systems belong to one scene. Resources have visible lifetimes. Shutdown follows a predictable order.

B

Compose the behavior

Objects can carry multiple components of the same type. Systems query the scene without hiding game state in a global registry.

C

Keep modules optional

Maps, Bullet 3D physics, asset streaming and React UI are separate additions. A small game can keep a small runtime.

02 / JAVA, DIRECTLY

Start with an object.
Give it a behavior.

Components are ordinary Java classes. The engine owns their lifecycle; your update logic stays close to the object it describes.

Read the game authoring guide
MoveRight.java
// A Component runs with its owning GameObject.
public final class MoveRight extends Component {
  private final float speed = 120f;

  @Override public void onUpdate(float delta) {
    Transform2D transform = getTransform();
    transform.position.x += speed * delta;
  }
}

Game game = new Game();
GameObject player = game.createObject("player");
player.addComponent(new MoveRight());
game.start();
COMPONENT LIFECYCLEorg.javity.core

03 / THE TOOLKIT

More room to make.

Keep the pieces you need. Add the rest when the game calls for it.

01CORE

2D and 3D,
side by side.

Scene-local cameras and renderers, sprites, models, lighting and sky. Optional glTF/PBR, HDR and directional shadows extend the desktop rendering path.

Engine guide
02RENDERING

Draw with shape.

Antialiased circles, rounded rectangles and expressive polylines. Animate styles or bring a bounded custom shader material.

Shapes and shaders
03CHARACTERS

Animation with intent.

Per-instance model poses, clip crossfades, masked layers, 2D sprites and an avatar view that can share one animation clock.

Animation API
Animated Fox models shown in a GPU instancing comparison
GPU INSTANCING

More characters.
One coherent crowd.

Opt-in static and skinned instancing, with ordinary rendering as a compatibility path.

See the guide Fox: PixelMannen (CC0 1.0); rig / animation: tomkranis and conversion: AsoboStudio / scurest (CC BY 4.0). Full asset credits ↗
04
TOOLS

Look inside the scene.

Runtime hierarchy, selection, transforms, gizmos, undo/redo and explicit SceneJson export.

↗
05
UI

Native layout. Optional React.

Scene2D and Yoga-backed declarative widgets, with a typed React/TSX host as an optional layer.

↗
An original JavityEngine 3D courtyard demonstration at dusk
SCENE LIGHTING / LAST LIGHTDESKTOP · OPENGL

05 / RUN THE EXAMPLES

See it in motion.

Run a garden, a woodland or an imported character fixture on desktop. Keep exploring with the earlier engine examples.

Two animated Fox models in the JavityEngine desktop garden showcase DESKTOP DEMO
OPTIONAL glTF / PBR / HDR

One garden. Three moods.

Original imported Fox models, PBR foliage, directional shadows and HDR exposure share one scene. Switch afternoon, last light and lantern presets; open the runtime inspector with F1.

DESKTOP · RUN FROM REPOSITORY ROOT./gradlew :javity-desktop:qualityDemo
Read the walkthrough
Fox: PixelMannen (CC0); tomkranis / AsoboStudio / scurest (CC BY 4.0). Asset notice ↗

Examples need JDK 25 and a desktop OpenGL context. Fox Garden requires GL30 and supported HDR/shadow targets. Some optional demos need additional native libraries. Commands and prerequisites are documented with each guide.

06 / HONEST PLATFORM STATUS

Ready where
it’s been proven.

A build passing is a start. Each platform and module still has its own runtime gates.

Read current modernization status

Recent rendering fixes

SCOPED

Offscreen foliage stays in shadow-pass submissions. Demo cleanup continues after component errors, and failed avatar captures restore framebuffer state and release temporary pixels.

Fixes & regression evidence ↗

Desktop JVM

VERIFIED

JDK 25 on Linux x64, including real OpenGL/Mesa smoke coverage for named demos.

Android

SCOPED

The complete five-test suite passes on an API35 x86_64 KVM emulator: input, rendering, context recovery, rotation and Activity recreation. Physical ARM64, performance, MapLibre and Bullet are also unverified.

Android evidence ↗

Browser / Wasm

EXPERIMENTAL

A separate TeaVM WasmGC build renders an actual Javity scene through GdxRenderer and WebGL2 in Chromium. Yoga/UI, browser physics, broad asset support and the rest of the optional providers still need integration and verification.

Wasm rendering spike ↗
Night-style vector map of Gorzów Wielkopolski displayed by the MapLibre Native demo
OPTIONAL MAP BACKEND

Bring the map
into the scene.

MapLibre Native renders local vector tiles through a separate Linux x64 adapter.

How the adapter works

Map data © OpenStreetMap contributors · OpenMapTiles · OpenFreeMap

MAKE SOMETHING THAT MOVES

Your game starts
with one object.

Read the engine guide, run a desktop demo, or start exploring the source.