CCActionInterval *bgMoveOut = CCMoveTo::create(actionInterval, pos); CCEaseExponentialOut *moveOutEase = CCEaseExponentialOut::create(dynamic_cast<CCActionInterval *> (bgMoveOut->copy()->autorelease())); CCFiniteTimeAction *finishedAction = CCCallFuncN::create(this, callfuncN_selector(SOMEControl::ActionFinishedHandler)); CCSequence *moveOutSeq = CCSequence::create(moveOutEase, finishedAction, NULL); bg->runAction(moveOutSeq);
CCEaseExponentialOut 先快后慢
CCEaseExponentialIn 先慢后快
即指数的曲线
其它的曲线运行请查看CCEaseAction.h