How to get Aseprite sprite animations into Godot 4
Short answer
Export the sprite sheet with JSON data from Aseprite, create a SpriteFrames resource in Godot, add one animation per tag (idle, move, attack…), add frames from the sheet with the cell size, set each animation's FPS from the frame durations and turn looping off for one-shots like death. Play it on an AnimatedSprite2D.
- Aseprite: File → Export Sprite Sheet, with JSON data and tags.
- Godot: add an AnimatedSprite2D and create a new SpriteFrames.
- Add an animation per tag; use "Add frames from sprite sheet" with the cell size (e.g. 32x32).
- Set the speed (FPS = 1000 ÷ frame duration in ms) and untick Loop for death.
- Use Nearest filtering and call play("move").
Good to know
Unity: Sprite Mode Multiple, Pixels Per Unit 32, Filter Mode Point, Compression None, then Slice → Grid By Cell Size.
Critterwick Bestiary: 12 pixel monsters, every animation done
from $9Critterwick ships ready SpriteFrames for all 12 critters (idle, move, attack, hurt, death; death does not loop) plus the Aseprite sources, for $9.
Secure checkout · 14-day fix-or-refund if it doesn't work as described (terms)Questions
What if frames have different durations?
Give each frame a relative duration in the SpriteFrames editor instead of one FPS.
Free: the Roblox Starter Kit
7 free Luau modules (damage, pets, shop formatting, admin audit log, tycoon guards and more) plus 3 free calculators, then 5 short emails with the scripting fixes we see go wrong most often.