Skip to content

State synchronization

  • Colyseus uses MessagePack to encode the room state in a binary format.
  • Upon first connection, the client receives the latest full binary room state.
  • The binary patch is evaluated through Fossil's Delta algorithm at every patch interval.
  • The patched room state is sent to all connected clients.