# Item "obstacles" result ## Changed (all under media/obstacles/) - `obstacles.png` – 256x128 RGBA atlas, 64x64 transparent cells, 4 columns x 2 rows. Row 0: spiked ground hazard on a warning-stripe slab (jump). Row 1: hovering violet gate with scrolling stripes and a bright yellow underside lip, empty gap below (duck). - `obstacles.json` – per-obstacle cell rects, frame durations (4 x 120 ms), solid bounds, anchors, gate safe-gap. - `build_obstacles.py` – editable original source (stdlib only), regenerates both files. - `PROVENANCE.md` – provenance/licence/regeneration. ## Atlas values (cell-local px) - ground_hazard: solid x6..58, y25..61 (w53 h37); anchor bottom-center (32.5, 62). - overhead_gate: solid x3..60, y9..27 (w58 h19); anchor top-center (32, 9); safe gap rows y28..61 empty (34 px of cell). ## Checks (script run ad hoc in test/scratch, not submitted) - PNG header 256x128, RGBA 8-bit: ok. - Per-frame solid bounds identical across all 4 frames in both rows (silhouette pixel sets equal): true. - Alpha is binary (0 or 255, no partial alpha): true. Margins: ground 5 px right / 2 px bottom / 6 px left; gate 3 px left/right, 9 px top. - Gate cell rows 28..61 fully transparent in all frames: true. Each row's 4 frames differ in pixels (animation present): true. - Visual inspection of the rendered atlas: jump vs duck shapes read distinctly. - Contrast: not measured numerically; relies on the two-ring outline (light outer, dark inner) so one ring contrasts with each of black, green and gold. Not tested in-engine. ## Needs merged tree - Renderer alignment to simulation rectangles and in-world contrast against the actual black/green/gold backgrounds. - Ground slab bottom is at y61 (2 px margin); the renderer should align using the JSON anchor, not the cell edge.