补充关卡功能

This commit is contained in:
2025-05-13 14:17:33 +08:00
parent 941dd170b5
commit dcb12db40d
16 changed files with 382 additions and 7 deletions

View File

@@ -14,6 +14,21 @@
{
"_$type": "692a672b-2457-456c-8093-321ea7a10e1b",
"scriptPath": "../src/views/Stage.ts",
"label_stage_name": {
"_$ref": "w8r3l8ie"
},
"label_score": {
"_$ref": "zgzyqyoc"
},
"label_mistake": {
"_$ref": "azfx9pw2"
},
"label_diff": {
"_$ref": "qxei5ih3"
},
"label_time": {
"_$ref": "m5cdq70n"
},
"obj_blocks": {
"_$ref": "mv2d4o7d"
},
@@ -75,6 +90,49 @@
"skin": "res://63e88ec0-8898-4190-9f70-a4df67200ce3",
"color": "#ffffff"
},
{
"_$id": "xllpjjqz",
"_$type": "Box",
"name": "back",
"x": 60,
"y": 60,
"width": 400,
"height": 64,
"_mouseState": 2,
"left": 60,
"top": 60,
"_$child": [
{
"_$id": "l1ebdt6a",
"_$type": "Button",
"name": "btn_back",
"width": 92,
"height": 64,
"_mouseState": 2,
"stateNum": 1,
"skin": "res://06a9c4a8-d664-4f3a-9c35-25b610195ced",
"label": "",
"labelSize": 20,
"labelAlign": "center",
"labelVAlign": "middle"
},
{
"_$id": "w8r3l8ie",
"_$type": "Text",
"name": "label_stage_name",
"x": 116,
"width": 200,
"height": 64,
"text": "[color=#000000]关卡 [/color][color=#1d5cdc]20[/color]",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 60,
"color": "#FFFFFF",
"ubb": true,
"valign": "middle",
"leading": 2
}
]
},
{
"_$id": "jtbep2gl",
"_$type": "Box",
@@ -87,6 +145,77 @@
"centerX": 0,
"centerY": -128,
"_$child": [
{
"_$id": "zgzyqyoc",
"_$type": "Label",
"name": "label_score",
"x": 372,
"y": -122,
"width": 300,
"height": 60,
"centerX": 0,
"centerY": -614,
"text": "分数999",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 50,
"color": "rgba(29, 92, 220, 1)",
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "azfx9pw2",
"_$type": "Label",
"name": "label_mistake",
"x": 4,
"y": -58,
"width": 300,
"height": 60,
"centerX": -368,
"centerY": -550,
"text": "错误3/3",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 30,
"color": "rgba(123, 129, 140, 1)",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "qxei5ih3",
"_$type": "Label",
"name": "label_diff",
"x": 372,
"y": -58,
"width": 300,
"height": 60,
"centerX": 0,
"centerY": -550,
"text": "难度",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 30,
"color": "rgba(123, 129, 140, 1)",
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "m5cdq70n",
"_$type": "Label",
"name": "label_time",
"x": 741,
"y": -58,
"width": 300,
"height": 60,
"centerX": 369,
"centerY": -550,
"text": "99:99:99",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 30,
"color": "rgba(123, 129, 140, 1)",
"align": "right",
"valign": "middle",
"padding": "0,0,0,0"
},
{
"_$id": "mv2d4o7d",
"_$type": "HBox",