netblocks

Official

Create Multiplayer XR Experiences Instantly

Authorgoogle
Version1.0.0
Installs0

System Documentation

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').

Dependency Matrix

Required Modules

xrblocksBroadcastChannelTransportWebRTCTransportWebSocketTransport

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: netblocks
Download link: https://github.com/google/xrblocks/archive/main.zip#netblocks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.