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 mode: 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 of up to 5 seconds. The default Hydra model also returns a matching sound effect, such as footsteps, with the 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 October 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, open the Generation Mode menu, choose Transfer Motion, and add your character in the Sprite Image slot, either by uploading it or by choosing a sprite you generated in New Sprite mode. 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, and the choice of model sets the durations on offer: Hydra runs 3 to 5 seconds, Forge and Forge Pixel 1 to 5 seconds in half-second steps.

  5. 5Pick the model and generate the walk

    In Model, keep Hydra (3 credits per second, returns a sound effect) or choose Forge or Forge Pixel (2 credits per second, no sound). Forge is tuned for preset motions, so use Hydra when the motion comes from your own video. 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, and costs no credits. Edit Animation opens the sheet in Edit Spritesheet mode, where you describe the change, and Fix Loop re-runs the loop trim without a prompt (1 credit per second of animation); it is offered on every sheet and moves to the front of the actions when a bad loop is detected. Zoom Out does the same when the character leaves the frame. On a Hydra sheet, Improve Details re-renders the walk with finer detail, keeping the motion.

  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. A Hydra sheet, or one you gave sound with Generate Audio, also offers Download Audio. 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 sheetMax Frames options: 4, 9, 16, 25, 36, 49 or 64
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
Models for Transfer MotionHydra (default, 3 credits per second, returns a sound effect), Forge and Forge Pixel (2 credits per second); Hydra+ is not offered here
DurationHydra 3 to 5 seconds; Forge and Forge Pixel 1 to 5 seconds in 0.5 s steps; a longer reference motion is compressed to fit
DownloadsSprite sheet, GIF, individual frames, sheet plus TexturePacker-format JSON, and the sound effect on sheets that have one

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 a ceiling of 4, 9, 16, 25, 36, 49 or 64 frames with Max Frames. The sheet is a grid of equal cells, and the file name records the frames, rows and columns it actually has, since a short animation can come back with fewer frames than the ceiling.

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, Change Pose > View (or the sprite rotation tool) turns it to the other camera angles first. Once you have one finished walk, New Direction can also re-render that same walk facing another way, keeping its motion and timing; the 8-direction guide covers both routes.

Does the walk cycle come with footstep sounds?

Sheets made with Hydra come back with a generated sound effect, which you can download with Download Audio. Sheets from Forge or Forge Pixel have no sound; on those, Generate Audio adds one for 3 credits. Listen to it before you ship it, and describe the sound you want if the first one does not fit.

How long can the walk animation be?

Up to 5 seconds. Hydra generates 3 to 5 seconds and Forge or Forge Pixel 1 to 5 seconds, in half-second steps. Credits are charged per second of animation, so a shorter duration costs less.

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.

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