使用 3.7.94 版本制作的 spine 动画,2 秒内 x 从 0 到 400,导出的动画 curve 缓动曲线 在 3.8.x 上不生效,总不能老项目升级上来所有 Spine 动画都要重新导出一遍吧。
// 3.7.94
"animations": {
"move": {
"bones": {
"root": {
"translate": [
{
"time": 0,
"x": 0,
"y": 0,
"curve": [
0.697,
0,
1,
0.3
]
},
{
"time": 2,
"x": 400,
"y": 0
}
]
}
}
}
}
// 3.8.99
"animations": {
"move": {
"bones": {
"root": {
"translate": [
{
"curve": 0.697,
"c4": 0.3
},
{
"time": 2,
"x": 400
}
]
}
}
}
}


