mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Action example.
This commit is contained in:
parent
5aa58c5a9b
commit
b795fd2d5d
@ -27,10 +27,10 @@ bool ExampleLayer::init () {
|
||||
AnimationState_setAnimation(skeletonNode->state, animation, true);
|
||||
skeletonNode->debugBones = true;
|
||||
|
||||
/*skeletonNode->runAction(CCRepeatForever::create(CCSequence::create(CCFadeOut::create(1),
|
||||
skeletonNode->runAction(CCRepeatForever::create(CCSequence::create(CCFadeOut::create(1),
|
||||
CCFadeIn::create(1),
|
||||
CCDelayTime::create(5),
|
||||
NULL)));*/
|
||||
NULL)));
|
||||
|
||||
CCSize windowSize = CCDirector::sharedDirector()->getWinSize();
|
||||
skeletonNode->setPosition(ccp(windowSize.width / 2, 20));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user