What problem does it solve?
Decentraland scenes often require multiple players to share and interact with a common world state without relying on a centralized server. CRDT-based synchronization enables consistent, eventual state across all connected clients, reducing drift and improving responsiveness.
Core Features & Use Cases
- SyncEntity: automatically keep selected components in sync across peers for shared state.
- Parent-Child Sync: establish synced hierarchies with parentEntity for coordinated objects.
- MessageBus & Binary MessageBus: fire-and-forget events with optional high-performance binary payloads.
- Custom Schemas: define and sync custom components using Int64, Enum, EnumNumber, OneOf, Optional.
- Connection State: detect when the sync state is ready to read/write safely.
- Use Cases: multiplayer gameplay, collaborative scenes, shared world state, and player-to-player interactions without a server.
Quick Start
Launch a Decentraland scene and enable CRDT-based peer-to-peer synchronization to share world state with other players.