Skip to content

gamemaker spritesheet generator · 2D games

GameMaker Sprite Sheet GeneratorReady for GameMaker

GameMaker imports animations as sprite strips: use Import Strip Image, enter the frame count and frame size, and set the playback speed. Spritesheets.ai exports single-row strips and grids sized for GameMaker, so a generated walk or attack animation imports in one step.

Updated

One character image in, a looping attack animation out.
A full-body illustration becomes a game-ready sword animation.
Different animations and styles for the same character.
Change a character's style and keep the same pose.

01Spritesheet Generation for GameMaker Studio

Generate game-ready spritesheets for GameMaker Studio 2 with AI-powered character animation. GameMaker remains one of the most popular engines for 2D indie games — powering hits from platformers to action RPGs — and our spritesheet generator outputs horizontal strip layouts that match GameMaker's default sprite import mode. Sub-images align perfectly, collision masks stay accurate, and origin points work out of the box.

Upload any character image — pixel art, hand-drawn, or AI-generated from Midjourney or DALL-E — and the AI generates complete animation sequences with consistent frame dimensions. The output includes PNG spritesheets with transparent backgrounds and atlas metadata. Import into GameMaker's sprite editor, set frame count and speed, and start animating in minutes. No frame-by-frame drawing, no external animation software, no post-processing required.

Compatible with both GML (GameMaker Language) scripting and Visual programming. Whether you're building an endless runner, a metroidvania, a top-down RPG, or a game jam prototype, the generated spritesheets integrate directly into GameMaker's object and state system with proper image_speed and image_index control.

  • Horizontal strip layout matches GameMaker's default sprite import mode
  • Consistent sub-image dimensions for accurate collision masks
  • Works with GML scripting and Visual programming
  • Pixel art, hand-drawn, and AI-generated character styles supported
  • Export as spritesheet or atlas with frame metadata

02Features

  • 01Sub-Image Layout

    Grid layout matches GameMaker's strip/grid import format

  • 02Origin Points

    Consistent character positioning for clean animation playback

  • 03Collision Masks

    Clean silhouettes for accurate collision detection

  • 04GML Ready

    Frame data works with image_index and image_speed in GML

  • 05Optimized Size

    Right-sized sprites for GameMaker's texture page system

  • 06Spritesheet & Atlas Export

    Export as spritesheet or texture atlas for GameMaker's texture pages

03How it works

  1. Upload Character

    Upload your GameMaker game character.

  2. Generate Animations

    Select animation types, AI creates GameMaker-optimized spritesheets.

  3. Import to GameMaker

    Follow our guide for sprite import, origin setup, and GML animation code.

04Examples

Real characters from Spritesheets.ai, from the original image to the finished sheet. Click any image to open it full size.

05Engine setup

GameMaker Studio 2
  1. In GameMaker, right-click Sprites folder > Create Sprite
  2. Click "Import" and select the spritesheet PNG
  3. Click "Edit Image" > Image > Convert to Frames
  4. Set frame width and height, columns count
  5. Set the origin point (center-center for most characters)
  6. Configure collision mask: automatic or manual bounding box
  7. 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;
}

06Frequently 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.

Generate GameMaker Sprites

AI-powered spritesheet generation for GameMaker Studio.

Generate Now