Tween如何使用?为毛缓动动作无效果?

代码如下

 var a = new cc.Tween();
 a.target(node).to(0.5,{y:-400},{easing:"easeBounceOut"}).start();

cc.tween(node).to(0.5,{y:-400},{easing:“easeBounceOut”}).start();

cc.tween(node.position)
.to(0.5, { y: { value: -400, easing: ‘easeBounceOut’ } })
.start();
这样试试行不行

楼上的全是错误的. 这easing名字全靠猜
cc.tween(node).to(0.5,{y:-400},{easing:“bounceOut”}).start();

2赞

ts的貌似还没例子

我也想知道缓动的string都有哪些


不会是这些吧