Log inGet started
World

Save Point

Branchmain
Branchesmain
Commit8937fc8d08

README.md

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).