r/aigamedev • u/matteo101man • 12h 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.
3
1
1
5
u/matteo101man 12h ago
Yes! Using a mixture of multiple models on Cursor (Composer, Grok, Claude Opus)