Ver código fonte

优化调整

woso_javan 3 semanas atrás
pai
commit
90febd0048

+ 13 - 13
assets/module_aliens/Prefabs/Levels/level_5.prefab

@@ -14945,9 +14945,9 @@
     "value": {
       "__type__": "cc.Quat",
       "x": 0,
-      "y": -5.92611190119996e-8,
+      "y": -1.0140796824487097e-7,
       "z": 0,
-      "w": 0.9999999407388795
+      "w": 0.9999999828857273
     }
   },
   {
@@ -16391,9 +16391,9 @@
     "value": {
       "__type__": "cc.Quat",
       "x": -8.659310464009318e-17,
-      "y": -8.659309802264828e-17,
-      "z": 0.712473452091217,
-      "w": 0.7016991376876831
+      "y": -8.659309140520338e-17,
+      "z": 0.7124735116958618,
+      "w": 0.7016990780830383
     }
   },
   {
@@ -16433,9 +16433,9 @@
     ],
     "value": {
       "__type__": "cc.Vec3",
-      "x": -0.0010082923683967238,
-      "y": 0.02196004872183721,
-      "z": 0.025001525878904474
+      "x": -0.0010082886368536492,
+      "y": 0.021960048864514192,
+      "z": 0.02500152587890625
     }
   },
   {
@@ -16512,10 +16512,10 @@
     ],
     "value": {
       "__type__": "cc.Quat",
-      "x": -9.397620348111054e-23,
-      "y": -1.1030126873323849e-22,
-      "z": 0.0000014686494158033803,
-      "w": 0.9999999765092897
+      "x": -1.0288781684619403e-22,
+      "y": -1.2003477548159133e-22,
+      "z": 0.000001509831824619834,
+      "w": 1.000000019618341
     }
   },
   {
@@ -32706,7 +32706,7 @@
     "zoomDistance": 10,
     "rotateSpeed": 0.2,
     "horizontalLimit": 70,
-    "verticalLimit": 30,
+    "verticalLimit": 40,
     "_id": ""
   },
   {

+ 8 - 8
assets/module_aliens/Prefabs/UI/Gambit/UI_BattleGambit.prefab

@@ -142,8 +142,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 2,
-      "height": 4.2105263157894735
+      "width": 0.005263157894736842,
+      "height": 0.005263157894736842
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -215,10 +215,10 @@
     },
     "_alignFlags": 45,
     "_target": null,
-    "_left": 0,
-    "_right": 0,
-    "_top": 0,
-    "_bottom": 0,
+    "_left": 379,
+    "_right": 379,
+    "_top": 799,
+    "_bottom": 799,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
     "_isAbsLeft": true,
@@ -1124,10 +1124,10 @@
       "b": 255,
       "a": 255
     },
-    "_string": "Obtain a clue and a probe\nOnly effective for one round\n",
+    "_string": "Obtain 2 detection opportunities\nOnly effective for one round",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
-    "_actualFontSize": 26,
+    "_actualFontSize": 25,
     "_fontSize": 40,
     "_fontFamily": "Arial",
     "_lineHeight": 50,

+ 2 - 2
assets/module_aliens/Prefabs/UI/Gambit/UI_BattleGambit_Impl.ts

@@ -51,8 +51,8 @@ export class UI_BattleGambit_Impl extends UI_BattleGambit {
 
     //增加情报和侦探免费次数
     private addFreeCount() {
-        UserManager.instance.addFreeScreenShotCount(1);
-        UserManager.instance.addRadarFreeCount(1);
+        // UserManager.instance.addFreeScreenShotCount(1);
+        UserManager.instance.addRadarFreeCount(2);
         EventDispatcher.instance.emit(GameEvent.EVENT_REFRESH_PLAYER_INFO); //刷新ui
     }
 }

+ 3 - 3
assets/module_aliens/rooster_aliens.scene

@@ -1982,7 +1982,7 @@
         "__id__": 52
       }
     ],
-    "_active": true,
+    "_active": false,
     "_components": [
       {
         "__id__": 55
@@ -2413,7 +2413,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -81,
+      "y": 0,
       "z": 0
     },
     "_lrot": {
@@ -2809,7 +2809,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 100,
-      "height": 271
+      "height": 109
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 1
assets/module_basic/config/levels_config.json

@@ -1 +1 @@
-{"1":{"level":"level_1","eliminate":600,"target":100,"random":0},"2":{"level":"level_2","eliminate":600,"target":100,"random":1},"3":{"level":"level_3","eliminate":600,"target":100,"random":1},"4":{"level":"level_4","eliminate":600,"target":100,"random":1},"5":{"level":"level_5","eliminate":600,"target":100,"random":1}}
+{"1":{"level":"level_1","eliminate":300,"target":100,"random":0},"2":{"level":"level_2","eliminate":300,"target":100,"random":1},"3":{"level":"level_3","eliminate":300,"target":100,"random":1},"4":{"level":"level_4","eliminate":300,"target":100,"random":1},"5":{"level":"level_5","eliminate":300,"target":100,"random":1}}

+ 1 - 1
assets/start/Config/GlobalConfig.ts

@@ -1,5 +1,5 @@
 export const GlobalConfig = {
     isDebug: false,
     initilizeLevel: 1,//初始关卡
-    levelTotal: 10,   //最大关卡等级
+    levelTotal: 5,   //最大关卡等级
 }

BIN
excel/levels_config.xlsx


+ 79 - 79
profiles/v2/packages/scene.json

@@ -5,7 +5,7 @@
     "__version__": "1.3.7"
   },
   "gizmos-infos": {
-    "is2D": false,
+    "is2D": true,
     "is3DIcon": false,
     "iconSize": 2,
     "gridVisible": true,
@@ -1037,31 +1037,6 @@
       },
       "scale": 1
     },
-    "4fac1625-c75a-4a5f-96e6-e15ddac448ae": {
-      "position": {
-        "x": -19.527394286081062,
-        "y": 614.8630902253991,
-        "z": 2524.319514060595
-      },
-      "rotation": {
-        "x": 0,
-        "y": 0,
-        "z": 0,
-        "w": 1
-      },
-      "viewCenter": {
-        "x": 0,
-        "y": 0,
-        "z": 0
-      },
-      "contentRect": {
-        "x": -181.5,
-        "y": -383.5,
-        "width": 0,
-        "height": 0
-      },
-      "scale": 1
-    },
     "97847f67-f841-48ad-a6b2-6ac8db2fcbfd": {
       "position": {
         "x": 271.7805857982876,
@@ -1187,47 +1162,47 @@
       },
       "scale": 1
     },
-    "be14c61f-22d8-4bb9-b444-ad9f29740469": {
+    "29dc5799-9f85-4365-b308-d63b7f8c6727": {
       "position": {
-        "x": 401.5,
-        "y": 401.5,
-        "z": 5000
+        "x": 380.4249464750022,
+        "y": 803.3922813066284,
+        "z": -0.5948896166688986
       },
       "rotation": {
-        "x": 0,
-        "y": 0,
-        "z": 0,
-        "w": 1
+        "x": -0.17512822310054424,
+        "y": -0.16647102406885073,
+        "z": -0.030056396089774465,
+        "w": 0.9699041788031054
       },
       "viewCenter": {
-        "x": 0,
-        "y": 0,
-        "z": 0
+        "x": 383.3054528966616,
+        "y": 800.1675851986711,
+        "z": -8.738965837554339
       },
       "contentRect": {
         "x": 0,
         "y": 0,
-        "width": 363,
-        "height": 767
+        "width": 803,
+        "height": 803
       },
       "scale": 1
     },
-    "19323c5d-5d36-438a-86ee-8288c690e5b0": {
+    "55742b3c-e667-4650-8011-efdabf3e5d1b": {
       "position": {
-        "x": 17.852290768081694,
-        "y": 17.852290768081687,
-        "z": 17.852290768081687
+        "x": 382.67396223381724,
+        "y": 799.4015569715692,
+        "z": -5.671431110339842
       },
       "rotation": {
-        "x": -0.27984814233312133,
-        "y": 0.3647051996310009,
-        "z": 0.11591689595929512,
-        "w": 0.8804762392171493
+        "x": -0.17061776244251337,
+        "y": -0.22069358924264199,
+        "z": -0.039240772866505194,
+        "w": 0.9595019961162923
       },
       "viewCenter": {
-        "x": 0,
-        "y": 0,
-        "z": 0
+        "x": 383.1471410492118,
+        "y": 799.0038162652921,
+        "z": -6.645622760672939
       },
       "contentRect": {
         "x": 0,
@@ -1237,22 +1212,22 @@
       },
       "scale": 1
     },
-    "29dc5799-9f85-4365-b308-d63b7f8c6727": {
+    "19323c5d-5d36-438a-86ee-8288c690e5b0": {
       "position": {
-        "x": 380.4249464750022,
-        "y": 803.3922813066284,
-        "z": -0.5948896166688986
+        "x": 361.1900193586128,
+        "y": 753.3769890729194,
+        "z": -4.286145266388353
       },
       "rotation": {
-        "x": -0.17512822310054424,
-        "y": -0.16647102406885073,
-        "z": -0.030056396089774465,
-        "w": 0.9699041788031054
+        "x": -0.17944609812651272,
+        "y": -0.1863537273230383,
+        "z": -0.029919064856390752,
+        "w": 0.9654927424574976
       },
       "viewCenter": {
-        "x": 383.3054528966616,
-        "y": 800.1675851986711,
-        "z": -8.738965837554339
+        "x": 0,
+        "y": 0,
+        "z": 0
       },
       "contentRect": {
         "x": 0,
@@ -1262,30 +1237,55 @@
       },
       "scale": 1
     },
-    "55742b3c-e667-4650-8011-efdabf3e5d1b": {
+    "be14c61f-22d8-4bb9-b444-ad9f29740469": {
       "position": {
-        "x": 382.67396223381724,
-        "y": 799.4015569715692,
-        "z": -5.671431110339842
+        "x": 488.1969971291286,
+        "y": 629.5900830566763,
+        "z": 5000
       },
       "rotation": {
-        "x": -0.17061776244251334,
-        "y": -0.22069358924264196,
-        "z": -0.03924077286650519,
-        "w": 0.9595019961162923
+        "x": 0,
+        "y": 0,
+        "z": 0,
+        "w": 1
       },
       "viewCenter": {
-        "x": 383.1471410492118,
-        "y": 799.0038162652921,
-        "z": -6.645622760672939
+        "x": 0,
+        "y": 0,
+        "z": 0
       },
       "contentRect": {
+        "x": -25.162526012305218,
+        "y": -455.1117192834883,
+        "width": 363,
+        "height": 767
+      },
+      "scale": 0.3535533905932735
+    },
+    "4fac1625-c75a-4a5f-96e6-e15ddac448ae": {
+      "position": {
+        "x": 385.32289248686857,
+        "y": 870.5882557138024,
+        "z": 5000
+      },
+      "rotation": {
         "x": 0,
         "y": 0,
-        "width": 803,
-        "height": 803
+        "z": 0,
+        "w": 1
       },
-      "scale": 1
+      "viewCenter": {
+        "x": 0,
+        "y": 0,
+        "z": 0
+      },
+      "contentRect": {
+        "x": 385.3228924868685,
+        "y": 870.5882557138023,
+        "width": 0,
+        "height": 0
+      },
+      "scale": 0.45850202160233516
     }
   },
   "camera-uuids": [
@@ -1329,16 +1329,16 @@
     "ab9c7c8e-778f-48c3-b243-a2a97ca6bca7",
     "d6c70e36-45ba-48fa-813e-b4d0e71ff0db",
     "b4b51e26-8df9-4c27-a300-00e08cb27bd6",
-    "4fac1625-c75a-4a5f-96e6-e15ddac448ae",
     "97847f67-f841-48ad-a6b2-6ac8db2fcbfd",
     "d6678b55-2635-45df-bdce-51e04632740e",
     "7d719727-ff7f-4ee8-81ed-4ee61f407f45",
     "773de0b0-468b-4fbb-965c-36c47d7a4c94",
     "9e293cde-e27b-4902-808b-e884f3e9da32",
-    "be14c61f-22d8-4bb9-b444-ad9f29740469",
-    "19323c5d-5d36-438a-86ee-8288c690e5b0",
     "29dc5799-9f85-4365-b308-d63b7f8c6727",
-    "55742b3c-e667-4650-8011-efdabf3e5d1b"
+    "55742b3c-e667-4650-8011-efdabf3e5d1b",
+    "19323c5d-5d36-438a-86ee-8288c690e5b0",
+    "be14c61f-22d8-4bb9-b444-ad9f29740469",
+    "4fac1625-c75a-4a5f-96e6-e15ddac448ae"
   ],
   "camera": {
     "color": [