simonkim / spine-spritekit

Unofficial Spine 2D Runtime for iOS 7 SpriteKit
BSD 3-Clause "New" or "Revised" License
99 stars 23 forks source link

Triggering an animation outside of initialisation #3

Open massivepenguin opened 10 years ago

massivepenguin commented 10 years ago

I've been reading the docs trying to find an answer, but I'm still not sure how to trigger an animation on a skeleton once the scene has loaded. Would I need to set up a reference to the animation and call that, or is there something more straightforward that I'm missing?

ggili commented 10 years ago

@massivepenguin massivepenguin Maybe is a bit late :), but here is a nice article http://www.raywenderlich.com/59535/integrating-spine-spritekit-tutorial

Ray just added a new method in the DZSpineSceneBuilder.m . @simonkim Maybe this can be added into this repo? Would be benefic for others as well.

simonkim commented 9 years ago

@ggili How about sending a pull request?