Browse Source

适配屏幕

xiongzhu 2 years ago
parent
commit
a55d5c08b2
2 changed files with 5 additions and 22 deletions
  1. 2 21
      assets/scence/game.scene
  2. 3 1
      settings/v2/packages/project.json

+ 2 - 21
assets/scence/game.scene

@@ -209,7 +209,7 @@
     "_priority": 0,
     "_fov": 45,
     "_fovAxis": 0,
-    "_orthoHeight": 540,
+    "_orthoHeight": 627.3068893528184,
     "_near": 0,
     "_far": 1000,
     "_color": {
@@ -20104,26 +20104,7 @@
     "textLiveRank": {
       "__id__": 486
     },
-    "rankNods": [
-      {
-        "__id__": 497
-      },
-      {
-        "__id__": 521
-      },
-      {
-        "__id__": 533
-      },
-      {
-        "__id__": 545
-      },
-      {
-        "__id__": 557
-      },
-      {
-        "__id__": 509
-      }
-    ],
+    "rankNods": [],
     "textPointsRank": {
       "__id__": 489
     },

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

@@ -3,7 +3,9 @@
   "general": {
     "designResolution": {
       "width": 1920,
-      "height": 1080
+      "height": 1080,
+      "fitHeight": true,
+      "fitWidth": false
     }
   },
   "custom_joint_texture_layouts": []