jack.du преди 1 година
родител
ревизия
00e9b88230
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      assets/Script/GameMain/GameMain.ts
  2. 3 3
      assets/resources/Prefab/GameMain/GameMainPrefab.prefab

+ 1 - 1
assets/Script/GameMain/GameMain.ts

@@ -382,7 +382,7 @@ export default class GameMain extends cc.Component {
         this.failNode.active = true;
         gameModel.historyScores.push(this.sumScoreNum);
         localStorage.setItem('historyScores', JSON.stringify(gameModel.historyScores));
-        this.playLoadingTextEffect(CCUtils.findChild(this.failNode, 'failLabel'), 0.08, ` GameOver \n Congratulations on getting ${this.sumScoreNum} points`);
+        this.playLoadingTextEffect(CCUtils.findChild(this.failNode, 'failLabel'), 0.08, `Congratulations on getting ${this.sumScoreNum} points`);
     }
 
     private closeGameFail(): void {

+ 3 - 3
assets/resources/Prefab/GameMain/GameMainPrefab.prefab

@@ -4299,7 +4299,7 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 252.7533936851934,
+      "width": 330.99339368519344,
       "height": 50.4
     },
     "_anchorPoint": {
@@ -4351,8 +4351,8 @@
     ],
     "_srcBlendFactor": 770,
     "_dstBlendFactor": 771,
-    "_string": "游戏结束",
-    "_N$string": "游戏结束",
+    "_string": "GAME OVER",
+    "_N$string": "GAME OVER",
     "_fontSize": 60,
     "_lineHeight": 40,
     "_enableWrapText": true,