Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
release: 4.2.0
Soohong Kim9740e11578d1
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d137fa0..ea14b81 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,7 +2,7 @@All notable public changes to `sprite-gen` are recorded here. Versions track the `version:` field in `SKILL.md` and `pyproject.toml`.-## Unreleased (v4.2.0)+## v4.2.0 - Cut with --fill-held off kept as cycle.source/ beside filled loops so alignment needs no clip frames, with cycle_source in the loop report (video-loop, video-cycle-align)**Upgrading from 4.1.0: loops with no held cell made and cuts with `--fill-held off` give the same files byte for byte as 4.1.0 except the report's `producer.implementation_sha256` (four of seven cuts measured before and after: a synthetic walk with a held frame cut with `--fill-held off`, a synthetic walk with nothing held, and the application's walk flags on a synthetic strider with the fill off and with the fill on where its fill made no cell); cuts that are not loops (played once or an effect's lifetime) and cuts with `--out-fps` were not measured and are unchanged because the new step does not run for them. For a loop at the clip's rate whose held cells were made again, the delivered `cycle/`, `<name>.strip.png`, `<name>.strip.json`, `<name>.gif`, and `<name>.webp` are byte for byte as in 4.1.0 and the report differs only in `cycle_source` and `producer.implementation_sha256` (the other three measured cuts: the held walk, the same with jump repair on, and a walk whose last cells were held), while `video-loop` now cuts the clip's frames a second time with `--fill-held off` to keep `cycle.source/` beside it (0.31 to 0.40 times the loop's output size on test walks, 19.0 to 19.8 KB beside 48 to 64 KB; cut time 0.41 s to 0.75 s on the synthetic walk and 0.83 s to 1.63 s with jump repair on; 14 RIFE binary calls instead of 12 on an Apple GPU on rife-v4.25 and rife-v4.6 where the second cut repairs a ghost), adds `cycle_source` to the loop report and summary JSON, and writes stderr lines around the second cut. An app that cuts in one place and runs `video-cycle-align` in another must carry `cycle.source/` with each loop's cycle frames, strip, strip record, and report so alignment needs no clip frames; loops cut by 4.1.0 or earlier have no `cycle.source/` and align as before.**diff --git a/SKILL.md b/SKILL.mdindex c331233..e9171be 100644--- a/SKILL.md+++ b/SKILL.md@@ -1,6 +1,6 @@---name: sprite-gen-version: 4.1.0+version: 4.2.0description: "Generates images and game sprites through GPT or Grok with guided provider choices, separate saved defaults, automatic cleanup and optional curation. Handles sprite requests, ordinary image generation/editing, typography logos (로고, 타이포그래피, 타이틀 글자, 타이틀 로고, wordmark, logo, title lettering: a title screen drawn with the title in it, its lettering lifted out transparent), standalone image-to-video clips (i2v, animate this still, 그록 영상, 이매진 비디오, 스틸 움직여줘, first/last frame, reference-to-video, 영상 이어붙이기, 영상 편집, extend/edit a clip), clips from a video MCP on the agent (ZCRE, 지크 MCP), chroma removal, animation atlases, video loops, 큐레이션뷰, image candidates, 팔레트 스왑, palette swap, recolor, engine exports, repeating backgrounds, projected shadows, talking face layers over body motions (말하는 얼굴, 입 맞추기, 얼굴 층, lip sync, face pack), motion/contact inspection and optional scene composition from existing assets."license: Apache-2.0depends_on:diff --git a/pyproject.toml b/pyproject.tomlindex 8755305..a37cbc5 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"name = "sprite-gen"# Release discipline: keep this package metadata version synchronized with# SKILL.md's `version:` field in the same release commit.-version = "4.1.0"+version = "4.2.0"description = "Component-row pipeline for clean 2D game sprites and animation atlases"readme = "README.md"license = "Apache-2.0"