Log inGet started
World

First Light: Betocsin

Branchmain
Branchesmain
Commit065ea629bf

README.md

Screens

Puts every authored screen of First Light: Betocsin on the glass, and drives it. Mounted once, on mount_screens; it needs nothing else on that entity.

What it draws

ScreenLayerWhat it is
flb_hud20the dawn meter, the course readout, the crane's prompt
flb_caption40the written form of the Warden's spoken lines
flb_hud_touch300the HUD's own tap targets
flb_card800title, how-to, pause, won, lost — one at a time

The tap targets sit on their own screen at 300 because the engine's on-screen touch-control overlay is registered at 200 and takes a contact anywhere on the glass: a target under it answers a mouse and ignores a finger.

The three device families, in one model

A card goes up; this component activates game.screens.console, which stands the whole player group down so the crane cannot be dropped through a menu. From there:

  • navigate / navigateAlt walk a game.screens.Focus ring — arrow keys and the left stick, W/S and the d-pad.
  • confirm fires whatever is lit.
  • back and resume are contextual: the how-to goes back to the title, the pause card back to the crane, and on the title and end cards a press does nothing rather than dropping the player somewhere they did not ask for.
  • the pointer carries its own target. Each row is a real widget that answers a click and a tap by acting on itself, and a mouse crossing a row re-points the focus onto it — the crossing, not the resting, so a cursor left lying on a row cannot pin the focus away from a controller.

What it says, and what it never does

It changes no phase. It emits "ui" events — start, howto, back, resume, restart, pause — and the rules slice decides. It reads Core.state and listens for phase, perfect, watch, ring and caption.