herolulu 要在 Spine 编辑器上将多个动画合并为一个动画,只需复制并粘贴要合并的动画的键值即可。在复制键值之前,您可能需要将时间线条对齐第一帧或最后一帧,然后按下 Ctrl+Shift+L
或 DopeSheet 或图形视图顶部的 为所有显示设置关键帧(Key shown)
按钮,将所有已经有键值结果的属性键入构成当前姿势的键值中。
遗憾的是,Spine 编辑器中没有 "实例 "这一功能,因此在上述方法中,对原始动画 A、B 和 C 所做的更改不会自动反映到组合动画 D 中。因此,最好是在运行时按 ABBC 顺序实现并组合它们。
如果想将组合动画导出为视频或 PNG 序列格式,可以使用 spien-unity 运行时的时间轴扩展。虽然这需要安装 Unity,但无需编写任何代码即可完成,因此即使不是程序员也能轻松完成。如果您感兴趣,请参阅以下博文了解更多信息: 在Unity中使用时间轴扩展合并多个动画
To combine multiple animations into one on the Spine editor, simply copy and paste the keys of the animations you wish to combine. Before copying the keys, you may want to align the timeline bar at the first or the last frame then press Ctrl+Shift+L
or the Key Shown
button at the top of the DopeSheet or Graph View to key all the properties that already have keys results in keys that make up the current pose.
Unfortunately, there is no such feature as "instances" in the Spine editor, so in the above method, changes made in the original animations A, B, and C are not automatically reflected in the combined animation D. Therefore, it is better to implement and combine them so that they are played in ABBC order at runtime.
If you want to export the combined animation as a video or PNG sequence format, you can use the Timeline extension of the spien-unity runtime. Although it requires installing Unity, it can be done without writing a single line of code, so even non-programmers can do it easily. If you are interested, please see the following blog post for more information: 在Unity中使用时间轴扩展合并多个动画