iOS Programming
Programming Stuff on iOS, Objective-C, Admob, Unity, Cocos2d-x
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment