Explorar o código

加载UI替换

woso_javan hai 4 meses
pai
achega
6c407cbb4a

+ 1 - 1
assets/module_movecar/RoosterMoveCar.ts

@@ -38,7 +38,7 @@ export class RoosterMoveCar extends Component {
 
     async startGame() {
         //DOTO 获取保存等级
-        LevelManager.instance.levelModel.level = 5;
+        LevelManager.instance.levelModel.level = 1;
         await LevelManager.instance.gameStart();
     }
 

+ 1 - 1
assets/module_movecar/Script/CarColorsGlobalTypes.ts

@@ -56,7 +56,7 @@ export const CarColorHex: Record<CarColors, string> = {
     [CarColors.Pink]: "#EB88BB",
     [CarColors.Purple]: "#F32AF3",
     [CarColors.Brown]: "#F5A71D",
-    [CarColors.Black]: "#000000",
+    [CarColors.Black]: "#968a6c",
     [CarColors.SpriteWhite]: "#FFFFFF",
 };
 

BIN=BIN
assets/start/BeiJin.png


BIN=BIN
assets/start/BeiJin1.jpg


+ 15 - 15
assets/start/BeiJin.png.meta → assets/start/BeiJin1.jpg.meta

@@ -2,28 +2,28 @@
   "ver": "1.0.26",
   "importer": "image",
   "imported": true,
-  "uuid": "b55ce1fe-d8c4-427d-a46f-322017c6632f",
+  "uuid": "ce44843f-9469-439a-bd03-d8b96f412e01",
   "files": [
-    ".json",
-    ".png"
+    ".jpg",
+    ".json"
   ],
   "subMetas": {
     "6c48a": {
       "importer": "texture",
-      "uuid": "b55ce1fe-d8c4-427d-a46f-322017c6632f@6c48a",
-      "displayName": "BeiJin",
+      "uuid": "ce44843f-9469-439a-bd03-d8b96f412e01@6c48a",
+      "displayName": "BeiJin1",
       "id": "6c48a",
       "name": "texture",
       "userData": {
         "wrapModeS": "clamp-to-edge",
         "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "ce44843f-9469-439a-bd03-d8b96f412e01",
+        "isUuid": true,
+        "visible": false,
         "minfilter": "linear",
         "magfilter": "linear",
-        "mipfilter": "none",
-        "anisotropy": 0,
-        "isUuid": true,
-        "imageUuidOrDatabaseUri": "b55ce1fe-d8c4-427d-a46f-322017c6632f",
-        "visible": false
+        "mipfilter": "nearest",
+        "anisotropy": 0
       },
       "ver": "1.0.22",
       "imported": true,
@@ -34,8 +34,8 @@
     },
     "f9941": {
       "importer": "sprite-frame",
-      "uuid": "b55ce1fe-d8c4-427d-a46f-322017c6632f@f9941",
-      "displayName": "BeiJin",
+      "uuid": "ce44843f-9469-439a-bd03-d8b96f412e01@f9941",
+      "displayName": "BeiJin1",
       "id": "f9941",
       "name": "spriteFrame",
       "userData": {
@@ -114,7 +114,7 @@
           ]
         },
         "isUuid": true,
-        "imageUuidOrDatabaseUri": "b55ce1fe-d8c4-427d-a46f-322017c6632f@6c48a",
+        "imageUuidOrDatabaseUri": "ce44843f-9469-439a-bd03-d8b96f412e01@6c48a",
         "atlasUuid": ""
       },
       "ver": "1.0.12",
@@ -126,9 +126,9 @@
     }
   },
   "userData": {
-    "hasAlpha": false,
     "type": "sprite-frame",
+    "hasAlpha": false,
     "fixAlphaTransparencyArtifacts": false,
-    "redirect": "b55ce1fe-d8c4-427d-a46f-322017c6632f@f9941"
+    "redirect": "ce44843f-9469-439a-bd03-d8b96f412e01@f9941"
   }
 }

BIN=BIN
assets/start/CaiDai.png


+ 36 - 36
assets/start/LuoSi.png.meta → assets/start/CaiDai.png.meta

@@ -2,7 +2,7 @@
   "ver": "1.0.26",
   "importer": "image",
   "imported": true,
-  "uuid": "a125458f-02d6-4ff5-a225-490af2df6736",
+  "uuid": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7",
   "files": [
     ".json",
     ".png"
@@ -10,20 +10,20 @@
   "subMetas": {
     "6c48a": {
       "importer": "texture",
-      "uuid": "a125458f-02d6-4ff5-a225-490af2df6736@6c48a",
-      "displayName": "LuoSi",
+      "uuid": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7@6c48a",
+      "displayName": "CaiDai",
       "id": "6c48a",
       "name": "texture",
       "userData": {
         "wrapModeS": "clamp-to-edge",
         "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7",
+        "isUuid": true,
+        "visible": false,
         "minfilter": "linear",
         "magfilter": "linear",
-        "mipfilter": "none",
-        "anisotropy": 0,
-        "isUuid": true,
-        "imageUuidOrDatabaseUri": "a125458f-02d6-4ff5-a225-490af2df6736",
-        "visible": false
+        "mipfilter": "nearest",
+        "anisotropy": 0
       },
       "ver": "1.0.22",
       "imported": true,
@@ -34,22 +34,22 @@
     },
     "f9941": {
       "importer": "sprite-frame",
-      "uuid": "a125458f-02d6-4ff5-a225-490af2df6736@f9941",
-      "displayName": "LuoSi",
+      "uuid": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7@f9941",
+      "displayName": "CaiDai",
       "id": "f9941",
       "name": "spriteFrame",
       "userData": {
         "trimType": "auto",
         "trimThreshold": 1,
         "rotated": false,
-        "offsetX": -1.5,
+        "offsetX": -8,
         "offsetY": 0,
         "trimX": 0,
         "trimY": 0,
-        "width": 676,
-        "height": 242,
-        "rawWidth": 679,
-        "rawHeight": 242,
+        "width": 679,
+        "height": 1059,
+        "rawWidth": 695,
+        "rawHeight": 1059,
         "borderTop": 0,
         "borderBottom": 0,
         "borderLeft": 0,
@@ -61,17 +61,17 @@
         "meshType": 0,
         "vertices": {
           "rawPosition": [
-            -338,
-            -121,
+            -339.5,
+            -529.5,
             0,
-            338,
-            -121,
+            339.5,
+            -529.5,
             0,
-            -338,
-            121,
+            -339.5,
+            529.5,
             0,
-            338,
-            121,
+            339.5,
+            529.5,
             0
           ],
           "indexes": [
@@ -84,37 +84,37 @@
           ],
           "uv": [
             0,
-            242,
-            676,
-            242,
+            1059,
+            679,
+            1059,
             0,
             0,
-            676,
+            679,
             0
           ],
           "nuv": [
             0,
             0,
-            0.9955817378497791,
+            0.9769784172661871,
             0,
             0,
             1,
-            0.9955817378497791,
+            0.9769784172661871,
             1
           ],
           "minPos": [
-            -338,
-            -121,
+            -339.5,
+            -529.5,
             0
           ],
           "maxPos": [
-            338,
-            121,
+            339.5,
+            529.5,
             0
           ]
         },
         "isUuid": true,
-        "imageUuidOrDatabaseUri": "a125458f-02d6-4ff5-a225-490af2df6736@6c48a",
+        "imageUuidOrDatabaseUri": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7@6c48a",
         "atlasUuid": ""
       },
       "ver": "1.0.12",
@@ -126,9 +126,9 @@
     }
   },
   "userData": {
-    "hasAlpha": true,
     "type": "sprite-frame",
+    "hasAlpha": true,
     "fixAlphaTransparencyArtifacts": false,
-    "redirect": "a125458f-02d6-4ff5-a225-490af2df6736@f9941"
+    "redirect": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7@f9941"
   }
 }

BIN=BIN
assets/start/Icon.png


BIN=BIN
assets/start/JinDuTiaoNei.png


+ 20 - 20
assets/start/JinDuTiaoNei.png.meta

@@ -46,10 +46,10 @@
         "offsetY": 0,
         "trimX": 0,
         "trimY": 0,
-        "width": 644,
-        "height": 41,
-        "rawWidth": 644,
-        "rawHeight": 41,
+        "width": 622,
+        "height": 24,
+        "rawWidth": 622,
+        "rawHeight": 24,
         "borderTop": 0,
         "borderBottom": 0,
         "borderLeft": 0,
@@ -61,17 +61,17 @@
         "meshType": 0,
         "vertices": {
           "rawPosition": [
-            -322,
-            -20.5,
+            -311,
+            -12,
             0,
-            322,
-            -20.5,
+            311,
+            -12,
             0,
-            -322,
-            20.5,
+            -311,
+            12,
             0,
-            322,
-            20.5,
+            311,
+            12,
             0
           ],
           "indexes": [
@@ -84,12 +84,12 @@
           ],
           "uv": [
             0,
-            41,
-            644,
-            41,
+            24,
+            622,
+            24,
             0,
             0,
-            644,
+            622,
             0
           ],
           "nuv": [
@@ -103,13 +103,13 @@
             1
           ],
           "minPos": [
-            -322,
-            -20.5,
+            -311,
+            -12,
             0
           ],
           "maxPos": [
-            322,
-            20.5,
+            311,
+            12,
             0
           ]
         },

BIN=BIN
assets/start/LOGO1.png


+ 28 - 28
assets/start/Icon.png.meta → assets/start/LOGO1.png.meta

@@ -2,7 +2,7 @@
   "ver": "1.0.26",
   "importer": "image",
   "imported": true,
-  "uuid": "b7e69413-10fd-412b-a225-697d7a50830d",
+  "uuid": "3651b638-b7ba-4c1c-a178-30a8c9b3957f",
   "files": [
     ".json",
     ".png"
@@ -10,14 +10,14 @@
   "subMetas": {
     "6c48a": {
       "importer": "texture",
-      "uuid": "b7e69413-10fd-412b-a225-697d7a50830d@6c48a",
-      "displayName": "Icon",
+      "uuid": "3651b638-b7ba-4c1c-a178-30a8c9b3957f@6c48a",
+      "displayName": "LOGO1",
       "id": "6c48a",
       "name": "texture",
       "userData": {
         "wrapModeS": "clamp-to-edge",
         "wrapModeT": "clamp-to-edge",
-        "imageUuidOrDatabaseUri": "b7e69413-10fd-412b-a225-697d7a50830d",
+        "imageUuidOrDatabaseUri": "3651b638-b7ba-4c1c-a178-30a8c9b3957f",
         "isUuid": true,
         "visible": false,
         "minfilter": "linear",
@@ -34,8 +34,8 @@
     },
     "f9941": {
       "importer": "sprite-frame",
-      "uuid": "b7e69413-10fd-412b-a225-697d7a50830d@f9941",
-      "displayName": "Icon",
+      "uuid": "3651b638-b7ba-4c1c-a178-30a8c9b3957f@f9941",
+      "displayName": "LOGO1",
       "id": "f9941",
       "name": "spriteFrame",
       "userData": {
@@ -46,10 +46,10 @@
         "offsetY": 0,
         "trimX": 0,
         "trimY": 0,
-        "width": 490,
-        "height": 384,
-        "rawWidth": 490,
-        "rawHeight": 384,
+        "width": 724,
+        "height": 414,
+        "rawWidth": 724,
+        "rawHeight": 414,
         "borderTop": 0,
         "borderBottom": 0,
         "borderLeft": 0,
@@ -61,17 +61,17 @@
         "meshType": 0,
         "vertices": {
           "rawPosition": [
-            -245,
-            -192,
+            -362,
+            -207,
             0,
-            245,
-            -192,
+            362,
+            -207,
             0,
-            -245,
-            192,
+            -362,
+            207,
             0,
-            245,
-            192,
+            362,
+            207,
             0
           ],
           "indexes": [
@@ -84,12 +84,12 @@
           ],
           "uv": [
             0,
-            384,
-            490,
-            384,
+            414,
+            724,
+            414,
             0,
             0,
-            490,
+            724,
             0
           ],
           "nuv": [
@@ -103,18 +103,18 @@
             1
           ],
           "minPos": [
-            -245,
-            -192,
+            -362,
+            -207,
             0
           ],
           "maxPos": [
-            245,
-            192,
+            362,
+            207,
             0
           ]
         },
         "isUuid": true,
-        "imageUuidOrDatabaseUri": "b7e69413-10fd-412b-a225-697d7a50830d@6c48a",
+        "imageUuidOrDatabaseUri": "3651b638-b7ba-4c1c-a178-30a8c9b3957f@6c48a",
         "atlasUuid": ""
       },
       "ver": "1.0.12",
@@ -129,6 +129,6 @@
     "type": "sprite-frame",
     "hasAlpha": true,
     "fixAlphaTransparencyArtifacts": false,
-    "redirect": "b7e69413-10fd-412b-a225-697d7a50830d@f9941"
+    "redirect": "3651b638-b7ba-4c1c-a178-30a8c9b3957f@f9941"
   }
 }

BIN=BIN
assets/start/LuoSi.png


BIN=BIN
assets/start/logo.png


+ 0 - 134
assets/start/logo.png.meta

@@ -1,134 +0,0 @@
-{
-  "ver": "1.0.26",
-  "importer": "image",
-  "imported": true,
-  "uuid": "651b4cca-756e-43b6-acdc-cbf42751df2e",
-  "files": [
-    ".json",
-    ".png"
-  ],
-  "subMetas": {
-    "6c48a": {
-      "importer": "texture",
-      "uuid": "651b4cca-756e-43b6-acdc-cbf42751df2e@6c48a",
-      "displayName": "logo",
-      "id": "6c48a",
-      "name": "texture",
-      "userData": {
-        "wrapModeS": "clamp-to-edge",
-        "wrapModeT": "clamp-to-edge",
-        "minfilter": "linear",
-        "magfilter": "linear",
-        "mipfilter": "none",
-        "anisotropy": 0,
-        "isUuid": true,
-        "imageUuidOrDatabaseUri": "651b4cca-756e-43b6-acdc-cbf42751df2e",
-        "visible": false
-      },
-      "ver": "1.0.22",
-      "imported": true,
-      "files": [
-        ".json"
-      ],
-      "subMetas": {}
-    },
-    "f9941": {
-      "importer": "sprite-frame",
-      "uuid": "651b4cca-756e-43b6-acdc-cbf42751df2e@f9941",
-      "displayName": "logo",
-      "id": "f9941",
-      "name": "spriteFrame",
-      "userData": {
-        "trimType": "auto",
-        "trimThreshold": 1,
-        "rotated": false,
-        "offsetX": -1,
-        "offsetY": -0.5,
-        "trimX": 0,
-        "trimY": 1,
-        "width": 740,
-        "height": 397,
-        "rawWidth": 742,
-        "rawHeight": 398,
-        "borderTop": 0,
-        "borderBottom": 0,
-        "borderLeft": 0,
-        "borderRight": 0,
-        "packable": true,
-        "pixelsToUnit": 100,
-        "pivotX": 0.5,
-        "pivotY": 0.5,
-        "meshType": 0,
-        "vertices": {
-          "rawPosition": [
-            -370,
-            -198.5,
-            0,
-            370,
-            -198.5,
-            0,
-            -370,
-            198.5,
-            0,
-            370,
-            198.5,
-            0
-          ],
-          "indexes": [
-            0,
-            1,
-            2,
-            2,
-            1,
-            3
-          ],
-          "uv": [
-            0,
-            397,
-            740,
-            397,
-            0,
-            0,
-            740,
-            0
-          ],
-          "nuv": [
-            0,
-            0,
-            0.9973045822102425,
-            0,
-            0,
-            0.9974874371859297,
-            0.9973045822102425,
-            0.9974874371859297
-          ],
-          "minPos": [
-            -370,
-            -198.5,
-            0
-          ],
-          "maxPos": [
-            370,
-            198.5,
-            0
-          ]
-        },
-        "isUuid": true,
-        "imageUuidOrDatabaseUri": "651b4cca-756e-43b6-acdc-cbf42751df2e@6c48a",
-        "atlasUuid": ""
-      },
-      "ver": "1.0.12",
-      "imported": true,
-      "files": [
-        ".json"
-      ],
-      "subMetas": {}
-    }
-  },
-  "userData": {
-    "hasAlpha": true,
-    "type": "sprite-frame",
-    "fixAlphaTransparencyArtifacts": false,
-    "redirect": "651b4cca-756e-43b6-acdc-cbf42751df2e@f9941"
-  }
-}

+ 29 - 29
assets/start/start.scene

@@ -105,8 +105,8 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 360,
-      "y": 800,
+      "x": 380,
+      "y": 800.0000000000001,
       "z": 0
     },
     "_lrot": {
@@ -191,7 +191,7 @@
     "_priority": 6553,
     "_fov": 45,
     "_fovAxis": 0,
-    "_orthoHeight": 800,
+    "_orthoHeight": 800.0000000000001,
     "_near": 1,
     "_far": 2000,
     "_color": {
@@ -263,8 +263,8 @@
     },
     "_lscale": {
       "__type__": "cc.Vec3",
-      "x": 0.9473684210526315,
-      "y": 0.9473684210526315,
+      "x": 1,
+      "y": 1,
       "z": 0
     },
     "_mobility": 0,
@@ -289,8 +289,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 802.2222222222223,
-      "height": 1788.2352941176473
+      "width": 760,
+      "height": 1600
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -320,7 +320,7 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "b55ce1fe-d8c4-427d-a46f-322017c6632f@f9941",
+      "__uuid__": "ce44843f-9469-439a-bd03-d8b96f412e01@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 0,
@@ -362,10 +362,10 @@
     "__prefab": null,
     "_alignFlags": 45,
     "_target": null,
-    "_left": -20,
-    "_right": -20,
-    "_top": -47.058823529411825,
-    "_bottom": -47.058823529411825,
+    "_left": 0,
+    "_right": 0,
+    "_top": 1.1368683772161603e-13,
+    "_bottom": 1.1368683772161603e-13,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
     "_isAbsLeft": true,
@@ -471,7 +471,7 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "651b4cca-756e-43b6-acdc-cbf42751df2e@f9941",
+      "__uuid__": "3651b638-b7ba-4c1c-a178-30a8c9b3957f@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 0,
@@ -491,7 +491,7 @@
   },
   {
     "__type__": "cc.Node",
-    "_name": "logo1",
+    "_name": "caidai",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
@@ -510,8 +510,8 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 14.781,
-      "y": -228.507,
+      "x": 0,
+      "y": 180,
       "z": 0
     },
     "_lrot": {
@@ -535,7 +535,7 @@
       "y": 0,
       "z": 0
     },
-    "_id": "11PH9fI8lDup1bh2wq4Pr0"
+    "_id": "51P/sEsWVE7KwYz9vBfQu2"
   },
   {
     "__type__": "cc.UITransform",
@@ -550,14 +550,14 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 679,
-      "height": 242
+      "height": 1059
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
       "x": 0.5,
       "y": 0.5
     },
-    "_id": "5cCHjVpYdFjoul9sL4KErk"
+    "_id": "68ECeiDVhD6LSX82imAoIo"
   },
   {
     "__type__": "cc.Sprite",
@@ -580,12 +580,12 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "a125458f-02d6-4ff5-a225-490af2df6736@f9941",
+      "__uuid__": "be2257b3-5d7c-49f0-b099-36fbc31a2ac7@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 0,
     "_fillType": 0,
-    "_sizeMode": 0,
+    "_sizeMode": 1,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,
@@ -596,7 +596,7 @@
     "_isTrimmedMode": true,
     "_useGrayscale": false,
     "_atlas": null,
-    "_id": "52YeCpi0tMir4z3OlmFVl7"
+    "_id": "feQ3B+nPlH8YRoYvqijbrP"
   },
   {
     "__type__": "cc.Node",
@@ -1349,7 +1349,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 80,
+      "y": 14,
       "z": 0
     },
     "_lrot": {
@@ -1474,8 +1474,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 699,
-      "height": 87
+      "width": 700,
+      "height": 84
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1508,9 +1508,9 @@
       "__uuid__": "f7d206fa-5bd1-4151-98fe-09bbf3ad322e@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
-    "_type": 0,
+    "_type": 1,
     "_fillType": 0,
-    "_sizeMode": 2,
+    "_sizeMode": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,
@@ -1554,8 +1554,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 720,
-      "height": 1600
+      "width": 760,
+      "height": 1600.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",