• Editor
  • Have a way to load audio tracks to sync?

I need to sync some audio tracks on my animations, like a character speaking. Have a way to do this on Spine?

Thanks.

Related Discussions
...
  • تم التحرير

No, but the event timeline feature could be used for this once it is implemented.

Ok, thanks for the answer.

شهر واحد لاحقا

regarding the event timeline feature (sorry to hijack the thread), will this allow the following:

  1. Callback functions to be attached to any given 'frame' timeslot on the timeline
  2. Objects to be dynamically attached to the timeline at runtime depending on their state

I ask this (as a non runtime developer) as our devs have been experiencing issues with the corona runtime.

Basically, they are trying to determine a way to attach events that are fired dynamically on the timeline (like collision detection for example). They are also trying to find a solution to an issue where they are running a set of parallax scenes in sequence, along with a character 'walking' this scene. They would like to be able to freeze the action for all combined sequences at a given hitpoint on the timeline. I had suggested, in my ignorance, that they could place an object at some point on the timeline and when the character collided with it, the action would pause. What would be the recommended solution to this issue of syncing up known stop and start points on the timeline (i.e. raising events), as well as being able to interact with randomly inserted hitpoints that we would want our character to stop/pause on??

I know this may sound like a ramble, but I am going from a techie description given to me by the devs of the issue and trying to filter it via my non 2d dev brain.

Thanks in advance
jim

1) There will be a callback that is executed with the event. 2) I'm not sure what you mean? All animations can be modified programmatically.

There is nothing magical going on. 🙂 The "timeline" is simply a number that you increment, eg animationTime here:
http://esotericsoftware.com/spine-using ... animations
Your coders can check if this time reaches a certain value and then do whatever they like. This is identical to the event timeline feature, except you define the events in code rather than Spine and you fire the callback yourself.