Hold the Line: Tower Defense Kit with Paths, Towers, Waves and a 10-Wave Map
README.md
wavePreviewKit.layout
Sizes the wave preview for the screen it is on. compute(w, h, safe, touch) returns the usable width and height inside the safe area, a margin, compact (under 760 x 460 points), tiny (under 440 wide), portrait, a scale and whether buttons must be touch-sized; measure() does the same for the live screen. root(layout, anchor, panel, offset) wraps a panel in a transparent full-screen root that pins it to one of eight anchors and takes no pointer itself. Used by the api, the styles and the tests.