Ludo.ai

How to make a walk cycle for a 2D character with AI

To make a walk cycle for a 2D character with AI, start from one image of the character on a transparent background, apply a walk motion to it, and export the frames as a sprite sheet. In Ludo.ai's Sprite Generator you do this in the Transfer Motion tab: pick one of the 30 presets in Movement > Walking, choose one of 5 camera perspectives and one of 8 compass directions, and generate a looping sheet. Presets are built for humanoid characters; for a creature or other non-humanoid character, use a reference video of the walk instead.

Last updated September 2026

What you need

  • One image of the character: a single subject on a transparent background, not a scene or an existing sprite sheet
  • A humanoid character for the walk presets, or a short reference video of the walk for any other body shape
  1. 1Add the character

    Open the Sprite Generator, go to the Transfer Motion tab and add your character in the Sprite Image slot, either by uploading it or by choosing a sprite you generated in the New Sprite tab. Use one subject on a transparent background.

  2. 2Open the Walking presets

    In the Reference Animation slot, click Presets and open Movement > Walking. The category holds 30 walks, from standard, relaxed and stealth walks to limps, strafes, a backpedal and a march, each with a video preview. Presets are for humanoid characters; for anything else, add a reference video of the walk in this slot instead.

  3. 3Choose the perspective and direction

    Pick a camera perspective (Tactical, Side, Isometric, Hero or Top-Down) and a direction on the compass (N, NE, E, SE, S, SW, W or NW), then click Use This Animation. Each generation renders one direction.

  4. 4Set frames, size and loop

    Under Sprite Sheet Options, set Max Frames (4, 9, 16, 25, 36, 49 or 64) and Sprite Size (32 to 384 px, Max, True Size or Upscale 1.5x), and keep Loop Animation on so the start or end is trimmed into a loop. A reference motion longer than Max duration is compressed to fit.

  5. 5Generate the walk

    Click Transfer Motion to run the generation, then review the animated sheet that comes back in your results before exporting.

  6. 6Fix what is off

    From the result's actions, Adjust Sprite Sheet re-cuts the frames, size and loop from the same animation without generating it again. Edit Animation opens the sheet in the Edit Spritesheet tab, where you describe the change, and Fix Loop re-runs the loop trim without a prompt; it is offered on every sheet and moves to the front of the actions when a bad loop is detected.

  7. 7Export the sheet, frames or GIF

    Download the result with Download Sprite Sheet, Download GIF, Download All Frames or Download Sheet + JSON, which adds a TexturePacker-format JSON with the frame coordinates. For pixel art, export through Export > Animation Pack or Animation Sequence and choose Pixel Art, which scales with nearest-neighbor for crisp pixel edges.

Specs

Walk presets30 in Movement > Walking; the whole library holds 641 presets in 34 categories
Camera perspectives5: Tactical, Side, Isometric, Hero, Top-Down
Directions8 compass directions (N, NE, E, SE, S, SW, W, NW), one per generation
Frames per sheet4, 9, 16, 25, 36, 49 or 64 (square grids)
Frame size32, 64, 96, 128, 192, 256 or 384 px, or Max, True Size, Upscale 1.5x
LoopOn by default, trims the start or end of the animation into a loop
Duration1 to 4 seconds; a longer reference motion is compressed to fit
DownloadsSprite sheet, GIF, individual frames, sheet plus TexturePacker-format JSON

Tips

  • Start from a neutral standing pose that is close to the walk you want. The Sprite Image slot has a pose editor if the character is mid-action.
  • Walk presets are built for humanoid characters. For a quadruped, a creature or a vehicle, put a video of the motion in the Reference Animation slot instead; clips up to 4 seconds work best.
  • An 8-direction walk is 8 generations of the same preset on the same sprite. Keep the perspective, Max Frames and Sprite Size identical across all 8 so the sheets line up.
  • Max Frames is a ceiling, not a guarantee: a short animation, or bad frames removed automatically, can leave fewer frames than you asked for.
  • Each run is a new generation, so if a walk comes out wrong, try it again or pick a neighboring preset before editing frames by hand.

FAQ

Can I make a walk cycle from a single image?

Yes. One image of the character on a transparent background is the only input; the walk preset supplies the motion and the frames are generated on your artwork.

Can I make a pixel art walk cycle?

Yes. Pick Forge Pixel as the model, generate the walk as usual, then export it through Export > Animation Pack or Animation Sequence with Pixel Art selected, which uses nearest-neighbor scaling so pixel edges stay crisp instead of blurring. The pixel art sprites guide has the full workflow.

How many frames does the walk cycle have?

You choose 4, 9, 16, 25, 36, 49 or 64 frames, laid out as a square grid.

How do I make an 8-direction walk cycle?

Generate the same preset once per direction, 8 generations in total, with the same perspective and sheet settings. If you only have a front view of the character, the sprite rotation tool turns it in 45 degree steps first.

What if my character is not humanoid?

The presets are made for humanoid characters. For other body shapes, add a video of the walk in the Reference Animation slot and Transfer Motion copies that movement onto your sprite.

Which game engines can import the walk cycle?

Any engine that reads a sprite sheet grid or individual frames. Download Sheet + JSON adds a TexturePacker-format JSON for engines such as Phaser, PixiJS and Cocos2d; in Godot, Unity and GameMaker you slice the sheet with the engine's own sprite tools.

Generating Game AssetsAPI & MCPAudio GeneratorSprite GeneratorVideo Generator3D Asset GeneratorFAQUser Account and SubscriptionProjectImage GeneratorGame IdeatorAsk Ludo