PAGAN
AI pixel art for Godot 4, as resources Godot loads
PAGAN is a text language for game art. Your agent (Claude with the PAGAN skill, or any agent over MCP) writes the sprites, tiles and 3D models; pagan build turns them into PNG sheets and Godot resources that drop straight into your project.
- SpriteFrames
.tresfor every sprite and model: one animation per heading (walk_se,attack_n…). - TileSet
.tresfor tilesets, including animated tiles; atlas coordinates inmanifest.json. - Pivots as
godot_offset, normal maps for Godot's 2D lights, team colours as variant sheets or swap tables. - Every resource format is copied from what Godot 4.7's ResourceSaver writes and verified by loading it in headless Godot.
- Free, Apache 2.0, offline. Your agent writes the art; you review it like code.
# pagan.toml, inside your Godot project
output_dir = "../assets/generated"
export = ["png", "godot"]
# in GDScript
$Zombie.sprite_frames = load("res://assets/generated/sprites/zombie.tres")
$Zombie.offset = Vector2(0, -17) # manifest: godot_offset
$Zombie.play("walk_" + heading)