Godot and GameMaker both handle sprite sheets well, but they do it differently, and the menus aren’t always where you’d expect. If you’ve ever imported a sheet and ended up with one giant sprite instead of an animation, this guide is for you.
I’ll show you the quickest way to use a sprite sheet in Godot 4 and in GameMaker, the settings that keep pixel art crisp, and when it’s easier to cut the sheet into frames first with a free sprite splitter.
Before You Import: Know Your Grid
Both engines need to know how the sheet is divided. Find out three things first: the number of columns and rows (or the frame size in pixels), whether there’s spacing between frames, and how many frames belong to each animation. If the asset pack doesn’t say, the splitter’s Auto-detect cells will tell you, for example “Detected 8 × 4 cells of 64 × 64 px”.
Using a Sprite Sheet in Godot 4
Option A: AnimatedSprite2D (best for character animations)
- Add an AnimatedSprite2D node to your scene.
- In the Inspector, create a new SpriteFrames resource and click it to open the SpriteFrames panel at the bottom.
- Create an animation, for example “walk”.
- Click the Add frames from a Sprite Sheet button (the grid icon).
- Pick your sheet, then set the Horizontal and Vertical frame counts to match the grid.
- Click the frames you want for this animation, in order, then click Add Frames.
- Set the animation speed (FPS) and turn on Loop if needed.
Repeat for each animation (“idle”, “run”, “jump”) using the same sheet.
Option B: Sprite2D with hframes and vframes
For simple cases, add a Sprite2D, assign the sheet as its texture, and under Animation set Hframes and Vframes to the column and row counts. The Frame property then picks which cell to show, and you can animate it with an AnimationPlayer.
Godot pixel art setting
In Project Settings, go to Rendering → Textures and set the default Canvas Texture filter to Nearest, so pixel art stays sharp instead of blurry.
Using a Sprite Sheet in GameMaker
Option A: Convert to Frames
- Create a new Sprite and import your sheet as its image.
- Open the image editor and choose Image → Convert to Frames.
- Enter the frame width and height, the number of frames, frames per row, and any offset or separation (spacing).
- Click Convert. The sprite now has one frame per cell.
- Set the sprite’s playback speed in the Sprite Editor.
Option B: The “_strip” naming trick
If your sheet is a single row of frames, rename the file to end in _stripN, where N is the number of frames, for example player_run_strip8.png. GameMaker splits it into 8 frames automatically when you import it.
GameMaker pixel art setting
For crisp pixel art, make sure texture interpolation is turned off in your game options or graphics settings.
When to Split the Sheet First
- The sheet mixes several animations with different frame counts on the same row.
- The grid has irregular spacing that the engine import gets wrong.
- You only need a handful of sprites from a large pack.
- You want to edit or reorder frames before importing.
In those cases, split the sheet into individual PNGs, then add them to a SpriteFrames animation in Godot (drag the files into the panel) or import them as frames of a sprite in GameMaker. If your animation started life as a GIF, extract its frames with the GIF splitter instead.
Godot vs GameMaker at a Glance
| Task | Godot 4 | GameMaker |
|---|---|---|
| Import a grid sheet | SpriteFrames → Add frames from a Sprite Sheet | Image → Convert to Frames |
| Single-row strip | Same as above | Name the file _stripN |
| Simple frame switching | Sprite2D hframes / vframes | image_index |
| Pixel art filtering | Default texture filter: Nearest | Disable texture interpolation |
Coming from Unity? My guide on slicing a sprite sheet in Unity covers the equivalent steps there.
Setting the Right Animation Speed
Both engines measure animation speed in frames per second, but they apply it differently. In Godot, each animation in SpriteFrames has its own FPS value, so “idle” can run at 6 FPS and “run” at 12 FPS from the same sheet. In GameMaker, the sprite has a playback speed set in the Sprite Editor, either in frames per second or frames per game frame, and you can change it at runtime with image_speed.
A good starting point for pixel art is 8 to 12 frames per second for walking and running, and 4 to 6 for idle breathing loops. If your frames came from a GIF, convert its frame delay to FPS by dividing 100 by the delay value.
Common Problems
- Only the first frame shows: the animation isn’t playing. In Godot, enable Autoplay or call play(); in GameMaker, check image_speed isn’t 0.
- Frames jitter: the character isn’t centred the same way in every cell. Set a consistent origin (GameMaker) or offset (Godot).
- Neighbouring frames bleed in: the sheet has spacing you didn’t enter. Add the separation value.
Frequently Asked Questions
How do I import a sprite sheet in Godot 4?
Use an AnimatedSprite2D, open its SpriteFrames, click Add frames from a Sprite Sheet, set the horizontal and vertical frame counts and add the frames you want.
How do I import a sprite sheet in GameMaker?
Import the sheet as a sprite, then use Image → Convert to Frames and enter the frame size, count and spacing.
What is the _strip trick in GameMaker?
Naming a single-row image like name_strip8.png tells GameMaker to split it into 8 frames on import.
Why is my pixel art blurry in Godot?
Set the default canvas texture filter to Nearest in Project Settings.
Should I split my sprite sheet before importing?
Only if the grid is irregular, you need just a few sprites, or you want to edit frames first.
Animate Your Sprites
Godot and GameMaker both turn a sprite sheet into an animation in a few clicks once you know the grid. For messy sheets or a quick selection of sprites, cut the sheet first with the free sprite sheet splitter and import clean PNG frames.