Copy link to clipboard
Copied
So I am trying to make multiple sprites for me and my sister, and it is working out pretty well. The problem is that it often takes more time to export, name, and sort the sprites than it takes to draw them. I was wondering if there was a program that could export all of the different variations of layers and name them by the names of all of the combined layers. I have attached a few pictures of the sprites to hopfully clarify what I mean. I have been naming them by the names of the layers from top to bottom (eye shape/ direction of eyes, mouth shape/expression, body/base position.png), and I was wondering if this program existed if it could do that too. I have each group of layers seperated (so eyes are with eyes, mouths are with mouth, etc.) and I would hope the program would not mix the layers in the groups together. (I don't want all of the eye shapes mixed together in one PNG). I know this is very specific, but it would save me so much time. If this program does not exist is there someone I could reach out to to commission them to make this program. Thanks a ton!
eyes looking at hal, mouth closed happy, excited fists
eyes looking at hal, mouth closed confused, excited fists
cheerful closed eyes, mouth closed confused, excited fists
eyes looking at hal, mouth closed confused, pointing
I'm looking into multiple different things trying to figure this out as it will save so much time I will be sure to look into what you said and get back to you once I do. I also found this which seems promising and I am currently trying to tincker with it to see what I can do. Thankyou for all the advice I really appreciate it!
https://github.com/mechanicious/photoshopCompositionComposer
Copy link to clipboard
Copied
For best results, use abbreviated layer names without spaces.
img_1, img_2, etc... because these will be appended to the PSD's filename.
1. Go to File > Export > Layers to Files.
2. Select a destination folder.
3. From the File Type options list, select PNG-8 or PNG-24.
4. Click on Run.
Depending on how many layers you used, this could take a while.
Copy link to clipboard
Copied
Does it matter if the Layers are Visible/ Invisible? (Should all layers be turned of or turned on or does it not matter?) Thankyou so Much!
Copy link to clipboard
Copied
Visible layers only is an option. When enabled, invisible layers are excluded.
Copy link to clipboard
Copied
I tried this, and although helpful it is not exactly what I am looking for since it exports each individual layer separatly instead of one layer per group (making exports of multiple different sprites).
Copy link to clipboard
Copied
Yes, Export > Layers as Files does exactly what its name implies.
Each layer is exported as a separate file.
Copy link to clipboard
Copied
Can you screenshot the layers panel with two or more sets/groups expanded?
Look into Generator, Generate Image Assets...
Copy link to clipboard
Copied
I started to write a script to help automatically rename layer sets for Generator, you may find this topic informative:
That being said, I didn't know about a nice little extension panel that already existed:
https://blogs.adobe.com/cssdk/2013/12/adobe-layer-namer.html
https://exchange.adobe.com/creativecloud.details.1680.adobe-layer-namer.html
https://exchange.adobe.com/creativecloud.details.2365.generator-layer-names.html
Copy link to clipboard
Copied
I'm looking into multiple different things trying to figure this out as it will save so much time I will be sure to look into what you said and get back to you once I do. I also found this which seems promising and I am currently trying to tincker with it to see what I can do. Thankyou for all the advice I really appreciate it!
https://github.com/mechanicious/photoshopCompositionComposer
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This Script did Exactly what I wanted! It named based on the group/folder name and then did all the different combinations of the layers inside and named after those!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now