// gameengine.js.org · Open Source

Three.js
Game
Engine

MavonEngine is a Three.js game engine built for real-time multiplayer — the only one with server-authoritative physics built in.

The Three.js game engine with multiplayer built in — not bolted on. Unified server-client architecture, server-authoritative hit detection, integrated Rapier physics, and real-time WebRTC networking. All TypeScript. All in one package.

Get Started → Try Live Demo ★ GitHub
TypeScript Three.js Rapier Physics WebRTC GLTF / Draco
server.ts
import { MavonServer, Entity }
  from '@mavonengine/core'

// Authoritative server world
const server = new MavonServer()

server.onPlayerJoin((player) => {
  const entity = new Entity({
    position: [0, 1, 0]
  })
  server.world.add(entity)
  server.sync(player, entity)
})

server.start(3000)

// 01 — Core Features

Everything
In One
Package

MavonEngine is a Three.js game engine that ships rendering, physics, networking, animation, particles, and debugging as a unified whole — no more gluing libraries together.

Full-Stack Multiplayer
Shared entity system — write once, run on server and client. Automatic state sync with bandwidth optimization and hash-based change detection.
Rapier Physics
Kinematic character controller with slope climbing and sliding. Configurable parameters with full body & collider management and real-time debug visualization.
Three.js Rendering
MavonEngine's Three.js game engine core powers custom GLSL shaders with debug rendering modes — wireframe, armature, and physics overlays built in from day one.
WebRTC Networking
Real-time data channels with bandwidth tracking, command buffering across latency, distance-based culling, and server health monitoring.
Skeletal Animation
Animation state management with smooth fade transitions. GLTF + Draco compression support and efficient skeleton cloning for instanced models.
Particle Effects
Built-in rain and smoke effects ready to drop in. Custom shader support for unique visuals. Prefab registry for community-shared effects.

// 02 — Architecture

Server & Client
Unified

Unlike other Three.js game engines, MavonEngine runs a simplified hitbox scene on the server alongside the client's full 3D world — enabling authoritative hit detection and spatial queries without trusting the client.

MavonEngine Three.js game engine server-side hitbox world architecture – authoritative physics, hit detection, raycasting and spatial queries
Server
Hitbox World
Authoritative physics Hit detection Raycasting Spatial queries State authority
SYNC
Client
Full 3D World
Three.js rendering Particle effects Animations Shaders & VFX Input handling

// 03 — Use Cases

What Can
You Build?

As a Three.js game engine purpose-built for real-time multiplayer, MavonEngine handles anything that needs players, physics, and a shared world in the browser.

01
Action RPGs
02
PvP Combat Games
03
Open World Multiplayer
04
Physics-Based Games

// 04 — Live Demo

See It In
Action

Try the engine directly in your browser — no install required.

mavonengine.com/demo
Open Full ↗
MavonEngine Three.js game engine live multiplayer demo – real-time browser gameplay with WebRTC networking and Rapier physics

Click to load demo

// 05 — Start Building

The Three.js
Game Engine
For Multiplayer

The only Three.js game engine with server-authoritative physics built in. Server + Client + Physics + Networking + Rendering + Animation + Particles + Debugging. All TypeScript.

Read the Docs → Join Community ★ Star on GitHub