Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
{
"ok": true,
"engine": "component-row",
"cell": {
"shape": "square",
"width": 96,
"height": 96,
"safe_margin_x": 8,
"safe_margin_y": 8,
"size": 96,
"safe_margin": 8
},
"chroma_key": {
"name": "magenta",
"hex": "#FF00FF",
"rgb": [
255,
0,
255
],
"selection": "fallback"
},
"rows": [
{
"state": "idle",
"frames": 4,
"method": "components",
"files": [
"frames/idle/frame-0.png",
"frames/idle/frame-1.png",
"frames/idle/frame-2.png",
"frames/idle/frame-3.png"
],
"frame_records": [
{
"index": 0,
"nontransparent_pixels": 2400,
"bbox": [
28,
28,
68,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
},
{
"index": 1,
"nontransparent_pixels": 2500,
"bbox": [
23,
38,
73,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
},
{
"index": 2,
"nontransparent_pixels": 2348,
"bbox": [
23,
28,
73,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
},
{
"index": 3,
"nontransparent_pixels": 2000,
"bbox": [
18,
28,
78,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
}
],
"ok": true
},
{
"state": "walk",
"frames": 3,
"method": "components",
"files": [
"frames/walk/frame-0.png",
"frames/walk/frame-1.png",
"frames/walk/frame-2.png"
],
"frame_records": [
{
"index": 0,
"nontransparent_pixels": 4320,
"bbox": [
18,
16,
78,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
},
{
"index": 1,
"nontransparent_pixels": 2500,
"bbox": [
23,
38,
73,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
},
{
"index": 2,
"nontransparent_pixels": 2625,
"bbox": [
10,
23,
70,
88
],
"edge_pixels": 0,
"chroma_adjacent_pixels": 0
}
],
"ok": true
}
],
"errors": [],
"warnings": []
}