我能用tween写反復 放大缩小吗?

tween的repeat好像只能对一组动作进行反復…

能像action的sequence包装动作然后执行吗?

类似action的这种代码:

let seq = cc.repeat(
cc.sequence(
cc.scaleTo(1, 2, 2),
cc.scaleTo(1, 1, 1)
), 10);

    node.runAction(seq);

cc.tween(this.node).then(cc.tween().to(1,{scale:0.5}).to(1,{scale:1})).repeat(10).start();

1赞

用.then包 可以 , 感谢了