Skip to content

tachikomared/character-animation-creator-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Character Animation Creator Skill

Showcase

Watch the skill in action — generating a complete 64×64 character spritesheet from a single prompt:
View on X (Twitter)


For: Codex (OpenAI) and GPT Web Agent
Purpose: Generate game-ready 64×64 pixel-art character spritesheets with 8-direction animations from a text prompt or reference image.

What It Does

"Use game-character-64 to make a 64x64 knight with 8-direction walk and attack
animations from this image."

Given a concept or reference image, this skill:

  1. Establishes character identity — species, class, silhouette, palette, weapon, outfit.
  2. Generates a canonical base sprite — a readable 64×64 pixel-art character.
  3. Produces animation strips — idle, walk, attack for all 8 directions (24 rows × 6 columns).
  4. Runs pixel cleanup — quantizes palettes, snaps edges, handles alpha.
  5. Validates the atlas — checks frame integrity and generates a contact sheet.
  6. Packages output — final spritesheet + QA report ready for import into RPGs, roguelikes, top-down action games, or tactics engines.

Default Output Layout

run/
├── prompts/
├── generated/              # raw strips from image generation
├── final/
│   ├── character-sheet.png
│   └── character-sheet-clean.png
└── qa/
    ├── validation.json
    └── contact-sheet.png

Direction Set

Default 8-direction order:

south, south-east, east, north-east, north, north-west, west, south-west

Animation Rows

Action Frames Notes
idle 4 padded to 6 cells
walk 6 full cycle
attack 6 full cycle

Default atlas: 384 × 1536 (6 columns × 24 rows × 64px).

Smaller scopes available:

  • walk-only: 8 rows × 6 frames
  • idle-walk: 16 rows × 6 frames
  • combat: idle + walk + attack for all 8 directions

Quick Use Example

"Use game-character-64 to make a 64x64 knight with 8-direction walk and attack
animations from this image."

Scripts

  • scripts/pixel_snap.py — alpha threshold, palette quantization, pixelate-scale edge hardening
  • scripts/validate_64_sheet.py — frame validation + contact-sheet generation
  • scripts/export_animation_previews.py — export GIF/PNG previews per animation row

Requirements

  • Python 3.9+
  • Pillow (pip install Pillow)
  • Image generation backend (Codex/GPT $imagegen or DALL-E / Midjourney / etc.)

License

MIT — see SKILL.md for full workflow documentation.

About

Character Animation Creator Skill for Codex and GPT Web Agent — generates game-ready animations and sprites from reference images or text prompts

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages