• Editor
  • Playing two animations at the same time in the editor?

Hello!

I'm needing to play two animations at the same time to get some UI stuff working.

For the sake of a simple example, let's say I have a star, that rotates clockwise -- and also grows and shrinks -- at the same time.

During game runtime, both animations can fire independently of one another. Let's say hitting a ➡️ keystroke triggers the [Rotation Loop] and hitting a ⬆️ keystroke triggers the [Grow and Shrink Loop]

1st Question:
Should I animate these motions on two separate bones? Or, because one animation is using 'rotation' and the other is using 'scale' can I just use one bone, and they wont interfere with eachother?

2nd Question:
Inside the editor, is there any way for me to see both animations in motion at the same time? Or can I only preview the [Rotation Loop] or the [Grow and Shrink Loop] separately, without seeing both animations combined?

Thanks! Any guidance would be hugely appreciated! : )

Related Discussions
...

1st Question:
You can animate these motions on the same bone since one animation is using 'rotation' and the other is using 'scale'. They won't interfere with each other because they are affecting different properties of the bone.

2nd Question:
Yes, you can see both animations in motion at the same time inside the editor using the Preview view. In the Preview view, you can play and combine multiple animations to see how they interact together. This allows you to preview the combined effect of the [Rotation Loop] and the [Grow and Shrink Loop] animations.

For more details on how to use the Preview view, you can refer to the Preview - Spine User Guide.

Thanks SpineBot, that's very helpful!

I've been using Spine for two years and I've never used the Tracks in the Preview Mode. That's handy!

Can you have more than 5 Tracks playing at once? (0-4). Albeit, I can hardly imagine needing more than 5.

  • Misaki ответили на это сообщение.

    Eidrog Yes, up to 15 tracks (from track 0 to track 14) are available in the Preview view. By default, only buttons for tracks 0 through 4 are displayed, but when an animation is set for track 4, buttons 5 through 9 are displayed, and when an animation is set for track 9, buttons 10 through 14 are displayed.

    Thank you very much for the help! I really appreciate it! = )