xx преди 1 година
родител
ревизия
deb23c4277
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      assets/script/game/car.ts

+ 3 - 3
assets/script/game/car.ts

@@ -474,9 +474,9 @@ export class car extends Component {
         if(!this.isStartGame){
             return
         }
-        this.speed_bei = dis / 7
-        if(this.speed_bei>5){
-            dis*=3
+        this.speed_bei = dis / 10
+        if(this.speed_bei>4){
+            dis*=4
             Tween.stopAllByTarget(this.smoke_particle.node)
             tween(this.smoke_particle.node).delay(1).call(()=>{
                 this.smoke_particle.stopSystem()