0x0funky/agent-sprite-forge / skills/codeart2d
codeart2d
VerifiedExplicit-only last resort. Draws game art from code, with no image model - pixel sprites from a PixelSpec, flat vector props, UI and icons from portable SVG, rigged characters with planted feet, FX with a JS runtime, seam-proven autotiles, playable top-down layouts with collision, stylized parallax and ambient plate motion - palette-exact, with QA and review sheets. Use only when the user explicitly asks for code-drawn art, or when generate2dmedia route_media.py finds no image or video route (no-route, exit 3). Never the default - image generation (generate2dsprite, generate2dmap, video2dsprite) comes first for characters, props, maps and FX. Not for painterly, detailed or likeness art, HD-2D plates or realistic fire, smoke or water. Always disclose the result as code-drawn.
examples/plate-effects.json
View on GitHub{
"schema": "codeart2d.plate_effects.v1",
"units": "uv",
"period_ms": 4800,
"frames": 48,
"sampling": "bilinear",
"effects": [
{
"id": "harbour-water",
"kind": "ripple",
"polygon": [[0.0, 0.64], [1.0, 0.64], [1.0, 1.0], [0.0, 1.0]],
"period": 4.8,
"amplitude": 1.8,
"wavelength": 96,
"axis": "x",
"feather": 8
},
{
"id": "reeds",
"kind": "sway",
"polygon": [[0.04, 0.5], [0.2, 0.5], [0.22, 0.66], [0.03, 0.66]],
"period": 2.4,
"amplitude": 1.5,
"wavelength": 40,
"feather": 6
},
{
"id": "chimney-haze",
"kind": "shimmer",
"polygon": [[0.7, 0.08], [0.78, 0.08], [0.8, 0.26], [0.68, 0.26]],
"period": 1.6,
"amplitude": 0.8,
"wavelength": 18,
"feather": 6
},
{
"id": "lantern",
"kind": "glow",
"polygon": [[0.52, 0.4], [0.6, 0.4], [0.6, 0.52], [0.52, 0.52]],
"period": 1.6,
"amplitude": 0.35,
"color": "#ffd98a",
"feather": 10
}
],
"protected": [
{"id": "moored-boat", "box": [0.42, 0.7, 0.58, 0.84]}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |