cross-world-ecs-access

Synchronize ECS world state between global and scene worlds via CRDT.

23|17|Updated Apr 16, 2023
One-click install
npx skills add https://github.com/decentraland/unity-explorer --skill cross-world-ecs-access
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-world-ecs-access
Source: https://github.com/decentraland/unity-explorer/tree/main/.claude/skills/cross-world-ecs-access
Command: npx skills add https://github.com/decentraland/unity-explorer --skill cross-world-ecs-access

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables seamless interaction and data synchronization between the global Decentraland world and individual scene worlds within the ECS architecture.

Core Features & Use Cases

  • Global-to-Scene Propagation: Synchronize player state, camera, and input from the global world into scene worlds.
  • Scene-to-Global Communication: Allow scene systems to directly read or modify global world state, such as player input modifiers.
  • CRDT Bridge: Facilitate data synchronization between scene and global environments using CRDT mechanisms.
  • Use Case: A scene needs to react to player input that originates in the global world. This skill provides the mechanism for the scene system to receive and act upon that input.

Quick Start

Use the cross-world ECS access skill to propagate player transform data from the global world to the current scene world.

Frequently Asked Questions about cross-world-ecs-access

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I synchronize player input from the global Decentraland world into a scene world?

Cross-world ECS access facilitates bidirectional data flow, allowing global-to-scene propagation of player state, camera, and input into scene worlds using CRDT-based communication mechanisms.

Can a scene system directly modify global world state in Decentraland ECS?

Scene-to-global communication is supported by cross-world ECS access, enabling scene systems to directly read or modify global world state such as player input modifiers through component propagation.

What's the best way to bridge data between global and scene-specific ECS worlds?

Bridging global and scene worlds in ECS is managed through CRDT synchronization patterns and plugin injection, ensuring consistent data flow and state synchronization between the two environments.

Do I need to understand CRDT synchronization patterns to implement cross-world entity interactions?

Effective implementation of cross-world ECS access requires understanding of ECS architecture, plugin injection, and CRDT synchronization patterns to manage entity interactions and component propagation correctly.

Why does my scene not react to player input that originates in the global world?

Scenes fail to react to global world player input when a cross-world ECS access bridge is missing to propagate the input data and synchronize state between the global and scene environments.

When do I need cross-world data synchronization in Decentraland scene management?

Cross-world data synchronization is needed in Decentraland scene management when a scene must react to or modify global world state, requiring bidirectional entity interactions and component propagation.