优化存档逻辑

This commit is contained in:
2025-05-14 10:14:55 +08:00
parent cbee313bb5
commit 2cc01c5570
11 changed files with 117 additions and 17 deletions

View File

@@ -18,5 +18,69 @@
"_$type": "cd70cd5e-b4cd-4277-ac0a-2224cfbe89ac",
"scriptPath": "../src/models/UIManager.ts"
}
],
"_$child": [
{
"_$id": "w805s9t9",
"_$type": "Box",
"name": "Box",
"width": 1080,
"height": 1920,
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"_$child": [
{
"_$id": "c5b9d1x1",
"_$type": "Image",
"name": "bg",
"x": 118,
"y": 420,
"width": 844,
"height": 1080,
"centerX": 0,
"centerY": 0,
"skin": "res://6ad19646-ed7a-431c-a50e-65c2bcb40751",
"color": "#ffffff"
},
{
"_$id": "md4ipd8a",
"_$type": "Image",
"name": "score",
"x": 300,
"y": 449,
"width": 240,
"height": 181,
"scaleX": 2,
"scaleY": 2,
"centerX": 0,
"centerY": -330,
"skin": "res://9e3eb0ac-c410-40a7-b8c3-ae1316d04cfb",
"useSourceSize": true,
"color": "#ffffff",
"_$child": [
{
"_$id": "fkjymlk3",
"_$type": "Label",
"name": "Label",
"x": 20,
"y": 61,
"width": 200,
"height": 60,
"centerX": 0,
"centerY": 0,
"text": "99",
"font": "res://55f943ef-58d2-4b30-8498-271c4213cce4",
"fontSize": 60,
"color": "#FFFFFF",
"align": "center",
"valign": "middle",
"padding": "0,0,0,0"
}
]
}
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@@ -0,0 +1,13 @@
{
"uuid": "6ad19646-ed7a-431c-a50e-65c2bcb40751",
"importer": {
"textureType": 2,
"sizeGrid": [
20,
40,
31,
40,
0
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -0,0 +1,6 @@
{
"uuid": "9e3eb0ac-c410-40a7-b8c3-ae1316d04cfb",
"importer": {
"textureType": 2
}
}

View File

@@ -102,8 +102,10 @@
"width": 400,
"height": 64,
"_mouseState": 2,
"left": 60,
"top": 60,
"left": null,
"top": null,
"centerX": -314,
"centerY": -888,
"_$child": [
{
"_$id": "l1ebdt6a",