MavonEngine: A TypeScript Multiplayer 3D Game Engine for…
    Neura MarketNeura Market/Stable Diffusion
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityStable DiffusionStable Diffusion
    DeepSeekDeepSeekCoPilotCoPilotMidjourneyMidjourney
    View All Directories
    OverviewPromptsBlogVideosGuidesCoursesCommunityModelsLoRAsComfyUI WorkflowsTrending
    Stable DiffusionBlogMavonEngine: A TypeScript Multiplayer 3D Game Engine for the Browser Now Available
    Back to Blog
    MavonEngine: A TypeScript Multiplayer 3D Game Engine for the Browser Now Available
    gamedev

    MavonEngine: A TypeScript Multiplayer 3D Game Engine for the Browser Now Available

    Matthias von Bargen March 30, 2026
    0 views

    Building a multiplayer 3D browser game means stitching together a renderer, a physics engine, a...

    Building a multiplayer 3D browser game means stitching together a renderer, a physics engine, a networking layer, and writing glue code to keep them all in sync. MavonEngine was built to eliminate that problem entirely.

    MavonEngine is a TypeScript game engine built on Three.js and Rapier3D, designed around a single idea: write your game logic once, and have it run identically on both the server and the client - with state synchronization handled automatically.


    Get started in one command

    npx @mavonengine/create-bootstrap
    

    That's it. This scaffolds a full multiplayer project with an authoritative server, a networked client, working WebRTC transport, and a shared entity system - all wired together and ready to run.

    Single-player template is also in the works - stay tuned.


    Why MavonEngine?

    Most multiplayer browser games are held together with duct tape. You pick a renderer, bolt on a physics library, find a WebSocket solution, manually serialize your game state, and spend more time writing sync code than actual game logic.

    MavonEngine ships rendering, physics, networking, animation, particles, and debugging as a unified whole - not a collection of loosely connected libraries. They are designed to work together from the ground up.


    What's included

    Full-Stack Multiplayer Architecture

    The engine uses an authoritative server model, inspired by Gaffer On Games and the Source Engine networking model.

    Client                          Server
      │                               │
      │── command (input) ──────────► │
      │                               │  1) process command
      │                               │  2) step physics
      │                               │  3) update state
      │◄── state sync (tick) ──────── │
      │                               │
    

    Clients send input commands. The server queues them in a command buffer, steps physics on each tick, and broadcasts world state back. Only entities within the visibility radius of each client are synced - distance-based culling is built in.

    Real-time transport runs over UDP via WebRTC using geckos.io, giving you low-latency unreliable messaging suited to game state sync. Bandwidth tracking and server health monitoring are included out of the box.

    Entity System

    The entity hierarchy gives you the right base class for any game object:

    GameObject
      └── Actor (pushdown automaton state machine)
            ├── Entity3D  (Three.js model + animations)
            └── LivingActor  (health, damage, healing)
    

    A minimal networked setup looks like this:

    import { MavonServer, Entity } from '@mavonengine/core'
    
    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)
    

    The serialize() method on every GameObject means entities know how to describe their own state over the wire - no manual serialization needed.

    Integrated 3D Physics

    Rapier3D runs on both the server and the client. The kinematic character controller handles slope climbing (configurable up to 45°) and auto-slide on steep terrain (30°). Full body and collider management is available, and debug visualization can be toggled at runtime.

    Advanced Rendering

    Three.js handles the client-side scene. Custom GLSL shader support is built in, along with debug rendering modes - wireframe, armature overlays, and physics debug visualization - all accessible via the debug panel.

    Skeletal Animation

    Load GLTF models (with Draco compression support), manage animation states, and transition between them with configurable fade durations. Efficient skeleton cloning is included for instanced models.

    Particle Effects

    Built-in effects like rain and smoke are ready to drop in. Custom shader support lets you create unique particle visuals beyond the defaults.


    Debug mode

    Add #debug to your URL to open the Tweakpane debug panel:

    http://localhost:3000/#debug
    

    This activates performance monitoring, physics overlays, and the in-editor overlay - making it easy to catch issues fast without instrumenting your code manually.


    Prefabs

    MavonEngine includes a community-driven prefab system: ready-to-use GameObject subclasses for common game elements. Current built-in prefabs:

    • Grass - Lush grass fields with wind simulation, entity-based deformation, and LOD support. Configure density, sway, and color in seconds.
    • Water - Water surface shader with 3 LOD levels and basic customizations out of the box.

    Anyone can build and publish prefabs to the community registry. The engine includes tooling for creating and packaging your own.


    Level Editor (early WIP)

    A level editor is in active development that loads directly from the running game instance in the browser. Still early, but the goal is a fully integrated in-page editing experience - no separate tool to context-switch to.


    What can you build?

    MavonEngine is purpose-built for real-time multiplayer in the browser:

    • Action RPGs
    • PvP combat games
    • Open world multiplayer
    • Physics-based games

    Anything that needs players, physics, and a shared world.


    Core libraries

    LibraryRole
    Three.jsClient rendering and scene management
    Rapier3DServer and client-side physics simulation
    geckos.ioUDP via WebRTC for real-time multiplayer

    Try it

    npx @mavonengine/create-bootstrap
    

    Documentation, a live demo, and the community are all available at mavonengine.com.

    Tags

    gamedev

    Comments

    More Blog

    View all
    Context bankruptcy: The case for strategic forgetting for AI Agentsai

    Context bankruptcy: The case for strategic forgetting for AI Agents

    Most of us have seen a coding agent fail to complete a task we know it can do. We just don't...

    J
    James O'Reilly
    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestrationgooglecloud

    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestration

    When building Generative AI applications, developers often encounter a massive bottleneck: sequential...

    A
    Aryan Irani
    Is It Ethical to Post and Ask About Circuits on Dev.to?discuss

    Is It Ethical to Post and Ask About Circuits on Dev.to?

    I’ve been thinking about sharing some electronic circuit posts on Dev.to — small circuits, DIY...

    C
    codebunny20
    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limitsagents

    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limits

    What nobody tells you about exporting your multi-agent prototype to a local workspace. Every...

    L
    leslysandra
    Guarding the till while autonomous data agents do the diggingagenticarchitect

    Guarding the till while autonomous data agents do the digging

    Autonomous agents are genuinely good at answering messy business questions. Give one an LLM and a set...

    S
    Sireesha Pulipati
    Return on Attention: Why AI Code Reviews Are Wearing Us Outai

    Return on Attention: Why AI Code Reviews Are Wearing Us Out

    PR volume went up, ticket quality didn't, and the gap got filled with LLMs on both sides of the review: bots reviewing, bots replying, bots occasionally arguing with bots about priorities that only existed in a teammate's head. Our CEO named the actual problem, and it's bigger than code review.

    C
    christine

    Stay up to date

    Get the latest Stable Diffusion prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Stable Diffusion and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Stable Diffusion resource

    • Puppeteer CJS TypeScript Config for n8n Browser Automationn8n · $4.99 · Related topic
    • Yauzl TypeScript ZIP Extractor for BI Analyticsn8n · $9.99 · Related topic
    • Add TypeScript Intellisense to n8n Code Nodes with JSDocn8n · $6.99 · Related topic
    • Node.js TypeScript Definitions Managern8n · $6.99 · Related topic
    Browse all workflows