完善一些细节

This commit is contained in:
2025-05-28 09:32:20 +08:00
parent 8552a7eeb5
commit d437c3df57
4 changed files with 18 additions and 12 deletions

View File

@@ -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": [
{

View File

@@ -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": [
{

View File

@@ -10,6 +10,5 @@
},
"splash": {
"fit": "center"
},
"stat": true
}
}

View File

@@ -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 {