let __startPos = cc.v2(this.player.x, this.player.y);
let __middlePos= cc.v2(10, 10);
let __endPos = cc.v2(20, 15);
cc.tween(this.player)
.then(cc.bezierTo(0.4, [__startPos, __middlePos, __endPos]).easing(cc.easeSineOut()))
.start();
creator 贝塞尔曲线缓动 cc.tween
最新推荐文章于 2024-04-11 10:25:35 发布