varact1 =newcc.moveBy(0.5,cc.p(0,-dis)); varact2 = cc.callFunc(function(obj){// 這里js并不支持callfuncn函數(shù),但是可直接傳對(duì)象 obj.removeFromParentAndCleanup(); }.bind(this)); // 顏色鮮亮的為精靈對(duì)象 this.left_move.runAction(cc.
www.dbjr.com.cn/article/965...htm 2025-5-25