• Editor
  • photoshop groups as skins improvement

Related Discussions
...

The photoshop script can export groups as skins which is great. One problem though is it treats ALL groups as new skins, resulting in something that doesn't make much sense:

Image removed due to the lack of support for HTTPS. | Show Anyway

To get Spine to create just the root-level groups I wanted (male, female) I ungroup the nested groups in photoshop before exporting, but that creates a big problem: photoshop uses groups for preserving draw order. By ungrouping I lose all the draw order of every image and the asset becomes a mess that would take hours and hours to correct.

My suggestion is to have an option in the photoshop spine script for "only use root groups as skins" or similar.

This is not a bad idea. Thanks for suggesting it. I know Badlogic took a look at this thread and he will be the one updating the script. Hopefully he will be able to get to it soon.

By the way, may I add another suggestion?
I usually clip levels and put every part in a group that I later merge before exporting to spine. So I always have two versions of the same file: one with all the groups merged into layers and one with the groups still editable. It would be great if by adding a tag like "-merge" to the end of the group name a script could flatten it for me. It's getting a little time consuming and I know other user made scripts out there do bulk merging but I don't know the magics of code this well sigh...