Reputation: 48490
I'm looking for something that does a similar call, but using cocos2d... the idea is to enlarge the sprite and then fade it out... Here's is a similar call in core animation:
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:ANIM_NORMAL];
someView.alpha = 0.0;
someView.transform = CGAffineTransformMakeScale (3.0, 3.0);
[UIView commitAnimations];
Upvotes: 0
Views: 415
Reputation: 713
id enlargeAndFade = [Sequence actions: [ScaleTo...], [FadeOut....], nil];
[sprite runAction:enlargeAndFade];
have a look here as well there will be plenty about so called 'actions': http://www.cocos2d-iphone.org/forum/
Upvotes: 1