• Editor
  • Limited source folders and replacing

Hello there!
We are having a lot of skins in our game. So basically, one folder in Spine means one skin. Is the number of folders limited? Today I created a new skin - new folder but it is not showing in Spine. How many folders we can have?

I understand that the option might be to have subfolders instead. But if I create them now how I can replace all attachments in slots once at the same time? Is there any “automatic” feature to link all attachments of the specific skin to a new source folder? I don't get it how "find and replace" works 🙁

Thank you!

Related Discussions
...
  • تم التحرير

Hello Katarina!

The number of folders in your project is not limited, and you can use a folder per skin, but you are not limited to it. You could have several skins in the same folder, grouped by kind (e.g. a folder for all hats, or a folder for all weapons) when you add a folder in the Spine project directory, Spine sees them, but they are not automatically added to the project. You can add them using the photoshop to spine script to export their correct position, then using the import function to only add new images: Import - Spine User Guide: Data (this is what I recommend)
Or you can drag them in the viewport through the images node in setup mode: Images - Spine User Guide: Images node

You can nest your skins in subfolders if you prefer, however I think that this is often not necessary, unless for organization purposes, such as having different directions for the same skeleton, and wanting to have a folder for each direction.

If your new skin is a recolor of another skin, therefore all the images have the exact same sizes and names, you can duplicate the skin, then choose Rename attachments to rename each duplicate attachment using the skin and skin placeholder names, automatically changing the path to the folder that has the same name as the new skin name. Skins - Spine User Guide: New skin placeholder

Here's the page about Find and Replace: Tree - Spine User Guide: Find and Replace
What confuses you about it? (:

Hey 🙂 Thank you for your reply.

Maybe I did not explain it correctly. We use Psd script. Everything has been working perfectly so far. So yes, we run the script in Photoshop and a new folder of skin is created. We do not have source folders of skins divided according to body parts but to character, so we have e.g. folder called Merchant. I have attached the screenshot.

The issue was that after refreshing the images the folders were not showing in Spine. Data were exported correctly but the source was missing. So I needed to delete a folder image to get a new one.

I see! this may be a case where Unchecking Limit scanning may help: Images - Spine User Guide: Images node

By default, only the first 2,000 image files found in the image folder are shown. Uncheck Limit scanning to have Spine find all image files.

Oh, great! This really helps. Thank you!