build-hud

Installation
SKILL.md

Game interface

A HUD is a view of game state, not a source of it. Render it from the current state each frame or on each transition; never store gameplay truth in the DOM or a UI element.

Choose the UI layer

  • Build the interface in the natural UI layer for the surface — a DOM or React overlay, or the Engine screen and element UI — decided with the build-app skill. Keep it outside gameplay model hierarchies, as assemble-scene requires.
  • For a screen-space Engine UI, adapt a user-interface example with find-examples rather than guessing element anchoring, scaling, and font handling.

Drive from state

Installs
1
GitHub Stars
7
First Seen
Today
build-hud — playcanvas/skills