Examples
Start with the shared cursor quickstart, then choose a renderer or game mechanic.
Engine integrations
| Engine | Example |
|---|---|
| Three.js | Shared 3D scene and mesh lifecycle |
| Phaser | Players in a scene update loop |
| PixiJS | Shared sprites in a ticker |
| Babylon.js | Shared scene with render observers |
| React | Room lifecycle and react-three-fiber rendering |
Game recipes
| Build | Learn |
|---|---|
| Co-op movement | Client-owned input and validation |
| Card game | Private hands and server-owned rules |
| Shooter | Server simulation and hit queries |
| Second-screen game | A shared display and phone controllers |
| Notifications hub | Event-driven rooms and messages |
Each recipe includes code and links to the APIs it uses. To adapt an existing game, start with retrofitting.