Have you already had a look at TexturePacker?
General Knowledge: Assembling Sprite Sheets Programmatically?
-
14-10-2022 - |
Question
Currently, my sprite sheets are drawn in photoshop, exported as a .png, then manually divided into an xml file for the texture loader to process (string id, x, y, width, height.)
Is there a way to write a script to output spritesheet metadata instead of doing it by hand?
Solution
OTHER TIPS
It is possible to script Photoshop grabbing a folder of images and then place them into a sprite sheet and then kick out the sprite meta data. But texture packer already does the job you want.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow