Realm

Build a shared world in Rust.

Realm runs the game on a fixed tick. Define player actions with typed routes, test them headlessly, and let Laravel Rust handle sign-in and character saves.

Clearing’s starting meadow, with willow groves, ore seams, goblins and the player’s pack on the HUD.
ClearingA multiplayer meadow built with Realm.
Play locally

Get started

With Rust 1.99 or newer and Cargo, create a project and run its first gameplay and login tests.

Installer and sign-in guide
cargo install --git https://github.com/mpge/realm-installer
realm new mossbank
cd mossbank
realm test

Package map

The engine brings five independent libraries together. Use the full stack for a new game or bring a single library into an existing one.

Engine and tools

realm
The realm-engine crate, its Laravel Rust integration and headless testing API.
realm-installer
The realm command, project skeleton and game code generators.
realm-examples
Clearing’s source, controls and multiplayer setup.

Standalone libraries

realm-runtime
Run a fixed clock, order systems and replay seeded draws.
realm-ecs
Store entities, query components and track changes per tick.
realm-network
Add sessions, replication and prediction to any game loop or engine, independently of Realm.
realm-render
Draw shapes, sprites and bitmap text in a window or to a PNG.
realm-gameplay
Model inventory, gathering, skills, combat and two-party trades.