Make a Godot 4 animation from a sprite sheet
Godot 4 plays frame-by-frame animation with an AnimatedSprite2D node. You can feed it one image per frame, but a single sprite sheet is tidier: one file to import, one texture in memory, and Godot cuts it up for you if you give it the right numbers.
1. Make the sheet
- Open the Sprite Sheet Maker (the button below fills in grid settings that suit Godot).
- Drop your frames, or the whole folder. Frames are ordered by their numbers, so
walk_2comes beforewalk_10. Drag to reorder if needed and watch the preview play. - Keep Arrange as: Grid. Grid sheets are the ones Godot's importer can slice by numbers alone.
- Download the sheet. Under the preview, Use it in your engine → Godot 4 shows the exact numbers for the next part.
Open Sprite Sheet Maker with these settings
2. Import it into Godot 4
- Drag the PNG into Godot's FileSystem dock.
- For pixel art, stop Godot from blurring it: Project → Project Settings → Rendering → Textures → Canvas Textures → Default Texture Filter: Nearest.
- Add an AnimatedSprite2D node. In the Inspector, set Sprite Frames to New SpriteFrames, then click it to open the SpriteFrames panel at the bottom.
- Click Add frames from sprite sheet (the grid icon) and pick your PNG.
- Type in the numbers the Sprite Sheet Maker showed: Horizontal and Vertical (columns and rows), Size, Separation and Offset. With the settings from the button above, separation and offset are both 0.
- Click Select/Clear All Frames, then Add Frames.
- Set the speed (frames per second) and turn on Loop if it should repeat. Press play in the panel to check it, and turn on Autoplay on Load if it should start by itself.
Skip the importer with Twipcel Pro
Twipcel Pro adds a Godot 4 (.tres) save button. Put the file next to the sheet in your project, drop it into the AnimatedSprite2D's Sprite Frames slot, and the animation is already set up at the speed you previewed. Pro also makes sheets for a whole folder of animations at once. About Pro.
Common problems
- Frames jitter up and down: frames of different heights. In the Maker, keep Small frames: Sit on the bottom so feet stay on the same line.
- Thin lines from the next frame show at the edges: set Space between to 2 and Edge extrude to 1, then use the new Separation and Offset numbers the Maker shows.
- Art looks blurry: the texture filter is still Linear. See step 2 above.