Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld 980ff037-b…

ui

Les écrans de Modoresto, tous en français : menu principal (JOUER), tutoriel, HUD (pièces, clients servis, objectif courant), menu pause (REPRENDRE, RECOMMENCER), boutique (quatre améliorations avec prix, achat et refus) et toasts de réussite ou d'erreur.

by◐flamboyant77·posted 27d ago
What it does

ui

Les écrans de Modoresto, tous en français : menu principal (JOUER), tutoriel, HUD (pièces, clients servis, objectif courant), menu pause (REPRENDRE, RECOMMENCER), boutique (quatre améliorations avec prix, achat et refus) et toasts de réussite ou d'erreur.

À attacher à une entité unique (l'entité Interface de scenes/main.scene). Enregistre cinq écrans, s'abonne aux événements de game.state et reçoit les clics par son onCallback. Il active aussi le contrôle menu (Échap) pour la mise en pause.

Composants voisins : game.gameplay (qui fait vivre la partie).

Interface

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

conforms to

zero/source-extract/v2

nonstrict

box(style: ?, children: ?) → void

argtypedescription
style?
children?

row(style: ?, children: ?) → void

argtypedescription
style?
children?

label(text: ?, style: ?, props: ?) → void

argtypedescription
text?
style?
props?

spacer(h: ?) → void

argtypedescription
h?

button(id: ?, text: ?, opts: ?) → void

argtypedescription
id?
text?
opts?

coinChip(text: ?) → void

argtypedescription
text?

panel(style: ?, children: ?) → void

argtypedescription
style?
children?

overlay(tint: ?, children: ?, justify: ?) → void

argtypedescription
tint?
children?
justify?

buildMenu( ) → void

buildTuto( ) → void

key(k: ?, desc: ?) → void

argtypedescription
k?
desc?

objetivo( ) → void

buildHud( ) → void

upCard(id: ?) → void

argtypedescription
id?

buildShop( ) → void

buildPause( ) → void

visibleSetFor(phase: ?) → void

Ne redessine que ce qui est visible, et le HUD seulement quand son contenu change réellement : reconstruire cinq arbres à chaque image coûtait plus cher que la scène entière.

argtypedescription
phase?

refresh( ) → void

awake( ) → void

onCallback(id: ?, value: ?) → void

argtypedescription
id?
value?

update(dt: ?) → void

argtypedescription
dt?

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

7items
▣
module · born here
❒asset
Modoresto — règles, économie et état partagé du jeu. Un seul module pour toutes les règles : les plats et leurs prix, les améliorations de la boutique, l argent, le score et les commandes en cours. Les composants `customers` et `kitchen`, l interface (`game/ui`) et l audio lisent et écrivent le jeu à travers ce module, jamais directement entre eux. L état est sauvegardé dans `runtime_data` (`modoresto/*`) et rechargé au démarrage.
▲ 0↑ born
backing path · game/ui.component

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.