From d437c3df5784feabd03a30ebf266ce0442db93bc Mon Sep 17 00:00:00 2001 From: yangwen Date: Wed, 28 May 2025 09:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=B8=80=E4=BA=9B=E7=BB=86?= =?UTF-8?q?=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/resources/GameDone_DC.lh | 11 +++++++---- assets/resources/GameDone_Normal.lh | 14 +++++++++----- settings/PlayerSettings.json | 3 +-- src/views/Stage.ts | 2 +- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/assets/resources/GameDone_DC.lh b/assets/resources/GameDone_DC.lh index 7ba4667..f372076 100644 --- a/assets/resources/GameDone_DC.lh +++ b/assets/resources/GameDone_DC.lh @@ -54,7 +54,7 @@ "_$type": "Box", "name": "top", "x": 48, - "y": 456, + "y": 490, "width": 984, "height": 846, "centerX": 0, @@ -359,10 +359,11 @@ "_$type": "Box", "name": "btn_new", "x": 144, - "y": 80, + "y": 48, "width": 792, "height": 156, "visible": false, + "bottom": 288, "centerX": 0, "_$child": [ { @@ -412,10 +413,11 @@ "_$type": "Box", "name": "btn_home", "x": 144, - "y": 264, + "y": 240, "width": 792, "height": 156, "visible": false, + "bottom": 96, "centerX": 0, "_$child": [ { @@ -466,9 +468,10 @@ "_$type": "Box", "name": "btn_continue", "x": 144, - "y": 264, + "y": 240, "width": 792, "height": 156, + "bottom": 96, "centerX": 0, "_$child": [ { diff --git a/assets/resources/GameDone_Normal.lh b/assets/resources/GameDone_Normal.lh index 0e7e6c4..9f4744d 100644 --- a/assets/resources/GameDone_Normal.lh +++ b/assets/resources/GameDone_Normal.lh @@ -54,7 +54,7 @@ "_$type": "Box", "name": "top", "x": 48, - "y": 356, + "y": 390, "width": 984, "height": 846, "centerX": 0, @@ -359,9 +359,11 @@ "_$type": "Box", "name": "btn_new", "x": 144, - "y": 80, + "y": 48, "width": 792, "height": 156, + "visible": false, + "bottom": 288, "centerX": 0, "_$child": [ { @@ -411,9 +413,11 @@ "_$type": "Box", "name": "btn_home", "x": 144, - "y": 264, + "y": 240, "width": 792, "height": 156, + "visible": false, + "bottom": 96, "centerX": 0, "_$child": [ { @@ -464,10 +468,10 @@ "_$type": "Box", "name": "btn_continue", "x": 144, - "y": 264, + "y": 240, "width": 792, "height": 156, - "visible": false, + "bottom": 96, "centerX": 0, "_$child": [ { diff --git a/settings/PlayerSettings.json b/settings/PlayerSettings.json index 31aab72..3ce7c37 100644 --- a/settings/PlayerSettings.json +++ b/settings/PlayerSettings.json @@ -10,6 +10,5 @@ }, "splash": { "fit": "center" - }, - "stat": true + } } \ No newline at end of file diff --git a/src/views/Stage.ts b/src/views/Stage.ts index 657e8ca..15bb369 100644 --- a/src/views/Stage.ts +++ b/src/views/Stage.ts @@ -244,7 +244,7 @@ export class Stage extends Laya.Script { } onUpdateMistake(): void { - this.label_mistake.text = `Mmistake: ${this.data.get_mistake()}/${config.MISTAKE_MAX}` + this.label_mistake.text = `Mistake: ${this.data.get_mistake()}/${config.MISTAKE_MAX}` } onSetBlock(block: Block, animated: boolean = false): void {