← all repositories
0x0funky/agent-sprite-forge

AI game assets that actually reach your engine

A Codex skill pipeline that turns text prompts into sprite sheets, layered maps, and playable Godot or Unity prototypes.

2.6k stars Python AgentsCreative · Design
agent-sprite-forge
Velocity · 7d
+57
★ / day
Trend
steady
star history

What it does

Agent Sprite Forge is a set of Codex skills that generate 2D game assets from natural language prompts and hand them off in engine-ready formats. You describe what you want; the agent plans the pipeline, calls image generation, then runs deterministic local scripts to clean, split, align, and export the results. Output ranges from transparent PNG sprite sheets and animated GIFs to full Godot TileMap scenes and Unity WebGL builds.

The interesting bit

The project treats the LLM as a project manager, not just a prompt wrapper. Codex decides whether you need a four-directional walk cycle, a layered RPG map with y-sorted props, or a complete tower-defense prototype with collision bodies and wave metadata. The deterministic cleanup stage then rescues the output from the usual “AI-generated but unusable” trap.

Key highlights

  • $generate2dsprite produces animated character sheets, FX bundles, and reference-guided variants (e.g., match this crocodile photo, then animate it)
  • $generate2dmap builds layered maps via a three-stage pipeline: ground base, dressed reference, prop pack extraction
  • Direct Godot 4.5 export with editable TileMapLayer nodes, StaticBody2D collision, Area2D encounter zones, and debug player/camera wiring
  • Unity handoff includes playable scenes, content databases, and WebGL deployment configs
  • Local processors handle chroma-key removal, frame extraction, transparent PNG/GIF export, and QA metadata generation

Caveats

  • Requires OpenAI Codex access; the README does not detail pricing or rate-limit implications
  • Map workflow currently prefers a specific “hand-painted HD game-map style” — diverging from that aesthetic may need prompt engineering
  • The README is heavy on showcase and light on exact installation steps or dependency versions

Verdict

Worth a look if you prototype 2D games and spend more time in asset stores than in your engine. Less useful if you already have an established art pipeline or need pixel-perfect, production-final sprites without manual cleanup.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.