GodotMetadata export

Sprite Sheet Generator for Godot 4

Export a ready-made SpriteFrames resource. Assign it to an AnimatedSprite2D and every frame is already in place, in order, at the right region.

A sprite sheet exported as a SpriteFrames .tres resource, next to the settings it needs in Godot 4
What you export

Format menu

Godot

SpriteFrames resource (.tres)

The Godot export writes a real SpriteFrames resource: one AtlasTexture sub-resource per frame with its exact region rect, wrapped in a looping animation at 12 FPS. Put the .tres next to your PNG in the project (the resource references the image by name), assign it to an AnimatedSprite2D, and skip the whole Add frames from Sprite Sheet dialog.

Step by step

Getting the sheet into Godot

  1. 1

    Export both files

    Export the PNG, then use Format > Godot to export the .tres. Keep the same file name stem so the resource resolves the texture.

  2. 2

    Drop them in the project

    Copy both into your Godot project folder. Godot imports them on focus. The .tres path to the texture is res:// relative, so keep them side by side.

  3. 3

    Assign the resource

    Add an AnimatedSprite2D node and drag the .tres into its Sprite Frames property. The frames are already sliced and ordered.

  4. 4

    Turn off filtering

    Project Settings > Rendering > Textures > Canvas Textures > Default Texture Filter > Nearest. Set once, applies project-wide.

  5. 5

    Play it

    Call play() from code, or tick Autoplay on the default animation in the inspector.

GDScript
@onready var sprite := $AnimatedSprite2D

func _ready() -> void:
    sprite.play("default")

func run() -> void:
    sprite.play("walk")
Cheat sheet
SettingGodot value
NodeAnimatedSprite2D
ResourceSpriteFrames (.tres)
Static regionsAtlasTexture + Region rect
FilteringDefault Texture Filter > Nearest
Default speed12 FPS, looping
Built for the workflow

Real .tres output

Not a JSON blob you have to convert. A SpriteFrames resource Godot 4 opens directly, with one AtlasTexture per frame.

Exact region rects

Each frame carries its own Rect2, so nothing depends on you retyping the grid into the SpriteFrames dialog.

Loop preset

The exported animation is named default, loops, and runs at 12 FPS. Change either in the inspector.

AtlasTexture path too

Need one static frame instead of an animation? Use the PNG as an AtlasTexture atlas and set the region by hand.

Godot FAQ

Want the long version? Read the engine import guide, or see every export format.

Other engines

Export for Godot

Pack your frames in the browser. What you walk away with: SpriteFrames resource (.tres), ready for Godot.