Good time of day! I can't import skeletal animation from spine pro 3.8.99 to game maker studio 1.4. Even a simple animation consisting of one sprite and one bone gives an error:
I didn't change anything in the export settings. All three files are located in the same directory. What can I do here?
""C:\Users\zerg\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /c /td="C:\Users\serg\AppData\Local\gm_tt_52021" /spineimage="D:\Games\Animati_spine\skeleton.json"
Failed to cast the object type " System.Collections.Generic. List`1[System.Object] 'to type' System.Collections.Generic.Dictionary`2[System.String,System.Object]".
Spine Error : Animate_spine : Invalid JSON file D:\Games\Animati_spine\skeleton.json
ERROR: json file is not a valid Spine animation...
json data is malformed
{
"skeleton": {
"hash": "QUGHchL2McG6QxwlabMackxDYOU",
"spine": "3.8.99",
"x": -11.5,
"y": 30,
"width": 25,
"height": 26,
"images": "./H0_pose/",
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "bone", "parent": "root", "length": 10.66, "rotation": 92.6, "x": 1.65, "y": 40.41 }
],
"slots": [
{ "name": "h0_head_simple", "bone": "bone", "attachment": "h0_head_simple" }
],
"skins": [
{
"name": "default",
"attachments": {
"h0_head_simple": {
"h0_head_simple": { "x": 2.61, "y": 0.53, "rotation": -92.6, "width": 25, "height": 26 }
}
}
}
],
"animations": {
"animation": {
"bones": {
"bone": {
"rotate": [
{},
{ "time": 0.2667, "angle": -44.06 },
{ "time": 0.5 }
],
"translate": [
{},
{ "time": 0.2667, "x": 34.85 },
{ "time": 0.5 }
]
}
}
}
}
}
"skeleton": {
"hash": "QUGHchL2McG6QxwlabMackxDYOU",
"spine": "3.8.99",
"x": -11.5,
"y": 30,
"width": 25,
"height": 26,
"images": "./H0_pose/",
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "bone", "parent": "root", "length": 10.66, "rotation": 92.6, "x": 1.65, "y": 40.41 }
],
"slots": [
{ "name": "h0_head_simple", "bone": "bone", "attachment": "h0_head_simple" }
],
"skins": [
{
"name": "default",
"attachments": {
"h0_head_simple": {
"h0_head_simple": { "x": 2.61, "y": 0.53, "rotation": -92.6, "width": 25, "height": 26 }
}
}
}
],
"animations": {
"animation": {
"bones": {
"bone": {
"rotate": [
{},
{ "time": 0.2667, "angle": -44.06 },
{ "time": 0.5 }
],
"translate": [
{},
{ "time": 0.2667, "x": 34.85 },
{ "time": 0.5 }
]
}
}
}
}
}
Last edited: