Log inGet started
World

Save Point

Branchmain
Branchesmain
Commit8937fc8d08

README.md

hui

The hangout's interface kit: one look for every screen, and the shared pieces each object draws through instead of registering screens of its own.

  • Look: warm frosted glass panels, cream ink, an amber accent for the hangout and a phosphor green for anything a console shows. Headings in Bricolage Grotesque, text in Arimo, keys in JetBrains Mono on raised keycaps, small retro kickers in Press Start 2P.
  • Hui.prompt(owner, key, verb, object?) / Hui.unprompt(owner): the one interaction prompt on screen. The most recent offer wins; withdrawing it brings back the one under it, so prompts never stack or stick.
  • Hui.controls(owner, title, items) / Hui.uncontrols(owner): the controls bar for whatever the player is doing (holding the Game Boy, a controller, seated). items = { { keys = { "Z" }, label = "A" }, ... }.
  • Hui.toast(kicker, title, body?): a card that drops in at the top and leaves by itself.
  • Building blocks for screens: Hui.glass, Hui.text, Hui.keycap, Hui.keys, Hui.kicker, Hui.bar, Hui.button, Hui.T (tokens).