Helo Nate and Shiu,
So far I was able to import our illustrator export. I have several questions.
We generate from illustrator sometimes quite deep image directory structures. It depends how complex our character or scene are. We put these image directory structure into images directory on the same level where the spine file resides. So far I was able to import our dennis character without problem. As you can see in slots there is that "simple" directory path to image like dennis/nose etc. (images/dennis/nose.png)
So far all is imported correctly. So my questions:
1) is this directory path to an image also valid in skin definition?
"dennis/nose":{"dennis/nose":{"x":2484.75176617693,"y":-1459.81322950865, "width":50,"height":50}},
2) When we import this json into spine. All the images under each generated slots are as default turned off. I need to go over them in your hierarchy tree and turn them on. How can I define as default to have them on?
3) I don't have information from illustrator how big is the exported image so I put into skin definition just default 50px. Is it ok? Seems like this width and height does not have effect on whatever wen importing the file.
"dennis/nose":{"dennis/nose":{"x":2484.75176617693,"y":-1459.81322950865, "width":50,"height":50}},
{"skeleton":{"images":"images/"},
"bones":[{"name":"root"}],
"slots":[
{"name":"dennis/nose","bone":"root","atachment":"dennis/nose"},
{"name":"dennis/face","bone":"root","atachment":"dennis/face"},
{"name":"dennis/shin_left","bone":"root","atachment":"dennis/shin_left"},
{"name":"dennis/tigh_left","bone":"root","atachment":"dennis/tigh_left"},
{"name":"dennis/tigh_right","bone":"root","atachment":"dennis/tigh_right"},
{"name":"dennis/shin_right","bone":"root","atachment":"dennis/shin_right"},
{"name":"dennis/upper_arm_right","bone":"root","atachment":"dennis/upper_arm_right"},
{"name":"dennis/fore_arm_right","bone":"root","atachment":"dennis/fore_arm_right"},
{"name":"dennis/hand_right","bone":"root","atachment":"dennis/hand_right"},
{"name":"dennis/belt","bone":"root","atachment":"dennis/belt"},
{"name":"dennis/body","bone":"root","atachment":"dennis/body"},
{"name":"dennis/pelvis","bone":"root","atachment":"dennis/pelvis"},
{"name":"dennis/hair_2","bone":"root","atachment":"dennis/hair_2"},
{"name":"dennis/hair_1","bone":"root","atachment":"dennis/hair_1"},
{"name":"dennis/hair","bone":"root","atachment":"dennis/hair"},
{"name":"dennis/stick","bone":"root","atachment":"dennis/stick"},
{"name":"dennis/hand_left_1","bone":"root","atachment":"dennis/hand_left_1"},
{"name":"dennis/hand_left_2","bone":"root","atachment":"dennis/hand_left_2"},
{"name":"dennis/head","bone":"root","atachment":"dennis/head"},
{"name":"dennis/neck","bone":"root","atachment":"dennis/neck"},
{"name":"dennis/shoe_right","bone":"root","atachment":"dennis/shoe_right"},
{"name":"dennis/shoe_left","bone":"root","atachment":"dennis/shoe_left"},
{"name":"dennis/lower_arm_left","bone":"root","atachment":"dennis/lower_arm_left"},
{"name":"dennis/upper_arm_left","bone":"root","atachment":"dennis/upper_arm_left"},
{"name":"dennis/flap","bone":"root","atachment":"dennis/flap"}
],
"skins":{
"default":{
"dennis/nose":{"dennis/nose":{"x":2484.75176617693,"y":-1459.81322950865, "width":50,"height":50}},
"dennis/face":{"dennis/face":{"x":2234.99816714726,"y":-1442.83041325158, "width":50,"height":50}},
"dennis/shin_left":{"dennis/shin_left":{"x":2562.52614362161,"y":-2295.70602553291, "width":50,"height":50}},
"dennis/tigh_left":{"dennis/tigh_left":{"x":2482.57085347238,"y":-2082.08207714063, "width":50,"height":50}},
"dennis/tigh_right":{"dennis/tigh_right":{"x":2284.63690621134,"y":-2106.47621449853, "width":50,"height":50}},
"dennis/shin_right":{"dennis/shin_right":{"x":2302.95396094285,"y":-2333.10306602281, "width":50,"height":50}},
"dennis/upper_arm_right":{"dennis/upper_arm_right":{"x":2176.65893610508,"y":-1679.3119892868, "width":50,"height":50}},
"dennis/fore_arm_right":{"dennis/fore_arm_right":{"x":2110.47143974742,"y":-1809.22510628168, "width":50,"height":50}},
"dennis/hand_right":{"dennis/hand_right":{"x":2224.25545434279,"y":-1865.53158501358, "width":50,"height":50}},
"dennis/belt":{"dennis/belt":{"x":2350.06316799073,"y":-1878.2915137287, "width":50,"height":50}},
"dennis/body":{"dennis/body":{"x":2366.07383257801,"y":-1733.70186388577, "width":50,"height":50}},
"dennis/pelvis":{"dennis/pelvis":{"x":2371.36092948914,"y":-1978.74259062685, "width":50,"height":50}},
"dennis/hair_2":{"dennis/hair_2":{"x":2347.44042074815,"y":-1113.44832201495, "width":50,"height":50}},
"dennis/hair_1":{"dennis/hair_1":{"x":2498.01985267431,"y":-1126.81025515863, "width":50,"height":50}},
"dennis/hair":{"dennis/hair":{"x":2408.57408580624,"y":-1276.74257496786, "width":50,"height":50}},
"dennis/stick":{"dennis/stick":{"x":2907.36185470331,"y":-1445.66408853348, "width":50,"height":50}},
"dennis/hand_left_1":{"dennis/hand_left_1":{"x":2814.05676100199,"y":-1375.24728855201, "width":50,"height":50}},
"dennis/hand_left_2":{"dennis/hand_left_2":{"x":2730.6449429806,"y":-1449.18609611832, "width":50,"height":50}},
"dennis/head":{"dennis/head":{"x":2428.97612773529,"y":-1453.03645827561, "width":50,"height":50}},
"dennis/neck":{"dennis/neck":{"x":2369.41959364516,"y":-1572.81466112767, "width":50,"height":50}},
"dennis/shoe_right":{"dennis/shoe_right":{"x":2290.38306029282,"y":-2464.3094207495, "width":50,"height":50}},
"dennis/shoe_left":{"dennis/shoe_left":{"x":2645.82913325314,"y":-2451.42153782552, "width":50,"height":50}},
"dennis/lower_arm_left":{"dennis/lower_arm_left":{"x":2653.78801279418,"y":-1585.99189028719, "width":50,"height":50}},
"dennis/upper_arm_left":{"dennis/upper_arm_left":{"x":2498.01984768004,"y":-1657.05784949197, "width":50,"height":50}},
"dennis/flap":{"dennis/flap":{"x":2202.72526960891,"y":-1958.12555362514, "width":50,"height":50}}
}
},
"animations":{"animation":{}}
}