调整几个弹框

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

@@ -22,10 +22,10 @@
"_$ref": "x0g211ix"
},
"btn_continue": {
"_$ref": "h0pbxs4g"
"_$ref": "xa5cbi60"
},
"btn_restart": {
"_$ref": "i67pxiat"
"_$ref": "1bdygkhu"
}
}
],
@@ -48,10 +48,10 @@
"_$id": "2oq6bad5",
"_$type": "Box",
"name": "center",
"x": 600,
"y": 200,
"width": 720,
"height": 680,
"x": 480,
"y": 279,
"width": 960,
"height": 522,
"_mouseState": 2,
"centerX": 0,
"centerY": 0,
@@ -60,8 +60,8 @@
"_$id": "1lql105a",
"_$type": "Sprite",
"name": "Sprite",
"width": 720,
"height": 680,
"width": 960,
"height": 522,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
@@ -80,113 +80,121 @@
]
},
{
"_$id": "o4e4pyiy",
"_$type": "VBox",
"_$id": "xu85tc1o",
"_$type": "HBox",
"name": "buttons",
"x": 54,
"y": 366,
"width": 612,
"height": 350,
"bottom": -36,
"y": 302,
"width": 852,
"height": 210,
"bottom": 10,
"centerX": 0,
"space": 27,
"align": "center",
"space": 28,
"align": "middle",
"_$child": [
{
"_$id": "h0pbxs4g",
"_$type": "Sprite",
"name": "btn_continue",
"width": 612,
"height": 120,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 27,
"rt": 27,
"lb": 27,
"rb": 27,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "i67pxiat",
"_$type": "Sprite",
"_$id": "1bdygkhu",
"_$type": "Box",
"name": "btn_restart",
"y": 147,
"width": 612,
"y": 45,
"width": 412,
"height": 120,
"alpha": 0.1,
"_gcmds": [
"_$child": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 27,
"rt": 27,
"lb": 27,
"rb": 27,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
"_$id": "i67pxiat",
"_$type": "Sprite",
"name": "Sprte",
"width": 412,
"height": 120,
"alpha": 0.1,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 27,
"rt": 27,
"lb": 27,
"rb": 27,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "julmw9iu",
"_$type": "Label",
"name": "Label",
"width": 412,
"height": 120,
"centerX": 0,
"centerY": 0,
"text": "Restart",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
{
"_$id": "34mfjw6q",
"_$type": "VBox",
"name": "labels",
"x": 54,
"y": 366,
"width": 612,
"height": 350,
"bottom": -36,
"centerX": 0,
"space": 27,
"align": "center",
"_$child": [
{
"_$id": "64brcggk",
"_$type": "Label",
"name": "Label(1)",
"x": -66,
"width": 744,
"height": 120,
"text": "Continue",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "julmw9iu",
"_$type": "Label",
"name": "Label(2)",
"x": -66,
"y": 147,
"width": 744,
"_$id": "xa5cbi60",
"_$type": "Box",
"name": "btn_continue",
"x": 440,
"y": 45,
"width": 412,
"height": 120,
"text": "Restart",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(29, 92, 220, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
"_$child": [
{
"_$id": "h0pbxs4g",
"_$type": "Sprite",
"name": "Sprite",
"width": 412,
"height": 120,
"mouseThrough": true,
"_gcmds": [
{
"_$type": "DrawRoundRectCmd",
"x": 0,
"y": 0,
"width": 1,
"height": 1,
"lt": 27,
"rt": 27,
"lb": 27,
"rb": 27,
"percent": true,
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
]
},
{
"_$id": "64brcggk",
"_$type": "Label",
"name": "Label",
"width": 412,
"height": 120,
"centerX": 0,
"centerY": 0,
"text": "Continue",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
},
@@ -194,11 +202,11 @@
"_$id": "hjmgztax",
"_$type": "Label",
"name": "Label",
"x": 60,
"y": 90,
"x": 180,
"y": 54,
"width": 600,
"height": 60,
"top": 90,
"top": 54,
"centerX": 0,
"text": "Pause",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
@@ -213,28 +221,31 @@
"_$id": "q0nefmnf",
"_$type": "HBox",
"name": "summary",
"y": 192,
"width": 720,
"height": 140,
"top": 192,
"x": 53,
"y": 156,
"width": 854,
"height": 150,
"top": 156,
"centerX": 0,
"space": 0,
"space": 18,
"align": "middle",
"_$child": [
{
"_$id": "xfwuob5k",
"_$type": "Box",
"name": "Box(1)",
"y": 2.5,
"width": 360,
"y": 7.5,
"width": 418,
"height": 135,
"_$child": [
{
"_$id": "o1clptre",
"_$type": "Label",
"name": "Label",
"x": 29,
"width": 360,
"height": 60,
"centerX": 0,
"text": "Time",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 30,
@@ -247,13 +258,16 @@
"_$id": "2oo94fn6",
"_$type": "Label",
"name": "label_time",
"x": 29,
"y": 52,
"width": 360,
"height": 72,
"centerX": 0,
"text": "Medium",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(45, 49, 56, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
@@ -264,17 +278,19 @@
"_$id": "juv58eq7",
"_$type": "Box",
"name": "Box(2)",
"x": 360,
"y": 2.5,
"width": 360,
"x": 436,
"y": 7.5,
"width": 418,
"height": 135,
"_$child": [
{
"_$id": "y3cucgc5",
"_$type": "Label",
"name": "Label",
"x": 29,
"width": 360,
"height": 60,
"centerX": 0,
"text": "Difficulty ",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 30,
@@ -287,13 +303,16 @@
"_$id": "x0g211ix",
"_$type": "Label",
"name": "label_diffculty",
"x": 29,
"y": 52,
"width": 360,
"height": 72,
"centerX": 0,
"text": "Medium",
"font": "res://7322bbf9-175b-4a25-a0d7-72d369894de2",
"fontSize": 45,
"color": "rgba(45, 49, 56, 1)",
"bold": true,
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"