3.8.x Spine 动画不向下兼容

使用 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
                        }
                    ]
                }
            }
        }
    }

spine_test.zip (9.3 KB)

image
image
错怪 Cocos 了, 是 Spine 运行时自己有 Bug

一种可能的改法, 官方有没有可能修复一下
image