azerion / phaser-spine

A plugin for Phaser 2 that adds Spine support
MIT License
121 stars 57 forks source link

setToSetupPose Not Working? #13

Closed shibekin69 closed 7 years ago

shibekin69 commented 7 years ago

Yeah I think this is broken. If I do a .setToSetupPose to see what it is, it returns a function, but trying to run it doesn't return my spine animation back to the setup pose. Is there a work around for this?

AleBles commented 7 years ago

setToSetupPose is heavily used in any of the given examples, would it be possible for you to making a minimum working example with those?

shibekin69 commented 7 years ago

Let me get back to you on this one ;)

shibekin69 commented 7 years ago

testphaserspine.zip

Here you go. Barebones test of phaser spine and spineboy with the files Phaser.js and Phaser-Spine.js files I'm using. Minimum example of it not working.

shibekin69 commented 7 years ago

@AleBles, ok, I think I get what the function is for - it's just to refresh the skins and such right, and not to actually to stop the animation and put the character back into the setup pose?