export_godot_spriteframes
Export Aseprite sprites into Godot 4 as PNG and SpriteFrames .tres files, converting tags into animations with preserved timing and baked directions for AnimatedSprite2D.
Instructions
Export a sprite into a Godot 4 project as .png plus .tres (SpriteFrames).
Each Aseprite tag becomes an animation with per-frame timing preserved; reverse and ping-pong directions are baked into the frame order, and tags with a repeat count do not loop. Assign the .tres to an AnimatedSprite2D.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"godot_project": "<godot_project>"
},
"name": "export_godot_spriteframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| padding | No | ||
| target_dir | No | assets/sprites | |
| godot_project | Yes |