What problem does it solve?
This Skill helps you build Connected Lenses on Snap Spectacles without getting lost in the networking details. It covers how to share state, send events, manage ownership, and keep the experience usable when peers join, leave, or the network is unstable.
Core Features & Use Cases
- Session management: Use SessionController to understand who is connected, who is the host, and how the session changes over time.
- Shared state synchronization: Model persistent shared data with Storage Properties inside SyncEntities so every peer sees the same state.
- Event-driven multiplayer actions: Use Networked Events for one-time actions like spawning effects, starting rounds, or signaling interactions.
- Ownership and authority: Decide whether a lens is host-authoritative, peer-authoritative, or hybrid, and handle ownership transfer cleanly.
- Latency-aware UX: Design for optimistic updates, interpolation, and reconnect behavior so multiplayer still feels responsive under real network conditions.
- Use case: Build a two-user Spectacles lens where one user can place objects, both users see updates, and the session survives brief disconnects.
Quick Start
Use this skill when you need help designing or debugging a Snap Spectacles multiplayer lens with shared state, ownership, and session lifecycle handling.