cocosCreate 黃金礦工繩索擺動,以及鉤子的扔出和回收

this.startPos = this.rope.position; //記錄起始位置 //繩子搖擺動做 this.shakeAction = cc.repeatForever(cc.sequence(cc.rotateTo(3,60),cc.rotateTo(3,-60))); // 回收鉤子 //繩子收回動做,繩子收回後執行搖擺動做 this.returnAction = cc.se
相關文章
相關標籤/搜索