Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

release: v2.26.0

Soohong Kim74f55480c1dd
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4d35ad7..0b44e92 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 - The size hold reads a walk's change of size one cycle on, and a follow-through that would fold its region can take the largest gain that does not
+## v2.26.0 - The size hold reads a walk's change of size one cycle on, and a follow-through that would fold its region can take the largest gain that does not
- **Output change: which walk and run loops are held at their size.** `video-loop --anchor motion-auto` with `--size-hold auto` (the default) reads the clip's change of size one cycle on instead of off a line fitted through the clip (`gait_fallback.cycle_drift`). A clip whose reading crosses 1 % one way or the other is cut differently: one that starts from a standing pose and settles into the walk is no longer held (the line read the settle as a shrinking body), and one whose settle pulled the line under 1 % while the body did grow is now held. A clip held either way is scaled back by the change one cycle on, not by the line's, so its frames differ too: a clip whose first frames zoom in reads its walk's own change, not the zoom, and can find a cycle it did not find scaled by the line. A clip under 1 % both ways, and every clip with `--size-hold off`, is cut exactly as before. `video-follow` with its default `--on-fold refuse` writes what 2.24.0 wrote.
- **Fix: a first pose that settles into the walk read as a change of size.** The hold fitted a line to the subject's height over the clip, and a clip that stands tall in its first frames and then walks a few pixels lower read as a body shrinking the whole way: at 1 % or more it was scaled back. The hold now finds the lag at which the pose (cut out about its feet) matches itself best, compares each frame's height — to a fraction of a pixel, the rows' coverage summed — with the frames one, two, … of those lags later, and carries the median change per frame over the clip; the few frames of the first pose do not move the median of the rest. On a synthetic walker that stands 6 px taller for its first frames and walks at one size, the line read −2.2 % and, scaled back by it, the clip found no cycle; it now reads 0 and is cut as filmed. A walker that settles and grows 2.5 % read +0.6 % on the line and was not held, and found no cycle either; it is now held and cut. `size_hold` in the report carries the evidence: `method`, `lag`, `pose_match`, `pairs`, `per_lag` and `drift_fitted_line` (what the line would have read). The gait fallback after a failed search still reads the line at 3 %. [docs/video-pipeline.md](docs/video-pipeline.md#4-loop--period-first-seam-second-then-the-gait-floor).
diff --git a/SKILL.md b/SKILL.md
index a3c71a9..204e6e2 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -1,6 +1,6 @@
---
name: sprite-gen
-version: 2.25.0
+version: 2.26.0
description: "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, 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, rig layers, engine exports, repeating backgrounds, projected shadows, motion/contact inspection and optional scene composition from existing assets."
license: Apache-2.0
depends_on:
diff --git a/pyproject.toml b/pyproject.toml
index 389aded..fed238f 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 = "2.25.0"
+version = "2.26.0"
description = "Component-row pipeline for clean 2D game sprites and animation atlases"
readme = "README.md"
license = "Apache-2.0"