Log inGet started
Package

garageArt.module

README.md

screens.garageArt

Draws the ROBOT MAKER as one widget tree in the broadcast look of screens.art — Anton type, black trimmed panels, hazard-yellow selection, a white ring for the keyboard/pad cursor.

  • build(m, view) → (tree, layout). The view comes from screens.BroadcastScreens (design, stats, every zone's rows from screens.garage, cursor, toast, menu/sheet state). Every chip, card, swatch, colour picker and numeric field carries the screens.garage action id it runs; ids follow gar-<zone>-<rowKey>[-i<col>], inputs gar-in-*.
  • Landscape: toolbar across the top (◀ TITLE, UNDO/REDO with counts, SELECT/MOVE/ROTATE/SCALE, MIRROR, SNAP and its steps, TEST DRIVE, BUILDS ▾, FIGHT! which shows the first problem while illegal), parts palette on the left (category chips, part cards with shape pictogram, name, blurb, default weight, count on the bot), PART / BOT / OPPONENT panel on the right, the stats strip along the bottom (weight bar against 250 lb stacked by category with legend, speed/accel/turn, CoM, battery vs need and run factor, each weapon, rating bars, the issues list), the bot's name and the view presets over the build view, and the BUILDS menu as a drop-down panel.
  • Portrait (phone): two-row toolbar, a compact stats strip (tap for the full numbers and issues), the build view, and a bottom sheet with PARTS / INSPECT / BOT / RIVAL tabs that collapses to its tab bar.
  • layout(m, g) gives every box, rects (what the 3D view must not take the pointer in) and frame (the centre of the free view, for the camera's build shot via Rules.state().shotFrame).