What problem does it solve?
NetBlocks eliminates the complexities of creating multiplayer XR (extended reality) experiences by offering a seamless solution that includes real-time sharing, presence avatars, object synchronization, and voice chat.
Core Features & Use Cases
- Multiplayer Presence: See other users' avatars in real-time, including their heads and hands when using hand tracking.
- Shared Objects: Synchronize the position and state of objects across all connected devices for collaborative manipulation.
- RPC Events: Send and receive typed events for chat, button presses, and other interactions.
- Voice Chat: Implement spatial voice chat for immersive communication.
- Transport Flexibility: Choose from local development (
BroadcastChannelTransport), serverless peer-to-peer (WebRTCTransport), or scalable relay-based options (WebSocketTransport).
- Use Case: Imagine a group of friends wants to collaboratively build a virtual structure in an XR environment. NetBlocks allows them to do so in real-time, with each person's movements and actions reflected instantly on all screens.
Quick Start
Use the netblocks skill to create a multiplayer XR experience by running the command: enableNet(). Then, join a room with the command: joinRoom('my-room').