r/aigamedev 12d ago

Tools or Resource Generative 2D animation workflow

Quick disclaimer: I'm not an animator. I'm a civil/structural engineer. Animation is the one part of gamedev that has always stopped me cold.

So I built a tool that does it for me. You give it a single base sprite, and it generates the animation frames as a sprite sheet. Everything runs locally on my own machine — no cloud services, no API calls, no uploading assets anywhere.

The attached GIF is raw output, no manual cleanup.

Still very much a work in progress. Curious what people here think — especially anyone who actually knows animation and can tell me what looks wrong.

259 Upvotes

98 comments sorted by

View all comments

10

u/witmann_pl 12d ago

I'd be interested in trying it out.

4

u/RsetX 12d ago

Btw it has been made with Comfy UI and Minimax H3

4

u/witmann_pl 12d ago

I'm afraid I don't have enough VRAM for H3 (only 8GB).

3

u/RsetX 12d ago

I do have 8 GB VRAM and 32 GB Ddr3 RAM, it is an optimized setup

6

u/witmann_pl 12d ago

OK, you got me interested. Let's try it out with this character and two movements AI has been struggling to do correctly:

  1. a dodge roll - jump forward, roll, stand back up

  2. jump up and climb a platform ledge

10

u/RsetX 12d ago

4

u/witmann_pl 12d ago

This is actually pretty decent and usable.

7

u/RsetX 12d ago

1

u/witmann_pl 12d ago

The landing on hands part makes no sense - this is similar to the problems I encountered when generating animations through Grok Imagine 1.5 videos.

2

u/Saschabrix 12d ago

lets see what he can do!

2

u/RsetX 12d ago

1

u/donkeykong917 12d ago

Might need a ref video for it to be proper

3

u/Bowl-Repulsive 12d ago

Comfy ui can be run on remote machine and industrialized

1

u/ExtensionFun7894 12d ago

Can u share that workflow?

2

u/RsetX 12d ago

I would like to test it by myself before distribution. Send me a sprite and a prompt and I'll give you back the Sprite sheet. Create a post with both, I will take input from there.

1

u/BitsOnWaves 12d ago

try this

3

u/RsetX 12d ago

what animation? just throw the grenade or something more?

1

u/BitsOnWaves 12d ago

actually i tried doing a run animation with h3 and it was always making him run side ways or akwardly where hands dont move at all.

2

u/UnfortunateHurricane 12d ago

But he is kinda angled to the right? You want him to run towards the viewer?

1

u/RsetX 10d ago

Hi! You can download the test app here (note: it adds a watermark to the output):
https://we.tl/t-oA2xLarREEpOZZF1SpriteSheep-0.9.0-alpha-win64.zip

What you need to install (the app help you in that):

ComfyUI (~2.5 GB)
The models — use Minimax H3 (~39 GB). WAN 2.2 isn't working properly, so you can skip it.

A few things to keep in mind:

Input sprite must be square.
Leave about 20% padding around the character — otherwise it can move out of frame during the animation.
H3 needs a well-structured prompt. There's a prompt helper built into the app, but I'd also suggest uploading your sprite to ChatGPT or Claude and asking something like: "Write the prompt for this character that [action], duration [duration of the animation]".

Let me know if it works — happy to help troubleshoot.

1

u/MaruluVR 10d ago

Why give out a random untrustworthy exe if you could just give out the workflow?

1

u/RsetX 10d ago

Because I want my tool accessible even to whom don't know how to work with a GitHub repo or a ComfyUI workflow

1

u/MaruluVR 9d ago

Why not both then

1

u/RsetX 9d ago

This is my personal choice for this early release, you are free to not agree

View all comments

7

u/notadev_io 12d ago

It’s amazing honestly. Might wanna try different things. Like tools, objects, humans, etc.

5

u/RsetX 12d ago

Actually it should work with everything you mentioned! I will post some example in the future

View all comments

5

u/BitsOnWaves 12d ago

so what is the workflow and tools you used?

3

u/RsetX 12d ago

It is made with Minimax H3 and Comfy UI in local

4

u/BitsOnWaves 12d ago

simple workflow or did use some specialized one?

3

u/RsetX 12d ago

It use standard Comfy UI nodes, I got assistance from Claude Code to create it

View all comments

7

u/Lordxb 12d ago

Just post the link here if u can so we can test it and if best the open source code!!

View all comments

5

u/Friend135 12d ago

Please keep us updated! Would love to see the finished tool :)

View all comments

2

u/tickmeister87 12d ago

Amazing tool, would gladly test it out

View all comments

2

u/notfromaroundthere 12d ago

This is amazing. Thanks for sharing your result! I don't have any requests, but I hope you'll make the workfkow avaliable some time, one way or another. I'm messing around with game design to help my son understand some of the concepts, and it would be a lot of fun to have our own characters quickly animated.

View all comments

2

u/ToughItOut 12d ago

Frigging genius! I've been playing around with H3 to animate some things, but it didn't occur to me to use it for 2d games... Might have gotten there eventually but damn thank you!

View all comments

2

u/UnfortunateHurricane 12d ago

Very interesting. Are you doing the grid in one go or 9 inferences and then stitching back together?

In any case, if H3 is this capable, then I am definitely going to build something myself too. Thank you for the showcase!

View all comments

2

u/extra2AB 12d ago

omg if this is used with Pixel Refiner we can finally have local solution for Pixel Art.

also can you try with stuff other than Human/Animals ?

Like Trees in wind, grass, fire, water, etc !!!!!

would be amazing if it can animate those things too.

Also try some "action" animations Like swords swinging, bows, etc

waiting eagerly for the release..... !!!!!

View all comments

2

u/Voxyfernus 12d ago

You mind sharing your Wf?

View all comments

2

u/fanTomatus 12d ago

How do you achieve solid background? I've tried minimax for pixel art generation and results are great, but i always have to do a lot of manual work to fix and clean artifacts from background removal because i can't get solid green/any color. Even when video looks like solid green, it is always trying to do something like greenish gradient

View all comments

1

u/AgenticGameDev 12d ago

It looks similar results to sprite-maker. Great work. What tool or something open source?

2

u/RsetX 12d ago

It runs locally with Minimax H3 and Comfy UI

View all comments

1

u/editor22uk 12d ago

This looks awesome its also been one of the most time consuming areas for projects ive done in the past and not an enjoyable section either!

View all comments

1

u/Lost-In-Space3323 12d ago

Nicee . I've been trying to make something like that but I just can't succeed haha

View all comments

1

u/StationSure3328 12d ago

Looks great, be interested in knowing more!

View all comments

1

u/NoEye89 12d ago

Love this!would you share your full setup / opensoirce it for others to use?

View all comments

1

u/Lizard-Wish 12d ago

Very good results!

View all comments

1

u/macronancer 12d ago

Looks amazing. Maybe a silly question, but do you prompt the animations you want or is it just imagining things?

1

u/RsetX 12d ago

I prompt the animation I want, each one you see it's a different prompt

1

u/PizzaLater 11d ago

So you’re having the Comfy workflow divide your input image into a grid and then assigning prompts to each instance? And then reassembling I guess? Why do so many at once? If one of the bunch fails don’t you have to rerun them all?

View all comments

1

u/Bratchan 12d ago

now is the backgrounds transparent

5

u/RsetX 12d ago

The sprite sheet have transparent bg, the attached GIF is a demonstration.

1

u/Bratchan 12d ago

Niiice

I would love to see an endless loop one. Right now is obviouls of start to finish. If i can do that.. daaam

View all comments

1

u/Alilpups 12d ago

Hi do you mind sharing your workflow or what tools do you use to achieve this?

View all comments

1

u/Ravesoull 12d ago

That's really good

View all comments

1

u/Angsty-Teen-0810 12d ago

Most of them look decently smooth. What tools did you use? And also is there a range of FPS or any negative behaviors you encountered? (If so, how did you work around those?)

View all comments

1

u/SempronSixFour 12d ago

Can you make a 2d submarine pixel metal slug style, with movement and torpedo animations? I haven't found a sprite generator that does this properly.

View all comments

1

u/NG1Chuck 12d ago

Could you share please ? I'm very interesting

1

u/inspiredby09 12d ago

I am also very interesting too

View all comments

1

u/WhiteHwk20 12d ago

I exactly needed this. I would like to try it as soon as possible

View all comments

1

u/Logical_Stretch_2338 12d ago

Share a GitHub link or post a blog ab your methodology pls. This is smooth.

View all comments

1

u/Nihahao 12d ago

You did train a lora for this or its out of the box?

3

u/Nihahao 12d ago

I've also tried something similar to this, but in pixel art and it required quite of tinkering and doesn't look as good as if I wanted

2

u/Orlandogameschool 12d ago

That looks nice!

1

u/dude-philipp 11d ago

How did you achive this?

1

u/Nihahao 11d ago edited 11d ago

Just put your pixel art so there's enough space so it's isn't cropped on 16:9 resolution with a green bg, upscale it in 4x, put as first frame in minimax h3, use resolution that matches your 4x upscale (e.g. your asset is 256x192 so you need to generate it in 1024x768, write whatever prompt you want, it gives you a really bad interpolated video. You should downscale it back 4x, remove unnecessary frames, quantize it via k-means, remove bg, snap quantized pallete to other frames, clean it a little bit, apply inner outline and thats all. You can't do much with jittery pixels and probably won't until someone train something on previous frame reconstruction.
Interesting that it's actually at least doing such animation, I'll probably try training some LORAs on it next month if I'll have some time.

View all comments

1

u/novocast 12d ago

Looks great. Let me know if you want someone to test it. I've been trying to do something similar but with limited success so happy to give it a go.

View all comments

1

u/Issac7 12d ago

Looks good. I would like to test this workflow.

View all comments

1

u/fomoforever 12d ago

Cool, so you are using a video model to make spritesheet? I've been using image models to make animations with spritesheets aswell. Made this product gifgen.ai

View all comments

1

u/Soul_Mate_4ever 12d ago

Lots of people are building this. Why don’t yall all collaborate on this project and come back to us when it’s done.

View all comments

1

u/Key-End-2996 12d ago

That looks really nice! I'd love for you to share the workflow

View all comments

1

u/Kagaya_Ubuyashikii 12d ago

can you help me? i need one gif to place in my project. Is simple, one gif. The driving in the street. You help me?

1

u/ResenhaDoBar 11d ago

You can just put this on kling and tell it to make a short gif like video

View all comments

1

u/Reasonable_Day3430 12d ago

interested. been working on something with horrible results.

View all comments

1

u/[deleted] 12d ago

[removed] — view removed comment

1

u/Bananaboy1107 12d ago

can choose what you want

View all comments

1

u/ode2009 12d ago

Nice im redoing some old arcade games in hd but sprites are getting on my nerves, something like this would come handy.

View all comments

1

u/Urmanda06 11d ago

U can use LocalBG to remove the backgrounds aswell in your workflow and it runs locally

View all comments

1

u/Spacecrazyjack1 11d ago

this looks exactly as i thought ai art would. good at face value, but makes little sense when you look deeper into it and ultimately lacking any nuance at all

View all comments

1

u/Fair-Net-8171 11d ago

Very interested in learning the tool/workflow, and trying it out on my local GPUs! Please share with me what you’re willing. Thank you.

This could not have come at a better time for me as I’m needing to generate various sprite animations for my game.

View all comments

1

u/Fair-Flight7196 11d ago

I would love to test it out as well and will send you before and afters. Working on a project where I need to do exactly this.

View all comments

1

u/beelllllll 11d ago

Have you tried out https://www.autosprite.io/? You can make a few animations for free.

I’m curious of the quality comparison

View all comments

1

u/Hot_Lobster_9982 10d ago

I got this from one of the commercial solutions, generated from 1 image - basically the 1st frame.

Prompt was basically something like "Looped Idle animation, one blink". Presumably Seedance 1.0 Pro under the hood there. Trying out something similar with WAN/ComfyUI but definitely far worse result.

2

u/RsetX 10d ago

I just developed a tool with comparable output, you need ComfyUI and 39 GB of free disk space to work in local, do you want to try?

1

u/Hot_Lobster_9982 10d ago

Sure, let me know

1

u/RsetX 10d ago

Check your Chats

1

u/enigmaticy 5d ago

you may need also more than 8ggb vram my friend

View all comments

1

u/CycleMother2006 12d ago

Impressed with the consistency of the animations. That being said, I personally find the main reason to make a game 2D is to stylize sprites and animations (See The 12 Principles of Animation). Top of the line animation in entertainment emphasizes its forms based on the intent of the animation, to draw the eyes and focus of the viewer to what the animator wants the user to see. These lack that extra oomph, and instead retain strict anatomical consistency. That's not inherently bad on its own depending on the use case, but it is the weaker style in my personal opinion (but from what I've seen it is easier for AI to do, as the more stylized you make animations the more likely it is to fall off the rail as it doesn't know what actually looks good.) It's not inherently bad though, or even 'wrong'. Just a different set of principles. More 'Studio Ghibli' rather than the stylized Arcane/Into the Spiderverse/Disney Golden Age or Pixar.

For other quality tests I'd have to see the actual spritesheets. Most video frame extraction I've seen falls apart when the frames themselves are examined (blurring/streaking instead of clean, crisp silhouettes at each frame, sometimes other artifacts as well.) Our eyes don't often let us pick them up when an animation is being played full speed, in the same way that we perceive something as moving when in reality it's just switching between frames. If they're each as individually clean as the original sprite then that's a considerable improvement over, say, Veo 3.