cocos动作


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))

你可能感兴趣的:(cocos动作)