Skip to content
Proyectos

chongdashu/ai-game-spritesheets

Ver en GitHub

Acerca de

Generate character sprites using AI (Images 2.0 + Seedance 2.0)

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

AI Game Spritesheets — GPT Images 2.0 and Seedance Pipeline

Prompt templates and reference images for generating consistent game character sprites and walk cycles with AI — anchors, directional sheets, idle/attack animations, and walk cycles via image-to-video.

Idle Walk Attack
Idle Walk Attack

All three animations generated with the pipeline below — same character, same scale, same foot baseline.

📺 Watch the full tutorial: How I Turn AI Art Into A Playable Game Character

📝 Builds on this article: Cass Attack Spritesheet Pipeline — the original write-up of this normalization pipeline that the video extends.

🧩 Excalidraw Cheatsheet: AI Game Spritesheets Pipeline

🐦 Follow @chongdashu on X for daily AI gamedev tips, prompts, and experiments.

This repo contains everything you need to follow along:

  • prompts/ — the exact prompt templates, one per pipeline step
  • references/ — the reference images you pass into each prompt (pixel grid, sheet guide, anchors, contact sheets, runtime strips)

Want more like this?

  • Free Insiders — newsletter + cheat sheets, prompts, and reference images from every video.
  • VibeGameDev — the animated-spritesheets and gamedev-assets skills that automate this whole pipeline, plus full source from every project.

The Pipeline

Image gen ≈ 20% of the work. The other 80% is the pipeline below.

concept / box art direction
  → south-facing game anchor (prompt + grid)
  → neutral south anchor (no baked-in effects)
  → west / north directional anchors  (east = horizontal flip)
  → walk cycles via image-to-video
  → attack spritesheets (5x2)
  → idle spritesheets (5x2)
  → background removal + frame normalization
  → runtime spritesheets ready for game integration
Stage Output
Concept / box art Box art
South anchor (prompt + grid) ✅ South anchor
Direct box-art-to-sprite ❌ Rejected
Neutral south anchor (effects stripped) Neutral
Directional anchors Directional
Walk-cycle review (south) Walk south
Attack review (south) Attack south
Idle review (south) Idle south
Final runtime walk strip Runtime walk

Prompt Templates

Step-by-step templates with {PLACEHOLDERS} you fill in for your own character:

  1. 01 — Box Art — generate the high-res concept portrait
  2. 02 — South Anchor — the most important image you'll generate
  3. 03 — Neutral Anchor Reset — strip baked-in magic / weapons
  4. 04 — Directional Anchors — west / north (east = flip)
  5. 05 — Walk Cycle (image-to-video) — the only thing that actually works
  6. 06 — Attack Spritesheet — 10-frame 5x2 sheet
  7. 07 — Idle Spritesheet — subtle 10-frame loop
  8. 08 — Normalization — the part nobody shows you

The Stack

  • Image generation: GPT Image 2.0 (anchors, idle, attack)
  • Walk cycles: fal.ai → SeedDance 2.0 image-to-video
  • Background removal: Bria (via fal) or remove.bg
  • Skills (optional, automated pipeline): animated-spritesheets + gamedev-assets (VibeGameDev)

What You'll Learn

  • Why the south-facing anchor is the most important image you generate
  • The neutral-pose rule that saves your walk cycles before you even start animating
  • How to use a black-and-white pixel grid to enforce pixel-art discipline
  • How to generate idle + attack spritesheets with a 5×2 canvas guide
  • The image-to-video walk cycle technique (and why every other approach fails)
  • How to pick 8–12 frames from a 90-frame video to build a clean loop
  • The normalization pipeline: chroma background, height correction, foot anchoring
  • Mixels vs real pixels — why "fake" pixel art is fine for prototyping

License

MIT — see LICENSE. Use these prompts and references freely in your own projects.

If this helped you:

Explorar proyectos relacionados

Cargando…