X Tutup
Colyseus Merch Shop is live

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

Requires Node.js

Trusted by teams with millions of players

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.

GameRoom.ts Server
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);
}
}
game.ts Client
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-time
callbacks.onAdd("players", (player, key) => {
addSpriteForPlayer(player);
callbacks.onChange(player, () =>
moveSprite(key, player.x, player.y));
});
// send a message to the server
room.send("move", { x: 10, y: 20 });

Showcase

Games Using Colyseus

A selection of multiplayer games made by happy developers.

Watch the Colyseus Reel

No 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

Community

Join Our Growing Community

Connect with thousands of multiplayer game developers

759K+ Downloads
6.7K GitHub Stars
80 Contributors
3.1K Discord Members
X Tutup