调整几个弹框

This commit is contained in:
2025-05-29 10:25:13 +08:00
parent bf506e26ef
commit 6f3c1f9d6d
12 changed files with 771 additions and 700 deletions

View File

@@ -16,13 +16,13 @@
"_$type": "72a5ccd3-8177-451c-b2ce-cf1b42f7e6d4",
"scriptPath": "../src/views/GameOver.ts",
"btn_second": {
"_$ref": "0w6x8zzw"
"_$ref": "xxbk8zbl"
},
"btn_restart": {
"_$ref": "y7aniaui"
"_$ref": "g47r0en7"
},
"btn_newOrClose": {
"_$ref": "eepsaznr"
"_$ref": "umnahawk"
},
"label_newOrClose": {
"_$ref": "2r6iotpo"
@@ -92,36 +92,19 @@
"align": "center",
"_$child": [
{
"_$id": "0w6x8zzw",
"_$type": "Sprite",
"_$id": "xxbk8zbl",
"_$type": "Box",
"name": "btn_second",
"width": 744,
"height": 156,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
],
"_$child": [
{
"_$id": "23po992p",
"_$id": "0w6x8zzw",
"_$type": "Sprite",
"name": "Sprite",
"x": 64,
"y": 44,
"width": 60,
"height": 54,
"width": 744,
"height": 156,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
@@ -129,159 +112,197 @@
"y": 0,
"width": 1,
"height": 1,
"lt": 10,
"rt": 10,
"lb": 10,
"rb": 10,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "#FFFFFF"
"fillColor": "rgba(29, 92, 220, 1)"
}
],
"_$child": [
{
"_$id": "7i8eqgi1",
"_$id": "23po992p",
"_$type": "Sprite",
"name": "Sprite",
"x": 16,
"y": 13,
"width": 28,
"height": 28,
"x": 64,
"y": 44,
"width": 60,
"height": 54,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawPolyCmd",
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"points": [
0,
0,
28,
14,
0,
28
],
"width": 1,
"height": 1,
"lt": 10,
"rt": 10,
"lb": 10,
"rb": 10,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
"fillColor": "#FFFFFF"
}
],
"_$child": [
{
"_$id": "7i8eqgi1",
"_$type": "Sprite",
"name": "Sprite",
"x": 16,
"y": 13,
"width": 28,
"height": 28,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawPolyCmd",
"x": 0,
"y": 0,
"points": [
0,
0,
28,
14,
0,
28
],
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
}
]
}
]
},
{
"_$id": "4fv9wmfi",
"_$type": "Label",
"name": "Label",
"width": 744,
"height": 156,
"centerX": 0,
"centerY": 0,
"text": "Second Chance",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "y7aniaui",
"_$type": "Sprite",
"_$id": "g47r0en7",
"_$type": "Box",
"name": "btn_restart",
"y": 196,
"width": 744,
"height": 156,
"alpha": 0.1,
"_gcmds": [
"_$child": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
"_$id": "y7aniaui",
"_$type": "Sprite",
"name": "Sprite",
"width": 744,
"height": 156,
"alpha": 0.1,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "o6codx3p",
"_$type": "Label",
"name": "Label",
"width": 744,
"height": 156,
"centerX": 0,
"centerY": 0,
"text": "Restart",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
},
{
"_$id": "eepsaznr",
"_$type": "Sprite",
"_$id": "umnahawk",
"_$type": "Box",
"name": "btn_newOrClose",
"y": 392,
"width": 744,
"height": 156,
"alpha": 0.1,
"_gcmds": [
"_$child": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
"_$id": "eepsaznr",
"_$type": "Sprite",
"name": "Sprite",
"width": 744,
"height": 156,
"alpha": 0.1,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 36,
"rt": 36,
"lb": 36,
"rb": 36,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "2r6iotpo",
"_$type": "Label",
"name": "Label",
"width": 744,
"height": 156,
"centerX": 0,
"centerY": 0,
"text": "New Game",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "17a1hg41",
"_$type": "VBox",
"name": "labels",
"x": 72,
"y": 456,
"width": 744,
"height": 600,
"centerX": 0,
"centerY": 216,
"space": 40,
"align": "center",
"_$child": [
{
"_$id": "4fv9wmfi",
"_$type": "Label",
"name": "Label(1)",
"width": 744,
"height": 156,
"text": "Second Chance",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "o6codx3p",
"_$type": "Label",
"name": "Label(2)",
"y": 196,
"width": 744,
"height": 156,
"text": "Restart",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "2r6iotpo",
"_$type": "Label",
"name": "Label(3)",
"y": 392,
"width": 744,
"height": 156,
"text": "New Game",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 60,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},