{ "image": "obstacles.png", "size": { "w": 256, "h": 128 }, "cell": { "w": 64, "h": 64 }, "columns": 4, "rows": 2, "coordinateOrigin": "cell top-left, y down, pixels", "collisionNote": "solidBounds are the stable collision silhouette bounding box (identical in every frame); animated accents are interior only", "obstacles": [ { "id": "ground_hazard", "row": 0, "action": "jump", "frameCount": 4, "frameDurationsMs": [ 120, 120, 120, 120 ], "frames": [ { "index": 0, "cell": { "x": 0, "y": 0, "w": 64, "h": 64 } }, { "index": 1, "cell": { "x": 64, "y": 0, "w": 64, "h": 64 } }, { "index": 2, "cell": { "x": 128, "y": 0, "w": 64, "h": 64 } }, { "index": 3, "cell": { "x": 192, "y": 0, "w": 64, "h": 64 } } ], "solidBounds": { "x": 6, "y": 25, "w": 53, "h": 37 }, "stableSilhouette": true, "anchor": { "name": "bottom-center", "x": 32.5, "y": 62, "note": "align to simulation rect bottom-center (ground contact)" } }, { "id": "overhead_gate", "row": 1, "action": "duck", "frameCount": 4, "frameDurationsMs": [ 120, 120, 120, 120 ], "frames": [ { "index": 0, "cell": { "x": 0, "y": 64, "w": 64, "h": 64 } }, { "index": 1, "cell": { "x": 64, "y": 64, "w": 64, "h": 64 } }, { "index": 2, "cell": { "x": 128, "y": 64, "w": 64, "h": 64 } }, { "index": 3, "cell": { "x": 192, "y": 64, "w": 64, "h": 64 } } ], "solidBounds": { "x": 3, "y": 9, "w": 58, "h": 19 }, "stableSilhouette": true, "anchor": { "name": "top-center", "x": 32.0, "y": 9, "note": "align to simulation rect top-center" }, "safeGapBelow": { "fromY": 28, "toY": 61, "h": 34, "note": "cell pixels below solid art are empty; simulation clearance is set by the rect, art must not be lowered" } } ] }