cocos2d-x常用到的49种动作详解(31…

来源:互联网 发布:淘宝卖家中心宝贝管理 编辑:程序博客网 时间:2024/06/06 12:41

(31)CCEaseElasticIn

CCEaseElasticIn::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作赋予弹性,且以目标动作起点位置赋予弹性。

参数:目标动作。 (32)CCEaseElasticOut

CCEaseElasticOut::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作赋予弹性,且以目标动作终点位置赋予弹性。

参数:目标动作。 (33)CCEaseElasticInOut

CCEaseElasticInOut::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作赋予弹性,且以目标动作起点与终点位置都赋予弹性。 参数:目标动作 。


(34)CCEaseExponentialInCCEaseExponentialIn::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作缓慢开始。

参数:目标动作。 (35)CCEaseExponentialIn

CCEaseExponentialIn::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作缓慢终止。

参数:目标动作。 (36)CCEaseExponentialIn

CCEaseExponentialIn::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作缓慢开始并且缓慢终止。

参数:目标动作。 (37)CCEaseRateAction

CCEaseRateAction::create(cocos2d::CCActionInterval *pAction, floatfRate)

作用:让目标动作设置速率。 参数 1:目标动作。
参数
2:速率。

(38)CCEaseSineInCCEaseSineIn::create(cocos2d::CCActionInterval *pAction)

作用:让目标动作由慢至快。

参数:目标动作。 (39)CCEaseSineOut

CCEaseSineOut::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作由快至慢。

参数:目标动作。 (40)CCEaseSineInOut

CCEaseSineInOut::create(cocos2d::CCActionInterval*pAction)

作用:让目标动作由慢至快再至慢。

参数:目标动作。

原创粉丝点击