to gamedevs out there, any of you guys ever use this software? last time we were looking at texture packing we didn't wanna drop the $50 so roped aseprite into it, and that worked but was a special hell, so we'd like to avoid that this time lol
https://www.codeandweb.com/texturepacker
0 Boosts
0 Likes
@roxy There is also https://gitlab.com/bztsrc/spratlas which is a command-line tool based on stb_rect_pack.h and writes the metadata straight into the generated PNG file, and is probably a better fit since you use C++ already.
@roxy Back in the day when using Java for gamedev was cool, I used libGDX's built-in TexturePacker, which still exists and is FLOSS. It can be integrated into your build pipeline and there's a GUI here too: https://github.com/crashinvaders/gdx-texture-packer-gui
Looks like it spits out a simple custom text-based file format; the parsing code is here:
https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java#L267-L450
libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java at master · libgdx/libgdx
GitHub - crashinvaders/gdx-texture-packer-gui: A simple way to pack and manage texture atlases for libGDX game framework.