-
-
Save NathanSweet/c8e2f6e1d79dedd56e8c to your computer and use it in GitHub Desktop.
Please note this script has moved: https://github.com/EsotericSoftware/spine-scripts |
+1
Figured it out: you need to browse to the folder you exported images to. This fixes it! @adankoala
Hi,
This script saves the PNG with the color profile incrusted?, when the graphics is showed into Spine, these graphics cannot conserve the color profile aplied in photoshop.
Any ideas?
For other hand, i want to put one bone for each slot automatically when i export from psd, how can i have edit the script to do this?
Thanks.
Hello guys,
Error importing skeleton.
I had message when you import files from a photoshop - An error occurred while importing yhe skeleton.
Sptires also did not appear.
I decided to deal with the .JSON file and found the cause of the error:
Setting - sprite size - using fractional values and added an extra comma (like (x,5,y,z,)), so JSON did not load correctly.
To fix this bug I use nopad-find&replace command, but it`s not very convenient, maybe you can take into account this case in your Script.
Thanks
Hi,
How can i do this for CS5 version of photoshop?
This script will fail to write a json file if one of your layers have non-english characters in the layer name.
To fix this, you need to add:
file.encoding = "UTF-8";
between creating a new file object using "new File" and calling file.write().
Please use my fork for the fixed version.
This script is a great time-saver! Especially with the set ruler 0,0 as origin feature :")
Would it be possible to add a feature that would define which (Spine) slot each layer would be exported into? For example, if we have a couple frames for a blinking animation with the following layers:
It would be nice to skip the extra drag, drop, and rename steps if they can be exported into the same slot, named Eyes.