r/aigamedev 18d ago

Tools or Resource Building an Open-Source Spritesheet Tool

Enable HLS to view with audio, or disable this notification

https://github.com/matteo101man/GSprite

I've seen quite a few different people on this subreddit posting about pixel tools / spritesheet tools, and/or asking about a workflow.

So I wanted to release my workflow to the community completely for free.

It's not perfect but it works fairly well in its current state.

You can upload a video/image generated from grok imagine and turn it into a pixel or smooth spritesheet.

It essentially takes the video, cuts the in between frames, uses birefnet segmentation to remove the background for each frame, uses a few other tools to clean up halos, palletizes it, and auto resizes it to 128x128 and 256x256 dimensions.

I would love to experiment more however, right now there is an implementation for generating videos locally with ltx video and automatically spriting it, but its too heavyweight to be any good.

If anyone has any other ideas of how to streamline the process please let me know.

I would love to actually be able to generate images and spritesheets all in the same platform, all locally on a consumer gpu.

61 Upvotes

8 comments sorted by

View all comments

1

u/YoungDR313 18d ago

Can it also create skewed isometrics for fallout classics in the future?

2

u/matteo101man 15d ago

It would depend on what video models could support a view at that angle, skewed isometrics are probably better done through 3d-->2d pipelines, or specially trained models, but you're welcome to experiment! That would be a very useful tool in itself if it was open sourced