lanyunfei hai 1 día
pai
achega
22c0bcc2fe
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      assets/script/zuma/FightCore.ts

+ 5 - 5
assets/script/zuma/FightCore.ts

@@ -1278,12 +1278,12 @@ export default class FightCore extends cc.Component {
     @render
     showSpeed() {
         let speed = Data.game.gameSpeed
-        let speedCircle = cc.find('speed_circle', this.speed)
-        speedCircle.active = speed > 1
+        let tip = cc.find('tip', this.speed)
+        tip.active = speed > 1
         //cc.find('tip', this.speed).active = speed > 1
-        if (speedCircle.active) {
-            speedCircle.runAction(cc.rotateBy(1, 360).repeatForever())
-        }
+        // if (speedCircle.active) {
+        //     speedCircle.runAction(cc.rotateBy(1, 360).repeatForever())
+        // }
     }
 
     public setGameTex(url: string, node?: cc.Node, childUrl?: string) {