animated-sprite-generation — скилл для Claude Code: анимация спрайтов
Помогает собрать зацикленную анимацию из кадров для изометрической игры. Пригодится для воды, огня, дыма, мельниц или флагов.
npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a claude-codeЧто делает animated-sprite-generation
Скилл описывает процесс создания короткой анимации из кадров: зафиксировать seed, менять движение между кадрами и сохранять неизменными силуэт и освещение. Затем кадры собирают в горизонтальный спрайт-лист и проверяют, как последний переходит в первый. Для сборки приведена команда convert frame_*.png +append spritesheet.png.
В руководстве советуют воспроизводить фоновое движение при низкой частоте кадров. Землю анимировать не следует: движение каждого тайла снижает производительность; анимируют объекты поверх неё. Это ограничение важно учесть при выборе того, что попадёт в анимацию.
Какие задачи решает
- собрать кадры анимации в горизонтальный спрайт-лист
- зациклить движение воды без заметного скачка
- анимировать огонь, дым, мельницу или флаг
- сохранить силуэт и освещение между кадрами
Примеры запросов агенту
- Создай зацикленную анимацию воды для изометрической игры и опиши сборку кадров в спрайт-лист.
- Подготовь кадры для анимации флага: меняй только движение, сохрани силуэт и освещение.
- Проверь, плавно ли переходят друг в друга последний и первый кадры анимации огня.
Как установить animated-sprite-generation
1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a claude-code2Вручную: положить файлы
~/.claude/skills/animated-sprite-generation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/animated-sprite-generation/
1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a codex2Вручную: положить файлы
.agents/skills/animated-sprite-generation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a cursor2Вручную: положить файлы
.cursor/skills/animated-sprite-generation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install 0xheycat/isometric-game-skills animated-sprite-generation2Вручную: положить файлы
.github/skills/animated-sprite-generation/SKILL.md1Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a gemini-cli2Командой платформы
gemini skills install https://github.com/0xheycat/isometric-game-skills --path skills/animated-sprite-generationВручную: положить файлы
.devin/skills/animated-sprite-generation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о animated-sprite-generation
Как установить animated-sprite-generation в Claude Code?
Выполни npx skills add 0xheycat/isometric-game-skills --skill animated-sprite-generation -a claude-code. Файл скилла находится по пути ~/.claude/skills/animated-sprite-generation/SKILL.md.
Что делает animated-sprite-generation?
Скилл помогает подготовить зацикленную покадровую анимацию изометрических объектов и собрать кадры в горизонтальный спрайт-лист.
Можно ли анимировать тайлы земли?
Нет. Скилл рекомендует анимировать объекты поверх земли, поскольку анимация каждого тайла снижает производительность.
Исходный текст
SKILL.md · MIT
--- name: animated-sprite-generation description: Use when creating looping animated isometric sprites (water, fire, windmills, flags) as frame strips that play back smoothly in-engine. license: MIT --- # Animated Sprite Generation  ## Overview Animation in 2D isometric games is frame-based, not skeletal. This skill produces short, seamless LOOPS as frame strips. Do NOT animate ground tiles - animate objects on top of them, or performance and visual noise explode. ## When to Use - You need animated water, fire, smoke, windmills, or flags. - You want idle/ambient motion without a 3D engine. - A sprite must loop seamlessly without a visible jump. ## Process 1. Decide frame count for a clean loop (4-8 frames is plenty for ambient motion). 2. Generate frames with a FIXED seed, varying only the motion phrase per frame (e.g. wave phase, blade angle). 3. Keep the silhouette and lighting identical - only the moving part changes. 4. Assemble frames into a horizontal strip / sprite sheet. 5. Confirm frame 1 and frame N loop seamlessly (last frame flows into first). 6. Play back in-engine at a low FPS (6-12) for ambient motion. 7. NEVER animate full ground tiles - animate overlay objects only. ```bash # assemble frames into a horizontal strip convert frame_*.png +append spritesheet.png ``` ## Rationalizations (Stop Lying to Yourself) | Excuse | Reality | |---|---| | "More frames = smoother = better" | More frames = more VRAM and bigger atlas for zero visible gain on ambient loops. | | "I will animate the water tiles directly" | Animating every ground tile tanks performance. Use an overlay object. | ## Red Flags - STOP if you catch yourself: - Animating ground tiles instead of overlay objects. - Loop visibly jumps between last and first frame. - Silhouette or light changes between frames. ## Verification You are NOT done until every box is checked: - [ ] The loop is seamless (last frame flows into first). - [ ] Only the intended part moves; silhouette/light stay fixed. - [ ] Ground tiles are NOT animated; only overlay objects are.
© 0xheycat · MIT · 0xheycat/isometric-game-skills