Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Animations not working in Spine export

Author
Message
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 6th Sep 2016 11:44
Using the latest version of Spine my animations are not pulling through to AppGameKit anymore. Can anyone confirm or deny using the attached example?
The file contains an animation called "Idle" which is not found by AppGameKit using the following code:


I haven't done much in AppGameKit recently so it could be a brain fart but the animation shows in the json file and I can't see any obvious issues...
Using AppGameKit V2 Tier 1

Attachments

Login to view attachments
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 6th Sep 2016 12:36 Edited at: 6th Sep 2016 12:37
Change your LoadSkeleton2DFromSpineFile("Zombie1.json", 1.0, img, 0) to LoadSkeleton2DFromSpineFile("Zombie1.json", 1.0, img, 1) to load the animations.

BTW you exported using 2.1.27? I'm on 3.3.07 and thats not the most recent version so you might want to check your settings.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 6th Sep 2016 13:25 Edited at: 6th Sep 2016 13:28
Damn! That was stupid I just copied an old bit of code... thanks Wilf!

Regarding the version, I just downloaded the latest version this morning. Is that a Beta version?

EDIT: For some reason I had to select "Latest Version" for Spine to update... never had to do that before!
Using AppGameKit V2 Tier 1
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 6th Sep 2016 13:49
Yeah, Spine updates quite often and I was worried that they might introduce a change that breaks something in AppGameKit so I pegged mine to 3.3.07 and left it there.
Good to see you around again!
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 6th Sep 2016 14:33
Quote: "Good to see you around again!"

There's no escape my friend... once you enter you can never leave!!!
Using AppGameKit V2 Tier 1

Login to post a reply

Server time is: 2024-11-25 01:38:00
Your offset time is: 2024-11-25 01:38:00