feat: 优化关卡内 UI

This commit is contained in:
richarjiang
2026-04-14 09:53:08 +08:00
parent ddf51919b0
commit 5d472e1c30
21 changed files with 914 additions and 656 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 860 B

View File

@@ -42,10 +42,10 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 31,
"trimY": 12,
"width": 139,
"offsetY": -1,
"trimX": 24,
"trimY": 13,
"width": 153,
"height": 176,
"rawWidth": 200,
"rawHeight": 200,
@@ -60,16 +60,16 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-69.5,
-76.5,
-88,
0,
69.5,
76.5,
-88,
0,
-69.5,
-76.5,
88,
0,
69.5,
76.5,
88,
0
],
@@ -82,32 +82,32 @@
3
],
"uv": [
31,
188,
170,
188,
31,
12,
170,
12
24,
187,
177,
187,
24,
11,
177,
11
],
"nuv": [
0.155,
0.06,
0.85,
0.06,
0.155,
0.94,
0.85,
0.94
0.12,
0.055,
0.885,
0.055,
0.12,
0.935,
0.885,
0.935
],
"minPos": [
-69.5,
-76.5,
-88,
0
],
"maxPos": [
69.5,
76.5,
88,
0
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4c8c7576-d69c-4524-8add-07ad36a958c6",
"uuid": "643e0054-884b-41cd-a3e1-7e638e0cb7be",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4c8c7576-d69c-4524-8add-07ad36a958c6@6c48a",
"displayName": "IconClock",
"uuid": "643e0054-884b-41cd-a3e1-7e638e0cb7be@6c48a",
"displayName": "确认 (1)",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4c8c7576-d69c-4524-8add-07ad36a958c6",
"imageUuidOrDatabaseUri": "643e0054-884b-41cd-a3e1-7e638e0cb7be",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,8 +34,8 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "4c8c7576-d69c-4524-8add-07ad36a958c6@f9941",
"displayName": "IconClock",
"uuid": "643e0054-884b-41cd-a3e1-7e638e0cb7be@f9941",
"displayName": "确认 (1)",
"id": "f9941",
"name": "spriteFrame",
"userData": {
@@ -113,7 +113,7 @@
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4c8c7576-d69c-4524-8add-07ad36a958c6@6c48a",
"imageUuidOrDatabaseUri": "643e0054-884b-41cd-a3e1-7e638e0cb7be@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -129,6 +129,6 @@
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": true,
"redirect": "4c8c7576-d69c-4524-8add-07ad36a958c6@6c48a"
"redirect": "643e0054-884b-41cd-a3e1-7e638e0cb7be@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5ab5c212-a4cc-4c9b-a372-0cd2f30f4aff",
"uuid": "1007bacb-29be-45cf-8dca-916a1fe37ed0",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5ab5c212-a4cc-4c9b-a372-0cd2f30f4aff@6c48a",
"displayName": "IconLive",
"uuid": "1007bacb-29be-45cf-8dca-916a1fe37ed0@6c48a",
"displayName": "积分 (1)",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5ab5c212-a4cc-4c9b-a372-0cd2f30f4aff",
"imageUuidOrDatabaseUri": "1007bacb-29be-45cf-8dca-916a1fe37ed0",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,19 +34,19 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5ab5c212-a4cc-4c9b-a372-0cd2f30f4aff@f9941",
"displayName": "IconLive",
"uuid": "1007bacb-29be-45cf-8dca-916a1fe37ed0@f9941",
"displayName": "积分 (1)",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -2.5,
"trimX": 16,
"trimY": 25,
"width": 169,
"height": 155,
"offsetX": -0.5,
"offsetY": -0.5,
"trimX": 8,
"trimY": 9,
"width": 183,
"height": 183,
"rawWidth": 200,
"rawHeight": 200,
"borderTop": 0,
@@ -60,17 +60,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-84.5,
-77.5,
-91.5,
-91.5,
0,
84.5,
-77.5,
91.5,
-91.5,
0,
-84.5,
77.5,
-91.5,
91.5,
0,
84.5,
77.5,
91.5,
91.5,
0
],
"indexes": [
@@ -82,38 +82,38 @@
3
],
"uv": [
16,
175,
185,
175,
16,
20,
185,
20
8,
191,
191,
191,
8,
8,
191,
8
],
"nuv": [
0.08,
0.1,
0.925,
0.1,
0.08,
0.875,
0.925,
0.875
0.04,
0.04,
0.955,
0.04,
0.04,
0.955,
0.955,
0.955
],
"minPos": [
-84.5,
-77.5,
-91.5,
-91.5,
0
],
"maxPos": [
84.5,
77.5,
91.5,
91.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5ab5c212-a4cc-4c9b-a372-0cd2f30f4aff@6c48a",
"imageUuidOrDatabaseUri": "1007bacb-29be-45cf-8dca-916a1fe37ed0@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -129,6 +129,6 @@
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": true,
"redirect": "5ab5c212-a4cc-4c9b-a372-0cd2f30f4aff@6c48a"
"redirect": "1007bacb-29be-45cf-8dca-916a1fe37ed0@6c48a"
}
}