I got tired of drawing 24 frames for every run cycle, so I built an AI tool to generate 2D sprite animations from a single PNG
Hi everyone, I'm a solo indie developer working on a 2D side-scroller. Like many of you who have ever tried to animate a character from scratch, I hit the same wall over and over: I design a character once, but then I h
Hi everyone,
I'm a solo indie developer working on a 2D side-scroller. Like many of you who have ever tried to animate a character from scratch, I hit the same wall over and over: I design a character once, but then I have to redraw it 8β24 times for each action β running, attacking, idling, jumpingβ¦ It eats weeks, and honestly, it kills the momentum when you just want to prototype a mechanic.
After spending yet another weekend pixel-pushing a simple walk cycle, I thought: there has to be a better way. I know AI can generate images, but most tools either produce inconsistent frames (character morphs between poses) or require complex setups. So I decided to build something myself.
What I built: aifps.top
It's a web tool that takes a single character PNG and a motion description (like "running" or "casting a spell"), then generates a full sequence of 2D frames β ready to drop into Unity, Godot, or any engine.
How it works (from a developer's perspective)
- Upload your character art (clean, centred PNG works best).
- Pick a preset action (run, attack, idle, cast) or write a custom prompt describing the motion.
- The AI generates a frame sequence. You can adjust chroma-key settings (tolerance, smoothness, edge cleanup) to get perfect transparency.
- Export as individual transparent PNG frames or a looping GIF β drag straight into your game project.
Two generation modes: Normal for quick iteration, and High-Energy when you need more precise motion details.
The technical trade-off I made
The hardest part is temporal consistency β keeping the character's appearance stable across frames while the pose changes. Pure text-to-video approaches tend to morph the character, which is useless for game sprites. So I went with an image-driven pipeline: you provide the reference image, and the model drives the pose from your prompt. This way the output matches your existing art style.
The chroma-key step is separated as a post-process, giving you full control over the alpha channel β essential for compositing in any game engine.
Honest limitations (because we're all developers here)
- No free trial available. Running AI inference costs real money, especially the high-energy mode. As a solo developer bootstrapping this project, I can't afford to give away unlimited free generations. I've priced it as low as I can while keeping the servers running β each generation costs me compute time.
- It's a hosted web tool, not open-source. If there's enough interest, I'll happily open-source the export and chroma-key utilities.
- Quality depends on your input. Clean, centred character art works great; highly detailed backgrounds or extreme aspect ratios can confuse the model.
What I'd love from you
If you're also an indie dev or pixel artist, check out the demo video on the site to see what it can do. I'd really appreciate honest feedback on the output quality β tell me where the motion looks off, which action presets you wish existed, or how it fits into your workflow. I'll be reading every comment.
π https://aifps.top
Hope this saves you some of those weeks I lost. Cheers!
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.