xx 1 рік тому
батько
коміт
45f2f36c32

+ 14 - 14
assets/edit_game.scene

@@ -113,7 +113,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 959.9999999999999,
+      "x": 960,
       "y": 540,
       "z": 0
     },
@@ -203,7 +203,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 1919.9999999999998,
+      "width": 1920,
       "height": 1080
     },
     "_anchorPoint": {
@@ -341,7 +341,7 @@
     "_priority": 0,
     "_fov": 45,
     "_fovAxis": 0,
-    "_orthoHeight": 595.5807365439093,
+    "_orthoHeight": 656.6722689075631,
     "_near": 0,
     "_far": 1000,
     "_color": {
@@ -530,7 +530,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 839.9999999999997,
+      "width": 840,
       "height": 1080
     },
     "_anchorPoint": {
@@ -7387,7 +7387,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 419.99999999999983,
+      "x": 420,
       "y": 0,
       "z": 0
     },
@@ -7787,7 +7787,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 799.9999999999997,
+      "width": 800,
       "height": 860
     },
     "_anchorPoint": {
@@ -7905,7 +7905,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -284.99999999999983,
+      "x": -285,
       "y": -105,
       "z": 0
     },
@@ -8188,7 +8188,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 799.9999999999997,
+      "width": 800,
       "height": 210
     },
     "_anchorPoint": {
@@ -8272,7 +8272,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 839.9999999999997,
+      "width": 840,
       "height": 900
     },
     "_anchorPoint": {
@@ -13552,7 +13552,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 839.9999999999997,
+      "width": 840,
       "height": 1080
     },
     "_anchorPoint": {
@@ -15444,7 +15444,7 @@
     "_prefab": null,
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 750.133,
+      "x": 750.1330000000002,
       "y": 0,
       "z": 0
     },
@@ -167802,7 +167802,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 419.99999999999943,
+      "width": 419.9999999999998,
       "height": 1030
     },
     "_anchorPoint": {
@@ -168027,7 +168027,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 419.99999999999943,
+      "width": 419.9999999999998,
       "height": 1080
     },
     "_anchorPoint": {
@@ -170642,7 +170642,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 1919.9999999999998,
+      "width": 1920,
       "height": 1080
     },
     "_anchorPoint": {

Різницю між файлами не показано, бо вона завелика
+ 139 - 314
assets/resources/prefab/run/game_run.prefab


BIN
assets/run/img_left.png


+ 35 - 35
assets/run/img_left.png.meta

@@ -42,14 +42,14 @@
         "trimType": "auto",
         "trimThreshold": 1,
         "rotated": false,
-        "offsetX": 0.5,
+        "offsetX": 0,
         "offsetY": 0,
-        "trimX": 12,
-        "trimY": 35,
-        "width": 177,
-        "height": 130,
-        "rawWidth": 200,
-        "rawHeight": 200,
+        "trimX": 3,
+        "trimY": 3,
+        "width": 106,
+        "height": 146,
+        "rawWidth": 112,
+        "rawHeight": 152,
         "borderTop": 0,
         "borderBottom": 0,
         "borderLeft": 0,
@@ -61,17 +61,17 @@
         "meshType": 0,
         "vertices": {
           "rawPosition": [
-            -88.5,
-            -65,
+            -53,
+            -73,
             0,
-            88.5,
-            -65,
+            53,
+            -73,
             0,
-            -88.5,
-            65,
+            -53,
+            73,
             0,
-            88.5,
-            65,
+            53,
+            73,
             0
           ],
           "indexes": [
@@ -83,33 +83,33 @@
             3
           ],
           "uv": [
-            12,
-            165,
-            189,
-            165,
-            12,
-            35,
-            189,
-            35
+            3,
+            149,
+            109,
+            149,
+            3,
+            3,
+            109,
+            3
           ],
           "nuv": [
-            0.06,
-            0.175,
-            0.945,
-            0.175,
-            0.06,
-            0.825,
-            0.945,
-            0.825
+            0.026785714285714284,
+            0.019736842105263157,
+            0.9732142857142857,
+            0.019736842105263157,
+            0.026785714285714284,
+            0.9802631578947368,
+            0.9732142857142857,
+            0.9802631578947368
           ],
           "minPos": [
-            -88.5,
-            -65,
+            -53,
+            -73,
             0
           ],
           "maxPos": [
-            88.5,
-            65,
+            53,
+            73,
             0
           ]
         },

+ 1 - 1
assets/script/run/game_run.ts

@@ -149,9 +149,9 @@ export class game_run extends Component {
 
     public onlaunch(call){
         this.launch.active = true;
+        call()
         this.scheduleOnce(()=>{
             this.launch.active = false;
-            call()
         },0.7)
     }
 }

Деякі файли не було показано, через те що забагато файлів було змінено