TweenLite实现在运动中缩放的效果,在运动中改变scale值TweenLite.to(this.itm_avatar1, 0.2 ,{ x:target1X, y:target1Y,ease:Linear.easeIn,alpha:0.7, onComplete:()=>{ this.itm_avatar1.scale.x = 0.7 ; this.itm_avatar1.scale.y = 0.7 ; this.con_avatar0.addChild( this.itm_avatar1 ) ; this.itm_avatar1.position = new PIXI.Point( 0, 0 ) ;
} } )现在得效果是在0.2秒之后直接缩小,而不是在运动过程中缩小
添加回答
举报
0/150
提交
取消