When analyzing the export format of your photoshop script I identified some differences compared to your documentation proposed here: Spine: JSON export format
The hierarchy of skins is not the same:
json
skins": [
{
"name": "skinName",
"attachments": {
"slotName": {
"attachmentName": { "x": -4.83, "y": 10.62, "width": 63, "height": 47 },
...
},
vs (my json export from photoshop):
json
"skins": {
"default": {
"slotName": {
"attachmentName": { "x": 346, "y": -395.5, "width": 122, "height": 241 }
},
This is a huge pint to handle both structures, could you update the photoshopToSpine script to match the same architecture ?
Thanks in advance.
Hello,
I finally take time to fix it :
https://github.com/EsotericSoftware/spine-scripts/pull/13
Could you check it and approve it ?
Thanks in advance
Fixed in commit : https://github.com/EsotericSoftware/spine-scripts/commit/2bc71810664ff0f20473290b2b7a6d6f5fe34096 (scriptVersion = 7.27)