添加持久化逻辑

This commit is contained in:
2025-05-13 20:31:44 +08:00
parent dcb12db40d
commit cbee313bb5
17 changed files with 512 additions and 213 deletions

View File

@@ -1,6 +1,6 @@
{
"_$ver": 1,
"_$id": "gvlq012i",
"_$id": "dzyyfm4n",
"_$type": "Box",
"name": "Home",
"width": 1080,
@@ -15,13 +15,16 @@
"_$type": "f2970e4d-7a09-4a9b-aef3-45d330c86f4f",
"scriptPath": "../src/views/Home.ts",
"btn_start": {
"_$ref": "098pc00r"
"_$ref": "vfxym76v"
},
"btn_clean": {
"_$ref": "ttvxhmrp"
}
}
],
"_$child": [
{
"_$id": "0dr4l4hi",
"_$id": "x8wx2qo1",
"_$type": "Image",
"name": "Mask",
"width": 1080,
@@ -34,7 +37,26 @@
"color": "#ffffff"
},
{
"_$id": "098pc00r",
"_$id": "pd4fx8i2",
"_$type": "Button",
"name": "btn_continue",
"x": 440,
"y": 737,
"width": 200,
"height": 100,
"_mouseState": 2,
"centerX": 0,
"centerY": -173,
"skin": "res://7eeb7e11-21ca-41ca-b7c2-dd2afa0c3ba7",
"label": "继续",
"labelFont": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"labelSize": 60,
"labelColors": "#ffffff,#32cc6b,#ff0000",
"labelAlign": "center",
"labelVAlign": "middle"
},
{
"_$id": "vfxym76v",
"_$type": "Button",
"name": "btn_start",
"x": 440,
@@ -54,23 +76,24 @@
"labelStrokeColor": "rgba(216, 208, 208, 1)"
},
{
"_$id": "xi28zcch",
"_$id": "ttvxhmrp",
"_$type": "Button",
"name": "btn_continue",
"name": "btn_clean",
"x": 440,
"y": 737,
"y": 1820,
"width": 200,
"height": 100,
"_mouseState": 2,
"bottom": 0,
"centerX": 0,
"centerY": -173,
"skin": "res://7eeb7e11-21ca-41ca-b7c2-dd2afa0c3ba7",
"label": "继续",
"label": "清理",
"labelFont": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"labelSize": 60,
"labelColors": "#ffffff,#32cc6b,#ff0000",
"labelAlign": "center",
"labelVAlign": "middle"
"labelVAlign": "middle",
"labelStrokeColor": "rgba(216, 208, 208, 1)"
}
]
}

View File

@@ -1,3 +1,3 @@
{
"uuid": "9d706cf1-ff30-4183-b441-c24d9b329c53"
"uuid": "ed2f6a24-7574-4f6a-b76b-816fe2521be2"
}

View File

@@ -14,6 +14,9 @@
{
"_$type": "692a672b-2457-456c-8093-321ea7a10e1b",
"scriptPath": "../src/views/Stage.ts",
"btn_back": {
"_$ref": "l1ebdt6a"
},
"label_stage_name": {
"_$ref": "w8r3l8ie"
},
@@ -123,6 +126,7 @@
"x": 116,
"width": 200,
"height": 64,
"visible": false,
"text": "[color=#000000]关卡 [/color][color=#1d5cdc]20[/color]",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 60,
@@ -208,7 +212,7 @@
"height": 60,
"centerX": 369,
"centerY": -550,
"text": "99:99:99",
"text": "00:00:00",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 30,
"color": "rgba(123, 129, 140, 1)",