请问action.easing(cc.easeElasticOut(3.0));这个3.0参数在cc.tween里怎么写?

  • Creator 版本:2.3.2

  • 目标平台:

  • 详细报错信息,包含调用堆栈:

  • 重现方式:

  • 之前哪个版本是正常的 :

  • 手机型号 :

  • 手机浏览器 :

  • 编辑器操作系统 :

  • 编辑器之前是否有其它报错 :

  • 出现概率:

  • 额外线索:

cc.tween(this.img_point).by(1.5, {
rotation: rotation
}, {
easing: ‘easeCubicActionOut’
}).delay(1).call(() => {
this.showReward();
}).start()

let action = cc.sequence(cc.rotateBy(1.5, -rotation).easing(cc.easeCubicActionOut(3.0)),
cc.delayTime(1), cc.callFunc(this.showReward, this));
this.img_point.runAction(action);
请问怎么样吧下面的写法 (cc.easeCubicActionOut(3.0) 这个3.0的参数写到上面的cc.tween里面去
@jare @BigBear

在 tween 上使用的 easing 方法,可以参考这个文档中描述的:
https://docs.cocos.com/creator/api/zh/classes/Easing.html

easing 的使用不需要传入参数。

不传参数,到不到 cc.easeCubicActionOut(3.0)这种效果

别挣扎了,官方根本不想弄这个参数。
我从官方首次添加cc.Tween到现在,一直在等这个easing参数,还是没等到。
他们不是不知道,是根本不想弄。

1赞

同样的问题,请问2.4有解决方法了吗

同样的问题,请问2.4.3有解决方法了吗