Examples

Start with the shared cursor quickstart, then choose a renderer or game mechanic.

Engine integrations

EngineExample
Three.jsShared 3D scene and mesh lifecycle
PhaserPlayers in a scene update loop
PixiJSShared sprites in a ticker
Babylon.jsShared scene with render observers
ReactRoom lifecycle and react-three-fiber rendering

Game recipes

BuildLearn
Co-op movementClient-owned input and validation
Card gamePrivate hands and server-owned rules
ShooterServer simulation and hit queries
Second-screen gameA shared display and phone controllers
Notifications hubEvent-driven rooms and messages

Each recipe includes code and links to the APIs it uses. To adapt an existing game, start with retrofitting.