layout.module
README.md
gallery layout (Questing Grounds only, not part of questKit)
Places the showcase's exhibits for the screen they are seen on, from the player's spawn camera (eye 2.2 m up, 4.5 m behind the spawn, aimed 2.6 m above it, vertical fov 60).
Layout.hud(aspect)lists the screen rectangles the play HUD covers (navUiKit's quest tracker top-left, compass top-centre and minimap top-right, inventoryKit's hotbar bottom-centre), in screen fractions, measured from captures in play.Layout.plan(aspect, ratios?)works out where every exhibit goes for an aspect: the title under the compass, the quest log and tracker boards packed into shelves on the board wall that avoid the HUD corners (as many per shelf as fit, scaled together until everything fits above the givers), the nine quest givers in a row (landscape) or on three local bleacher stands (portrait), each marker group's plaque under its givers and the two play signposts in the bottom corners. Label and board widths come from the live text (Layout.measure()), so a language with longer words gets its own fit.Layout.apply(plan)moves the scene's own entities on this peer only (scene entities are not replicated), sets text heights and spawns the local stands and shelf ledges it needs.
The GalleryLayout component re-plans whenever the screen's shape or the label widths change. gallery/check.luau applies the plan for each shape it checks.