Thursday, May 7, 2015

Cocos2dx: Sprite Ease Animations

Examples:

auto action = MoveBy::create(2, Vec2(100,0));

mySprite->runAction(EaseElasticInOut::create(action,0.5));

or


mySprite->runAction(EaseBounceIn::create(action));

No comments:

Post a Comment