MakePixel writes the files Godot 4 expects. A sprite lands in Godot already set up: Nearest filtering, its origin in place, and one animation for each tag.
Export a sprite or an animation
- Select the image or animation on the canvas and press ⌘E (Ctrl+E on Windows and Linux).
- Under Export to, pick Godot. Check the file name, then select Export.
- You get a zip with one folder in it:
| File | What it is |
|---|---|
name.png |
The sprite sheet: every frame in one image |
name.tres |
A SpriteFrames resource: one animation for each tag, every frame with its own duration |
name.tscn |
A scene with an AnimatedSprite2D that uses those SpriteFrames |
HOW-TO-IMPORT.txt |
These steps, in short |
provenance.json |
Where each image came from, for store disclosures |
An animation without tags comes out as one animation called default. Tags that play back and forth are written out frame by frame, since Godot plays animations forwards.
Open it in Godot
- Unzip the download and drag the folder into Godot’s FileSystem dock.
- Open
name.tscn. The sprite is ready: Nearest filtering is on, its origin is in place and the first animation plays automatically.
To use the animations in a scene of your own, add an AnimatedSprite2D and set its Sprite Frames to name.tres.
The files point at each other by relative paths, so the folder works wherever you put it in your project.
Keep it crisp
For pixel-perfect scaling, open Project Settings and, under Display → Window, set Stretch Mode to viewport and Scale Mode to integer. If a sprite jitters while it moves, turn on Snap 2D Transforms to Pixel under Rendering → 2D.
Several animations in one file
Select a character’s animations together, such as walk, idle and jump, and export them at once. With Combine into one file on, they go into one SpriteFrames resource, one animation each.
Also export the mirrored facing adds a flipped copy of every animation, with _right added to its name.
Tilesets and maps
A tileset exports as a TileSet resource. An Autotile 47 tileset has its terrain already set up, and in a grid tileset every terrain set you marked comes along. Drag the folder into your project, then add name.tres to a TileMapLayer as its tile set.
A map exports as a scene: drag the folder into your project and open name.tscn.