Hey everybody,
thanks Isaac for this awesome script!
I would love to use it but I am not sure if I'm doing something wrong here..
The scml file contains no width and height of the exported images and then in Spriter I don't see anything of course.
I ran the script with the PSD sample file without any changes.
Here is the content (parts only):
<spriter_data scml_version="1.0" generator="psd2scml.jsx" generator_version="pre1.0"> <folder id="0" name="objects"> <file id="0" name="objects/arm_upper_r.png" width="NaN" height="NaN"/> <file id="1" name="objects/hand_r.png" width="NaN" height="NaN"/> <file id="2" name="objects/item.png" width="NaN" height="NaN"/>... <timeline id="1" name="object-arm_lower_l"> <key id="0" spin="0"> <object folder="0" file="15" x="0" y="0" pivot_x="NaN" pivot_y="NaN" angle="0.00" scale_x="1.00" scale_y="1.00"/> </key> </timeline> <timeline id="2" name="object-hand_l"> <key id="0" spin="0"> <object folder="0" file="14" x="0" y="0" pivot_x="NaN" pivot_y="NaN" angle="0.00" scale_x="1.00" scale_y="1.00"/> </key> </timeline>
Thanks for any tip to solve this!
I am using PC Win7 - Photoshop CS6 64bit with latest updates and I downloaded the newest JSON and script files from GitHub.