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))
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动作
本文链接:https://www.haomeiwen.com/subject/todtdktx.html
网友评论