xx 1 rok temu
rodzic
commit
e88e88d0a0
2 zmienionych plików z 23 dodań i 23 usunięć
  1. 22 22
      assets/resources/prefabs/game.prefab
  2. 1 1
      assets/script/game/car.ts

+ 22 - 22
assets/resources/prefabs/game.prefab

@@ -3623,7 +3623,7 @@
       "__id__": 11
     },
     "_children": [],
-    "_active": true,
+    "_active": false,
     "_components": [
       {
         "__id__": 161
@@ -3637,8 +3637,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 0,
-      "y": -109.145,
+      "x": 2.217,
+      "y": -181.929,
       "z": 0
     },
     "_lrot": {
@@ -3718,13 +3718,13 @@
       "a": 255
     },
     "duration": -1,
-    "emissionRate": 100,
+    "emissionRate": 300,
     "life": 0.20000000298023224,
-    "lifeVar": 0.5,
+    "lifeVar": 1,
     "angle": 0,
     "angleVar": 360,
-    "startSize": 50,
-    "startSizeVar": 50,
+    "startSize": 100,
+    "startSizeVar": 100,
     "endSize": 0,
     "endSizeVar": 0,
     "startSpin": 0,
@@ -3739,25 +3739,25 @@
     "posVar": {
       "__type__": "cc.Vec2",
       "x": 0,
-      "y": 0
+      "y": 100
     },
     "emitterMode": 0,
     "gravity": {
       "__type__": "cc.Vec2",
       "x": 0,
-      "y": 0
+      "y": -200
     },
     "speed": 100,
     "speedVar": 0,
     "tangentialAccel": 0,
     "tangentialAccelVar": 0,
     "radialAccel": -100,
-    "radialAccelVar": 50,
+    "radialAccelVar": 0,
     "rotationIsDir": false,
     "startRadius": 0,
     "startRadiusVar": 0,
     "endRadius": 0,
-    "endRadiusVar": 0,
+    "endRadiusVar": 500,
     "rotatePerS": 0,
     "rotatePerSVar": 0,
     "playOnLoad": true,
@@ -3770,19 +3770,19 @@
       "__uuid__": "ac74ded3-27d5-4c24-8f40-56fc4893ad29@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
-    "_totalParticles": 100,
+    "_totalParticles": 300,
     "_startColor": {
       "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
+      "r": 40,
+      "g": 155,
+      "b": 19,
       "a": 255
     },
     "_startColorVar": {
       "__type__": "cc.Color",
-      "r": 0,
-      "g": 0,
-      "b": 0,
+      "r": 148,
+      "g": 64,
+      "b": 64,
       "a": 255
     },
     "_endColor": {
@@ -3794,12 +3794,12 @@
     },
     "_endColorVar": {
       "__type__": "cc.Color",
-      "r": 0,
-      "g": 0,
-      "b": 0,
+      "r": 255,
+      "g": 255,
+      "b": 255,
       "a": 255
     },
-    "_positionType": 0,
+    "_positionType": 2,
     "_id": ""
   },
   {

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

@@ -421,7 +421,7 @@ export class car extends Component {
     public setDisDir(dis:number){
         this.speed_bei = dis / 10
         if(this.speed_bei>5){
-            dis*=1.8
+            dis*=3
             if(userDataManager.user_car_list.default_car_id==1){
                 audioManager.Instance().playSound(config.AUDIO.zi_xing_che_sha_che)
             }else{