I write below code…
void GameMenuLayer::playButtonCB(cocos2d::Object *param)
{
CCLOG("PLAYBUTTONCB");
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->runAction(actionOut);
}
_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)