Răsfoiți Sursa

调整 优化

woso_javan 2 săptămâni în urmă
părinte
comite
386d5af6ff

BIN
assets/module_aliens/Textures/MiaoZhunJin.png


+ 20 - 20
assets/module_aliens/Textures/MiaoZhunJin.png.meta

@@ -46,10 +46,10 @@
         "offsetY": 0,
         "trimX": 0,
         "trimY": 0,
-        "width": 675,
-        "height": 675,
-        "rawWidth": 675,
-        "rawHeight": 675,
+        "width": 683,
+        "height": 682,
+        "rawWidth": 683,
+        "rawHeight": 682,
         "borderTop": 0,
         "borderBottom": 0,
         "borderLeft": 0,
@@ -61,17 +61,17 @@
         "meshType": 0,
         "vertices": {
           "rawPosition": [
-            -337.5,
-            -337.5,
+            -341.5,
+            -341,
             0,
-            337.5,
-            -337.5,
+            341.5,
+            -341,
             0,
-            -337.5,
-            337.5,
+            -341.5,
+            341,
             0,
-            337.5,
-            337.5,
+            341.5,
+            341,
             0
           ],
           "indexes": [
@@ -84,12 +84,12 @@
           ],
           "uv": [
             0,
-            675,
-            675,
-            675,
+            682,
+            683,
+            682,
             0,
             0,
-            675,
+            683,
             0
           ],
           "nuv": [
@@ -103,13 +103,13 @@
             1
           ],
           "minPos": [
-            -337.5,
-            -337.5,
+            -341.5,
+            -341,
             0
           ],
           "maxPos": [
-            337.5,
-            337.5,
+            341.5,
+            341,
             0
           ]
         },

+ 22 - 40
assets/module_aliens/rooster_aliens.scene

@@ -98,7 +98,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 380,
+      "x": 360,
       "y": 800,
       "z": 0
     },
@@ -430,7 +430,7 @@
       "__type__": "cc.Vec3",
       "x": 1,
       "y": 1,
-      "z": 1
+      "z": 0
     },
     "_mobility": 0,
     "_layer": 33554432,
@@ -454,7 +454,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {
@@ -490,7 +490,7 @@
     },
     "_type": 0,
     "_fillType": 0,
-    "_sizeMode": 0,
+    "_sizeMode": 2,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,
@@ -504,7 +504,7 @@
     "_id": "57VElY3A9BuKeXkkoCnDyH"
   },
   {
-    "__type__": "cc.Widget",
+    "__type__": "df9c1XeTcVFJp2J7fsaRMc+",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
@@ -513,25 +513,7 @@
     },
     "_enabled": true,
     "__prefab": null,
-    "_alignFlags": 45,
-    "_target": null,
-    "_left": 0,
-    "_right": 0,
-    "_top": 0,
-    "_bottom": 0,
-    "_horizontalCenter": 0,
-    "_verticalCenter": 0,
-    "_isAbsLeft": true,
-    "_isAbsRight": true,
-    "_isAbsTop": true,
-    "_isAbsBottom": true,
-    "_isAbsHorizontalCenter": true,
-    "_isAbsVerticalCenter": true,
-    "_originalWidth": 760,
-    "_originalHeight": 1600,
-    "_alignMode": 2,
-    "_lockFlags": 0,
-    "_id": "73mTyYXwpH1o/ogs5BCRti"
+    "_id": "f3IkU3C1ZDQLD/Hhom58hB"
   },
   {
     "__type__": "cc.Node",
@@ -1766,7 +1748,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {
@@ -1942,7 +1924,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -300,
+      "x": -280,
       "y": -450,
       "z": 0
     },
@@ -4252,8 +4234,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 2000,
-      "height": 2000
+      "width": 5000,
+      "height": 5000
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -4280,7 +4262,7 @@
       "r": 0,
       "g": 0,
       "b": 0,
-      "a": 155
+      "a": 100
     },
     "_spriteFrame": {
       "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
@@ -4325,8 +4307,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 500,
-      "height": 500
+      "width": 650,
+      "height": 650
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -4454,8 +4436,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 675,
-      "height": 675
+      "width": 683,
+      "height": 682
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -4490,7 +4472,7 @@
     },
     "_type": 0,
     "_fillType": 0,
-    "_sizeMode": 1,
+    "_sizeMode": 2,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,
@@ -4826,7 +4808,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {
@@ -5156,7 +5138,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -230,
+      "x": -210,
       "y": 465,
       "z": 0
     },
@@ -6635,7 +6617,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {
@@ -6730,7 +6712,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -300,
+      "x": -280,
       "y": 709.9999999999999,
       "z": 0
     },
@@ -7368,7 +7350,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {
@@ -7586,7 +7568,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {

+ 3 - 0
assets/start/Start.ts

@@ -18,6 +18,9 @@ const _preloadRes = [
     { bundle: ModuleDef.BASIC, url: 'ui_tips/UI_Tips', type: 'prefab' },
     { bundle: ModuleDef.BASIC, url: 'ui_waiting/UI_Waiting', type: 'prefab' },
     { bundle: ModuleDef.MODULE_ALIENS, url: 'Prefabs/UI/Result/UI_BattleResult', type: 'prefab' },
+    { bundle: ModuleDef.MODULE_ALIENS, url: 'Prefabs/UI/Gambit/UI_BattleGambit', type: 'prefab' },
+    { bundle: ModuleDef.MODULE_ALIENS, url: 'Prefabs/UI/PowerUp/UI_PowerUp', type: 'prefab' },
+    { bundle: ModuleDef.MODULE_ALIENS, url: 'Prefabs/UI/TimeExpan/UI_TimeExpan', type: 'prefab' },
     { bundle: ModuleDef.MODULE_ALIENS, url: 'Prefabs/Levels/level_1', type: 'prefab' },
     { bundle: ModuleDef.MODULE_ALIENS, url: 'Audio/bgm1.mp3', type: 'audio' },
     { bundle: ModuleDef.MODULE_ALIENS, url: 'Audio/dianji.mp3', type: 'audio' },

+ 106 - 68
assets/start/start.scene

@@ -52,7 +52,7 @@
     },
     "autoReleaseAssets": false,
     "_globals": {
-      "__id__": 25
+      "__id__": 26
     },
     "_id": "9e293cde-e27b-4902-808b-e884f3e9da32"
   },
@@ -72,14 +72,11 @@
         "__id__": 5
       },
       {
-        "__id__": 10
+        "__id__": 11
       }
     ],
     "_active": true,
     "_components": [
-      {
-        "__id__": 20
-      },
       {
         "__id__": 21
       },
@@ -91,12 +88,15 @@
       },
       {
         "__id__": 24
+      },
+      {
+        "__id__": 25
       }
     ],
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 380,
+      "x": 360,
       "y": 800,
       "z": 0
     },
@@ -216,18 +216,64 @@
   },
   {
     "__type__": "cc.Node",
-    "_name": "bg",
+    "_name": "frame",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
       "__id__": 2
     },
-    "_children": [],
+    "_children": [
+      {
+        "__id__": 6
+      }
+    ],
     "_active": true,
     "_components": [
       {
-        "__id__": 6
-      },
+        "__id__": 10
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "2bIvIvzQRAVoR3Fwo3Yjo4"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 5
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
       {
         "__id__": 7
       },
@@ -247,10 +293,10 @@
     },
     "_lrot": {
       "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
+      "x": null,
+      "y": null,
+      "z": null,
+      "w": null
     },
     "_lscale": {
       "__type__": "cc.Vec3",
@@ -274,7 +320,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 5
+      "__id__": 6
     },
     "_enabled": true,
     "__prefab": null,
@@ -296,7 +342,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 5
+      "__id__": 6
     },
     "_enabled": true,
     "__prefab": null,
@@ -335,14 +381,14 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 5
+      "__id__": 6
     },
     "_enabled": true,
     "__prefab": null,
-    "_id": "69dGEGdDdGCojcTSXYK/DD"
+    "_id": "3dlrnel49EUIRUk0hWOBfJ"
   },
   {
-    "__type__": "cc.Widget",
+    "__type__": "cc.UITransform",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
@@ -351,25 +397,17 @@
     },
     "_enabled": true,
     "__prefab": null,
-    "_alignFlags": 45,
-    "_target": null,
-    "_left": 20,
-    "_right": 20,
-    "_top": 0,
-    "_bottom": 0,
-    "_horizontalCenter": 0,
-    "_verticalCenter": 0,
-    "_isAbsLeft": true,
-    "_isAbsRight": true,
-    "_isAbsTop": true,
-    "_isAbsBottom": true,
-    "_isAbsHorizontalCenter": true,
-    "_isAbsVerticalCenter": true,
-    "_originalWidth": 760,
-    "_originalHeight": 1600,
-    "_alignMode": 2,
-    "_lockFlags": 0,
-    "_id": "c3hiQRWbhIZY5SN6JkiVJi"
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 720,
+      "height": 1600
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "d0BbxMa79Hjb1VXGjUUL2G"
   },
   {
     "__type__": "cc.Node",
@@ -381,22 +419,22 @@
     },
     "_children": [
       {
-        "__id__": 11
+        "__id__": 12
       },
       {
-        "__id__": 14
+        "__id__": 15
       }
     ],
     "_active": true,
     "_components": [
-      {
-        "__id__": 17
-      },
       {
         "__id__": 18
       },
       {
         "__id__": 19
+      },
+      {
+        "__id__": 20
       }
     ],
     "_prefab": null,
@@ -435,16 +473,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 10
+      "__id__": 11
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 12
+        "__id__": 13
       },
       {
-        "__id__": 13
+        "__id__": 14
       }
     ],
     "_prefab": null,
@@ -483,7 +521,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 11
+      "__id__": 12
     },
     "_enabled": true,
     "__prefab": null,
@@ -505,7 +543,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 11
+      "__id__": 12
     },
     "_enabled": true,
     "__prefab": null,
@@ -544,16 +582,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 10
+      "__id__": 11
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 15
+        "__id__": 16
       },
       {
-        "__id__": 16
+        "__id__": 17
       }
     ],
     "_prefab": null,
@@ -592,7 +630,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 15
     },
     "_enabled": true,
     "__prefab": null,
@@ -614,7 +652,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 15
     },
     "_enabled": true,
     "__prefab": null,
@@ -679,7 +717,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 10
+      "__id__": 11
     },
     "_enabled": true,
     "__prefab": null,
@@ -701,7 +739,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 10
+      "__id__": 11
     },
     "_enabled": true,
     "__prefab": null,
@@ -740,12 +778,12 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 10
+      "__id__": 11
     },
     "_enabled": true,
     "__prefab": null,
     "_barSprite": {
-      "__id__": 13
+      "__id__": 14
     },
     "_mode": 0,
     "_totalLength": 640,
@@ -765,7 +803,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 760,
+      "width": 720,
       "height": 1600
     },
     "_anchorPoint": {
@@ -832,14 +870,14 @@
     "_enabled": true,
     "__prefab": null,
     "txtLoading": {
-      "__id__": 16
+      "__id__": 17
     },
     "uiCanvasPrefab": {
       "__uuid__": "469e39c1-3bdc-4490-987b-99aaa169fdf4",
       "__expectedType__": "cc.Prefab"
     },
     "loadingBar": {
-      "__id__": 19
+      "__id__": 20
     },
     "_id": "ccwYlVBqtP3qOrWWpSPSZW"
   },
@@ -863,28 +901,28 @@
   {
     "__type__": "cc.SceneGlobals",
     "ambient": {
-      "__id__": 26
+      "__id__": 27
     },
     "shadows": {
-      "__id__": 27
+      "__id__": 28
     },
     "_skybox": {
-      "__id__": 28
+      "__id__": 29
     },
     "fog": {
-      "__id__": 29
+      "__id__": 30
     },
     "octree": {
-      "__id__": 30
+      "__id__": 31
     },
     "skin": {
-      "__id__": 31
+      "__id__": 32
     },
     "lightProbeInfo": {
-      "__id__": 32
+      "__id__": 33
     },
     "postSettings": {
-      "__id__": 33
+      "__id__": 34
     },
     "bakedWithStationaryMainLight": false,
     "bakedWithHighpLightmap": false

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
build/web-mobile/assets/main/index.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
build/web-mobile/src/settings.json


+ 2 - 2
profiles/v2/packages/builder.json

@@ -100,7 +100,7 @@
         "progress": 1,
         "state": "success",
         "stage": "run",
-        "message": "2025-5-16 17:53:04 run package E:\\CocosCreator\\_Aliens\\build\\web-mobile success!",
+        "message": "2025-5-19 10:28:50 run package E:\\CocosCreator\\_Aliens\\build\\web-mobile success!",
         "options": {
           "name": "SnipingAliens",
           "server": "",
@@ -146,7 +146,7 @@
           "buildMode": "normal",
           "logDest": "project://temp/builder/log/web-mobile2025-1-13 17-06.log"
         },
-        "time": "2025-5-16 17:52:18",
+        "time": "2025-5-19 10:28:39",
         "dirty": false
       },
       "1741673552280": {

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

@@ -1214,8 +1214,8 @@
     },
     "19323c5d-5d36-438a-86ee-8288c690e5b0": {
       "position": {
-        "x": 75.20833333333333,
-        "y": 160.20833333333331,
+        "x": 0,
+        "y": 0,
         "z": 5000
       },
       "rotation": {
@@ -1230,17 +1230,17 @@
         "z": 0
       },
       "contentRect": {
-        "x": 181.5,
-        "y": 383.49999999999994,
-        "width": 353,
-        "height": 745.8705234159779
+        "x": 0,
+        "y": 0,
+        "width": 0,
+        "height": 0
       },
-      "scale": 0.9724517906336089
+      "scale": 1
     },
     "9e293cde-e27b-4902-808b-e884f3e9da32": {
       "position": {
-        "x": 937.5,
-        "y": 625,
+        "x": 344.12583826884884,
+        "y": 661.4618612554085,
         "z": 5000
       },
       "rotation": {
@@ -1255,17 +1255,17 @@
         "z": 0
       },
       "contentRect": {
-        "x": 0,
-        "y": 0,
-        "width": 1875,
-        "height": 1250
+        "x": -835.8452160404408,
+        "y": -519.980478657758,
+        "width": 356.85,
+        "height": 793
       },
-      "scale": 1
+      "scale": 0.33560145272529873
     },
     "be14c61f-22d8-4bb9-b444-ad9f29740469": {
       "position": {
-        "x": 356.7972170521932,
-        "y": 400.54818001658487,
+        "x": -61.30487486932475,
+        "y": 709.3601531636875,
         "z": 5000
       },
       "rotation": {
@@ -1280,12 +1280,12 @@
         "z": 0
       },
       "contentRect": {
-        "x": -1239.7660429936755,
-        "y": -663.8273266806608,
+        "x": -1196.918365454922,
+        "y": -426.25333742190986,
         "width": 793,
         "height": 793
       },
-      "scale": 0.5871987809446811
+      "scale": 0.34915048411016886
     }
   },
   "camera-uuids": [

+ 1 - 1
settings/v2/packages/project.json

@@ -2,7 +2,7 @@
   "general": {
     "highQuality": true,
     "designResolution": {
-      "width": 760,
+      "width": 720,
       "height": 1600
     }
   },

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff