tools-gamedev

Import a sprite sheet into Godot 4 (AnimatedSprite2D)

Short answer: learn your sheet's grid (columns × rows), import the PNG with Nearest filtering so pixels stay crisp, then add an AnimatedSprite2D with a SpriteFrames animation using those frame counts. Takes about 5 minutes. The helper below computes your frame setup for you.

Guide date: 2026-09-27. Godot version covered: 4.x (stable). Engine docs: AnimatedSprite2D. Sources for frame-rate starting points: our own Sprite Sheet Factory listing data (walk 6–8 fps, idle 4 fps, attack/FX once at 10–12 fps).

The 3-step recipe

  1. Learn your sheet's grid. A 4-frame walk cycle is usually a 2×2 grid; a 2-frame creature strip is 1×2. If you don't know the grid, drop the sheet into our free Sprite Sheet Slicer & Packer — it runs 100% in your browser, no upload — and try columns × rows until each frame looks right.
  2. Import with Nearest filtering. In Godot 4: drag the PNG into the FileSystem dock → select it → open the Import tab → set Filter: Nearest → click Reimport. This stops Godot smoothing your pixels (the #1 cause of "blurry sprites").
  3. Build the SpriteFrames animation. Add an AnimatedSprite2D node → in its Sprite Frames property create a new SpriteFrames resource → add frames from your sheet in row order → set the animation speed (starting points below) → set Loop on for walk/idle, off for one-shot attacks and effects.
Starting fps per animation type (tune to feel after)
AnimationLoop?Start fps
Walk loopYes6–8
Idle loopYes4
Attack / effect (one-shot)No10–12

Free helper: frame setup calculator

Type your sheet's grid. The helper shows the AnimatedSprite2D settings and a copy-paste GDScript snippet. Everything runs locally — nothing leaves your device.