cocos动作
2020-08-06 本文已影响0人
赤焰军少帅林殊
var actionA=cc.moveTo(0.5,0,50);
var actionT=cc.delayTime(1.5);
var actionB=cc.moveTo(0.5,100,50);
var aa=actionA.easing(cc.easeOut(1.5));//缓冲效果
var bb=actionB.easing(cc.easeIn(1.5));//
bout.runAction(cc.sequence(aa,bb))