Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 47b50fcd-5…

loadGate

The hangout's loading screen and readiness gate. After a load in play (entering play, joining, a scene reload) the scene's entrypoint calls `require("stations.loadGate").start()`; the player then waits behind a full-screen card in the HUD style (stations.hui tokens) until the roo…

by◐Deata·posted 3d ago
What it does

loadGate

The hangout's loading screen and readiness gate. After a load in play (entering play, joining, a scene reload) the scene's entrypoint calls require("stations.loadGate").start(); the player then waits behind a full-screen card in the HUD style (stations.hui tokens) until the room is ready:

  • every generated furniture piece (each SceneModule placement) has all its Generators standing, so its mesh and collider are there;
  • the shared props (Game Boy, the four controllers) are held or resting on a collider;
  • the local avatar has been posed by its animator.

On an in-play reload the entrypoint's onUnload calls G.cover(), which raises the same card (counts at zero) before the old room is torn down, so the swap and the new scene's first frames draw behind it; the reloaded scene's start() then takes the card over. A cover no start() follows drops after G.CAP or when play ends.

G.CAP seconds (40) reveal the room whatever is left. While the card is up the furniture builds with the whole frame (FrameBudget.sync), the shared props are frozen (kinematic) until the surface under them has a collider, and avatars stay hidden until G.POSE_SECONDS after their animator is on them; that last rule keeps running after the reveal for players who join later. G.report() answers what the last run saw (reveal time, counts, whether the cap fired).

Interface

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

conforms to

zero/source-extract/v2

strict

now( ) → number

standing(g: any) → boolean

argtypedescription
gany

furniture( ) → void

Generated pieces: { total, ready }. A placement counts once every Generator its build made stands.

supported(e: any) → boolean

the collider under a prop, if one is there (its own excluded)

argtypedescription
eany

held(e: any) → boolean

argtypedescription
eany

physicsOf(e: any) → any

argtypedescription
eany

freezeProps( ) → void

Props: frozen where they rest until the surface under them has a collider.

wakeProps(force: boolean) → void

Wake each frozen prop whose support stands; `force` wakes the rest too.

argtypedescription
forceboolean

props( ) → void

Props: { total, ready }. Ready = held, or resting (not moving) on a collider.

localAvatar( ) → any

avatarPosed(e: any, t: number) → boolean

Avatars: hidden from the moment they appear until their animator has posed them.

argtypedescription
eany
tnumber

sweepAvatars(t: number, holdLocal: boolean) → void

argtypedescription
tnumber
holdLocalboolean

avatar(t: number) → number

Local avatar: 1 when posed, else 0.

argtypedescription
tnumber

row(label: string, done: number, total: number) → any

argtypedescription
labelstring
donenumber
totalnumber

render(f: { number }, p: { number }, a: number) → void

argtypedescription
f{ number }
p{ number }
anumber

report( ) → any

What the last run saw, for measurement: { started, revealed, capped, furniture, props, avatar }.

cover( ) → void

Raise the card the moment this peer's scene starts unloading in play (an in-play reload), so the swap and the new scene's first frames draw behind it. The next `start()` takes over its count; if none comes (the scene was not loaded again, play ended) it drops after `G.CAP`.

start( ) → void

Start a gate for this peer's load (play only). Safe to call again: the newer run takes over.

step( ) → boolean

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.