I just wanted to post the same feature request 😃 because I was about to do an animation where I need to use sound effects...
Being able to play sounds would be really great.
We will trigger them by events (I guess), but right now there is no way to test it.
As I'm now looking at the tree and thinking.... hmmm...
Now we have there
- root
- draw order
- images
- skins
- animations
What if there was another folder named "sound" or "audio"?
It would behave the same way as Images. I would select my folder where I have sound effects and it would show me them in folder hierarchy.
And then:
I would be able to drag & drop the audio file under event.
Just like a slot under a bone, or an attachment under a slot...
So if there was a key in timeline of this event - it would play the sound which is under it.
More fancy stuff for future:
- The event keyframes which has audio inside could have maybe a different color?
- checkbox for "loop", "play once" and "play # times"
- drag multiple sound effects on one event (something as a skin... for example if I have a shield, it could have multiple different sounds for a hit with different weapons - iron bang, wood crash... etc.)
- or volume control? And be able to key volume control 😃 (I wouldn't really need it lol)
- hmmmm pancakes....
Hmmmm this would be actually a pretty good feature...
I could have it all done by myself as a designer (animation & sound) so the coder wouldn't have to code it for every sound...
So less effort to get it done, less people, less time, less budget... etc.
Moreover, I'd say that there is a lot of sounds in games. It would be great to be able to have it in Spine though...
What do you think? :sun: