Ship Multiplayer
Games
Faster
Build and ship real-time multiplayer experiences with Colyseus. Open-source framework for Node.js with built-in matchmaking, state sync, and SDKs for Unity, Defold, Construct, Haxe, JavaScript, and more.
npm create colyseus-app@latest ./my-server Supports your favorite engine & platform
See It In Action
Real-Time State Sync in Minutes
Define your game state on the server. Colyseus syncs it to all clients automatically — no manual serialization needed.
import { Room, Client } from "colyseus";import { GameState, Player } from "./GameState";
export class GameRoom extends Room { state = new GameState();
messages = { // listen for "move" messages from clients move(client: Client, data: any) { const player = this.state.players.get(client.sessionId); if (player) { player.x = data.x; player.y = data.y; } }, }
onJoin(client: Client) { const player = new Player(); this.state.players.set(client.sessionId, player); }
onLeave(client: Client) { this.state.players.delete(client.sessionId); }}import { Client, Callbacks } from "@colyseus/sdk";
const client = new Client("https://your-server.com");const room = await client.joinOrCreate("game_room");const callbacks = Callbacks.get(room);
// Listen to state changes in real-timecallbacks.onAdd("players", (player, key) => { addSpriteForPlayer(player);
callbacks.onChange(player, () => moveSprite(key, player.x, player.y));});
// send a message to the serverroom.send("move", { x: 10, y: 20 });Why Colyseus
Everything You Need for Multiplayer
Real-Time State Sync
Automatic binary state synchronization. Define your state once, sync everywhere.
Built-in Matchmaking
Automatic room creation and player matching. Customizable filtering and sorting.
Scalable Architecture
Scale from 10 to 10,000+ CCU. Distribute rooms across multiple processes or machines.
Cheat-Proof by Design
Authoritative server architecture. Clients send inputs — the server decides what happens.
Multi-Platform SDKs
JavaScript, Unity, Defold, Construct 3, Haxe, Cocos Creator, and more. Use the tools you already know.
Free & Open Source
MIT licensed. Free forever, even for commercial games. Full control over your infrastructure.
Showcase
Games Using Colyseus
A selection of multiplayer games made by happy developers.
Watch the Colyseus ReelNo Vendor Lock-In
Your Server, Your Rules
Colyseus is a standard Node.js application. Deploy it anywhere — no proprietary runtimes, no walled gardens, no surprises.
Standard Node.js
No proprietary runtime. Your Colyseus server is just a Node.js app — use any npm package, any tooling you already know.
Host Anywhere
AWS, Google Cloud, DigitalOcean, Fly.io, Railway, bare metal — if it runs Node.js, it runs Colyseus.
Don't want to manage servers?
Colyseus Cloud handles deployment, scaling, and monitoring across 32 global locations. Starting at $15/mo.
Compare
How Colyseus Compares
vs Photon
- Open-source, own your servers
- No CCU pricing surprises
- Full server-side control
vs Mirror
- Works with any game engine
- Not tied to Unity
- Runs as a standalone server process
vs Nakama
- Simpler API, faster to learn
- TypeScript-native
- Purpose-built for room-based multiplayer
vs From Scratch
- Battle-tested in production
- Ship in days, not months
- Active community support
Success Stories
Trusted by Indies and Studios Worldwide
"...the operational cost associated with running a Colyseus server is substantially lower than alternatives we tried."
"I had previously never worked with Websockets, authoritative multiplayer servers, or Node.js. But that wasn’t a problem, as Colyseus provided me with an intuitive start. This strong foundation allowed us to grow to where we are today."
"We have been in love with Colyseus since the first moment we discovered it. It is amazing to have such an extraordinary product available for free and as open source."
Community
Join Our Growing Community
Connect with thousands of multiplayer game developers