Import a sprite sheet into GameMaker
GameMaker turns a sheet into the frames of a sprite through the Sprite Editor's strip import.
What you need
- A sprite sheet PNG. Every SpriteForge download is a ZIP with the PNG, a JSON atlas and an import guide.
- The numbers from that import guide: frame size, columns and rows, frame count and frame rate.
The steps below use a typical sheet: 25 frames of 256 × 256 pixels in 6 columns and 5 rows. Frames run left to right, then top to bottom. Use the numbers from your own guide.
Steps
- Create a new Sprite and open the Sprite Editor (Edit Image).
- Choose Image → Import Strip Image and pick the PNG.
- In Convert to Frames, set the frame width and height to 256, the number of frames to 25 and frames per row to 6.
- Check that the highlighted cells cover the animation in order, then convert.
- Back in the sprite, set the playback speed to the frame rate in your guide (for example 12 frames per second).
Good to know
- Set the sprite origin to Bottom Centre so the feet stay on the ground when you swap animations.
- This is guidance for a regular grid sheet. Test it in your own project and engine version.
Official documentation: GameMaker Sprite Editor.
No sprite sheet yet?
Upload one character image, pick a motion, and AI animates it. You get a sheet like the one above in about a minute, with three free animations every month.
Other engines
New to sprite sheets? Read the sprite sheet guide.