decentraland / decentraland/creator-hub

Global Values

Open
#754 0 comments 0 reactions 0 assignees View on GitHub
2-medium editor enhancement
Dominant language
TypeScript
Stars
7
Forks
14
Avg merge
2d 8h
Merged PRs (30d)
44

Description

This is a feature to add the possibility of defining values at a project level, that can then be referenced from any item in the scene. This allows for quick adjustments, especially in scenes with a moderate or high level of complexity.

https://www.figma.com/design/suc5o13XbkqINA0P4thxQa/%F0%9F%A7%B0-Creator-Hub-%7C-Updated-Designs?node-id=15315-183345&t=afBUfMj5SqXvwN3y-4

Creators can define these Global Values groups as nodes on the entity tree. These aren't actually entities but instead globally stored values (they can be stored on an entity if it makes sense, tho). Each value has a name, a type and a value.

You can then reference these values from any field in an entity, by right-clicking and selecting from the available global variables.

Corner case:
Does it make sense to add a Multiplayer component to a Value Group, so that if the values change dynamically with the scene, they're synced to all players? (in this case the value group should be stored as an entity)
If this is relatively easy, would be good to explore the option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.