Hey,
I love Spine, I think it is a wonderful tool! I'm using it with AS3 and also with Unity and am very impressed.
I have one question to ask - is there any way to use Spine to insert arbitrary triggers into animations? I am making an RPG, and when the character attacks, I need the "hit" code to trigger exactly at a specific frame. That frame, however, is in the middle of the animation (not at the end) because there is sort of an 'after-swing' to the animation.
Sure I could use a timer, or even break them into two separate animations to achieve the same effect, but I think neither of those solutions are flexible or graceful. Ideally I would love to be able to insert arbitrary triggers into the animation timeline which I'd be able to listen to with the code so that I can perform functions on that frame.
Does anyone know any good solution to doing this?
Thanks 🙂