cocos2d-x v3.0beta2 bug find..

cocos2d-x v3.0beta2 bug find..


I write below code…

void GameMenuLayer::playButtonCB(cocos2d::Object *param)

ActionInterval* scalePrevAction = ScaleTo::create(1.5, 1.5, 1.3);
ActionInterval* actionIn = EaseBackIn::create(scalePrevAction);

ActionInterval* scaleAfterAction = ScaleTo::create(1.5, 6., 6.);
ActionInterval* actionOut = EaseBackIn::create(scaleAfterAction);

ActionInterval* seqAction = Sequence::create(scalePrevAction, scaleAfterAction); //<-- error generate.



_playButton variable is MenuItemSprite instance.

bug is generate, when I use Sequence Animation with two scale animation, otherwise Using Sequence Animation with two Move animation is Not problem…

I think My code is not problem…

Why bug is generated Sequence Animation with two scale animation??

Please reply this topic.

Thank you;)

스크린샷 2014-03-08 오후 5.47.13.png (333.2 KB)


Sequence::create(scalePrevAction, scaleAfterAction, NULL);
add NULL as last parameter.


Or use Sequence::createWithTwoActions