GameMaker Spritesheet Generator - Ready for GameMaker Studio
Spritesheet Generation for GameMaker Studio
Create spritesheets and texture atlases for GameMaker Studio 2. Our AI generates character animations with proper sub-image layouts that import directly into GameMaker's sprite editor. Export as spritesheet or atlas. Set up origin points, collision masks, and animation speeds in minutes. Compatible with GML and Visual programming.
Features
Sub-Image Layout
Grid layout matches GameMaker's strip/grid import format
Origin Points
Consistent character positioning for clean animation playback
Collision Masks
Clean silhouettes for accurate collision detection
GML Ready
Frame data works with image_index and image_speed in GML
Optimized Size
Right-sized sprites for GameMaker's texture page system
Spritesheet & Atlas Export
Export as spritesheet or texture atlas for GameMaker's texture pages
How It Works
Upload Character
Upload your GameMaker game character.
Generate Animations
Select animation types, AI creates GameMaker-optimized spritesheets.
Import to GameMaker
Follow our guide for sprite import, origin setup, and GML animation code.
Examples





Engine Integration
GameMaker Studio 2
- In GameMaker, right-click Sprites folder > Create Sprite
- Click "Import" and select the spritesheet PNG
- Click "Edit Image" > Image > Convert to Frames
- Set frame width and height, columns count
- Set the origin point (center-center for most characters)
- Configure collision mask: automatic or manual bounding box
- Set playback speed (frames per second)
// In Create Event
image_speed = 0.5;
state = "idle";
// In Step Event
switch (state) {
case "idle":
sprite_index = spr_player_idle;
break;
case "walk":
sprite_index = spr_player_walk;
image_speed = 0.8;
break;
case "attack":
sprite_index = spr_player_attack;
if (image_index >= image_number - 1) {
state = "idle";
}
break;
}Frequently Asked Questions
Can I export atlases as well as spritesheets?
Yes. You can export animations as spritesheets or as texture atlases for GameMaker's texture page system.
How do I import a spritesheet into GameMaker Studio 2?
Create new sprite > Import image > Edit Image > Image > Convert to Frames > Set frame dimensions.
What is image_speed in GameMaker?
image_speed controls animation playback rate. 1 = full speed, 0.5 = half speed. Set per-object in code or the object editor.
How do I set the origin point for sprites?
In the sprite editor, click the crosshair icon and select center-center for characters. This ensures rotation and positioning work correctly.
What are sub-images in GameMaker?
Sub-images are individual animation frames within a sprite resource. GameMaker cycles through them based on image_speed.
How do I handle sprite collision masks?
In the sprite editor, set collision mask to "automatic" for the character silhouette, or manually adjust the bounding box for gameplay feel.
Can I use separate sprites per animation in GameMaker?
Yes, the recommended approach is one sprite resource per animation (spr_walk, spr_idle, spr_attack) and switch using sprite_index.
How do I prevent animation from looping in GameMaker?
Check if image_index >= image_number - 1 in the Step event, then switch to idle or set image_speed = 0.
What sprite resolution works best for GameMaker?
GameMaker handles any resolution well. Choose a size that fits your game's art style and performance needs.
How do I flip sprites for left/right in GameMaker?
Set image_xscale = -1 to flip horizontally. Use image_xscale = sign(hsp) to auto-flip based on horizontal speed.
Can I use these spritesheets in GameMaker's HTML5 export?
Yes, PNG spritesheets work across all GameMaker export targets including HTML5, Windows, Mac, mobile, and consoles.