Files
heros/assets/resources/game/monster/spine/animator.json
2024-07-22 16:49:11 +08:00

154 lines
3.6 KiB
JSON

{
"animator": "1.0.0",
"mainStateMachine": {
"layerPos": [
0,
0
],
"layerScale": 1,
"anyStatePos": [
-660,
390
],
"subStates": [
"act1",
"idle",
"magic1",
"move"
],
"subStateMachines": []
},
"subStateMachines": [],
"defaultState": "idle",
"anyState": {
"transitions": []
},
"states": [
{
"position": [
-180,
420
],
"upStateMachine": "BaseLayer",
"state": "act1",
"motion": "act1",
"speed": 1,
"multiplier": "",
"loop": false,
"transitions": [
{
"toState": "idle",
"hasExitTime": true,
"conditions": []
}
]
},
{
"position": [
-390,
240
],
"upStateMachine": "BaseLayer",
"state": "idle",
"motion": "idle",
"speed": 1,
"multiplier": "",
"loop": true,
"transitions": [
{
"toState": "move",
"hasExitTime": false,
"conditions": [
{
"param": "act1",
"value": 0,
"logic": 0
}
]
},
{
"toState": "act1",
"hasExitTime": false,
"conditions": [
{
"param": "magic1",
"value": 0,
"logic": 0
}
]
},
{
"toState": "magic1",
"hasExitTime": false,
"conditions": [
{
"param": "move",
"value": 0,
"logic": 0
}
]
}
]
},
{
"position": [
60,
180
],
"upStateMachine": "BaseLayer",
"state": "magic1",
"motion": "magic1",
"speed": 1,
"multiplier": "",
"loop": false,
"transitions": [
{
"toState": "idle",
"hasExitTime": true,
"conditions": []
}
]
},
{
"position": [
-240,
0
],
"upStateMachine": "BaseLayer",
"state": "move",
"motion": "move",
"speed": 1,
"multiplier": "",
"loop": false,
"transitions": [
{
"toState": "idle",
"hasExitTime": true,
"conditions": []
}
]
}
],
"parameters": [
{
"param": "act1",
"type": 3,
"init": 0
},
{
"param": "magic1",
"type": 3,
"init": 0
},
{
"param": "move",
"type": 3,
"init": 0
},
{
"param": "idle",
"type": 3,
"init": 0
}
]
}