Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·part ofpackage metropolisUi.package·originates fromworld 0a0b119f-a…

MetropolisUi

Puts the interface in a scene: a persistent owner for the screens' callbacks, and its tick.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

MetropolisUi

Puts the interface in a scene: a persistent owner for the screens' callbacks, and its tick.

Add it to one entity in the play scene. It mounts nothing by itself: the game mounts the app with its copy
(`App.mount({ text = Copy.get, hosted = true })`) and then feeds it. This component is what the engine needs
so that widget callbacks have somewhere persistent to land and the interface is advanced every frame, also
while the game clock is held (pause menu, the bill).

  entity(id).component.add("MetropolisUi", {})
  local App = require("metropolisUi.modules.app")
  App.mount({ text = Copy.get, hosted = true })

NOT YET RUN IN THE ENGINE.

The interface is documented in the header of init.luau; this file repeats it for the asset browser.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

MetropolisUi — puts the interface in a scene: a persistent owner for the screens' callbacks, and its tick. Add it to one entity in the play scene. It mounts nothing by itself: the game mounts the app with its copy (`App.mount({ text = Copy.get, hosted = true })`) and then feeds it. This component is what the engine needs so that widget callbacks have somewhere persistent to land and the interface is advanced every frame, also while the game clock is held (pause menu, the bill). entity(id).component.add("MetropolisUi", {}) local App = require("metropolisUi.modules.app") App.mount({ text = Copy.get, hosted = true }) NOT YET RUN IN THE ENGINE.

awake( ) → void

update(dt: number) → void

argtypedescription
dtnumber

editorUpdate(dt: number) → void

while the clock is held (a menu, the arrest's bill) the interface still moves

argtypedescription
dtnumber

onPropertyChanged(key: string, value: any, _oldValue: any) → void

argtypedescription
keystring
valueany
_oldValueany

onCallback(id: string, data: any) → void

every onClick / onChange of the app's screens lands here

argtypedescription
idstring
dataany

onDestroy( ) → void

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.