seminz

hi. i'm in agine...

you said, download new version and retry again

but it has same problem.

All new version goblin example files (both retail version and trial version) are wrong..

I can show dagger-tip! this is ok!. no problems.. because i can modify!
but goblin is not working on cocos2d-x 2.1.4 version normally



this code is part, this is same, code cocos2d-x sample or cocos2d-x runtime example..

skeletonNode = CCSkeletonAnimation::createWithFile("spine/goblins.json", "spine/goblins.atlas");
skeletonNode->setSkin("goblin");
seminz
  • 記事: 25

Nate

See here:
viewtopic.php?f=9&t=924&p=4670#p4670

Also:
http://esotericsoftware.com/spine-using ... ging-skins
skeletonNode = CCSkeletonAnimation::createWithFile("spine/goblins.json", "spine/goblins.atlas");
skeletonNode->setSkin("goblin");
skeletonNode->setSlotsToSetupPose(); // <- Need this!
アバター
Nate

Nate
  • 記事: 9730

seminz

Thx a lot!


it's working..
seminz
  • 記事: 25


Return to Runtimes