我正在寻找能够进行类似调用的东西,但是使用cocos2d ...想法是扩大精灵然后淡出它......这是核心动画中的类似调用:
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:ANIM_NORMAL];
someView.alpha = 0.0;
someView.transform = CGAffineTransformMakeScale (3.0, 3.0);
[UIView commitAnimations];
答案 0 :(得分:1)
id enlargeAndFade = [Sequence actions: [ScaleTo...], [FadeOut....], nil];
[sprite runAction:enlargeAndFade];
看看这里也会有很多关于所谓'行动'的内容: http://www.cocos2d-iphone.org/forum/