• Editor
  • Organize atlases by skin automatically

Related Discussions
...

Does anyone know how to organize atlases by skin via exporting rather than using the texture packer? I've got multiple projects with upwards of 20 characters delineated by skins, and in order to avoid memory issues at runtime I'm trying to find a way to contain one character within a single atlas rather than being spread out over multiples. This way only one atlas needs to be loaded per character. I've been poring over the Texture Packing user guide page, and the only way I've been able to get subfolders to result in one atlas per skin/subfolder is to do each folder one at a time with the texture packer. This is better than earlier solutions I had come up with, but it's still a time sink I'd like to avoid since I've got so many characters to deal with.

I'm afraid this is currently the only solution to the problem. You can actually perform the atlas exports on the command line and put the commands in a script. See your CLI documentation for more information Export - Spine User Guide