Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
chore(release): prepare 2.13.0 a front or back walk walks straight, and a walk loop is cut in seconds
Soohong Kim7442b1ddc045
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bd79142..0cef8c0 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,12 @@All notable public changes to `sprite-gen` are recorded here. Versions track the `version:` field in `SKILL.md` and `pyproject.toml`.+## v2.13.0 - A front or back walk walks straight, and a walk loop is cut in seconds++- A walk seen from the front or from behind, and a run seen from the front, now have their own sentence (`VIEW_MOTION_TEXT` in `sprite_gen/video/batch.py`): the steps lift and land straight forward and back under the body, toward the viewer or away from it "as if on a treadmill", and the body never turns to the side, steps sideways or crosses its feet. The walk sentence every view shared asked for "an even left-right or front-back rhythm", and a character facing the viewer read it as stepping sideways: crossed feet, side kicks, a body turned to three-quarters. A side view and a run seen from behind keep the state's sentence.+- Measured on Grok (subscription), 480p 3 s, nine humanoid characters twice each, judged on frame sheets with the variant hidden: a front walk kept its facing and walked in 7 of 18 clips with the old sentence and 13 of 18 with the new one (none turned); a front run in 11 of 18 and 15 of 18; a back walk in 8 of 10 with either. "on a treadmill" said as a place was sometimes drawn under the feet; "as if on a treadmill" was not. A walk drawn at a three-quarter angle still turns to a side view in about half the clips with every sentence tried. Method: [docs/video-pipeline.md](docs/video-pipeline.md).+- `video-loop --anchor motion-auto` finds its two tracking regions with FFT correlations instead of copying the masked patch out once per offset. On three 3 s walk clips at 544 px the region search took 1.0 to 1.4 s of CPU instead of 22.6 to 37.4 s, and full loops from the same frames gave the same cycle and byte-identical strips. Costs agree with the direct form to about 1e-6, so two offsets that tie within that may swap. [docs/loop-review.md](docs/loop-review.md).+## v2.12.1 - The error body is masked as the provider sent it, before it is put on one line- The error body is now masked string by string, as the provider sent it, before sprite-gen puts it on one line. v2.12.0 masked the finished line, where JSON, `repr` and the line join had already written a line break, a tab or another control or invisible character as `\n`, `\t`, `\x..` or `\u....` (and the video verbs' JSON fallback any non-ASCII character as `\u....`). A key, a `Bearer` value or a URL query right after one of those kept a letter or digit in front of it and was printed as sent, so v2.12.0's "only a letter or digit in front makes `sk-`/`xai-`/`bearer` part of a word" was wrong there. It holds now, and the letter or digit is the provider's own: `task-…` and `xbearer …` are still words, and so is a key after the two characters `\n` or `%0A` the provider wrote itself. A `Bearer` value after a tab or a line break, and the credential the request carried when it holds a quote or a non-ASCII character, are masked too. An API key or login token of the usual shape that the request carried was masked in every case in v2.12.0 too, and still is (a number in the body equal to it included).diff --git a/SKILL.md b/SKILL.mdindex e52750a..cf1573a 100644--- a/SKILL.md+++ b/SKILL.md@@ -1,6 +1,6 @@---name: sprite-gen-version: 2.12.1+version: 2.13.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, standalone image-to-video clips (i2v, animate this still, 그록 영상, 이매진 비디오, 스틸 움직여줘, first/last frame, reference-to-video, 영상 이어붙이기, 영상 편집, extend/edit a clip), 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.0depends_on:diff --git a/pyproject.toml b/pyproject.tomlindex fbf1939..782e6b7 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.12.1"+version = "2.13.0"description = "Component-row pipeline for clean 2D game sprites and animation atlases"readme = "README.md"license = "Apache-2.0"