fix(hero): 修复血条显示逻辑,区分加血和扣血动画

refactor(map): 优化地图预制体结构,移除无用节点
style(assets): 更新资源文件和元数据配置
This commit is contained in:
walkpan
2026-01-18 17:21:48 +08:00
parent a60fa91534
commit 1c333629b4
5 changed files with 1287 additions and 1222 deletions

View File

@@ -18,8 +18,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1159,
"trimY": 862,
"trimX": 1,
"trimY": 1499,
"width": 378,
"height": 293,
"rawWidth": 378,
@@ -65,7 +65,7 @@
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 496,
"trimY": 1,
"width": 486,
"height": 999,
"rawWidth": 486,
@@ -110,8 +110,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 977,
"trimY": 1157,
"trimX": 862,
"trimY": 1199,
"width": 330,
"height": 347,
"rawWidth": 330,
@@ -153,11 +153,11 @@
"name": "Background_Lobby_bg_bottom",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -3,
"trimX": 1159,
"trimY": 1489,
"trimX": 626,
"trimY": 1531,
"width": 486,
"height": 136,
"rawWidth": 486,
@@ -191,190 +191,6 @@
],
"subMetas": {}
},
"687a4": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@687a4",
"displayName": "",
"id": "687a4",
"name": "Background_Pass_Curtain_Left",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1592,
"trimY": 68,
"width": 245,
"height": 212,
"rawWidth": 245,
"rawHeight": 212,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"70a08": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@70a08",
"displayName": "",
"id": "70a08",
"name": "Background_Pass_Curtain_Right",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1592,
"trimY": 282,
"width": 245,
"height": 212,
"rawWidth": 245,
"rawHeight": 212,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"a50c6": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@a50c6",
"displayName": "",
"id": "a50c6",
"name": "Background_Sample02",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 489,
"trimY": 496,
"width": 486,
"height": 996,
"rawWidth": 486,
"rawHeight": 996,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"57c90": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@57c90",
"displayName": "",
"id": "57c90",
"name": "Background_Sample03",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 486,
"height": 1053,
"rawWidth": 486,
"rawHeight": 1053,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"eb5f8": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@eb5f8",
@@ -386,8 +202,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": -7,
"trimX": 1,
"trimY": 1497,
"trimX": 977,
"trimY": 1,
"width": 300,
"height": 518,
"rawWidth": 300,
@@ -432,8 +248,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1297,
"trimY": 1489,
"trimX": 1211,
"trimY": 1199,
"width": 486,
"height": 91,
"rawWidth": 486,
@@ -467,52 +283,6 @@
],
"subMetas": {}
},
"a4222": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@a4222",
"displayName": "",
"id": "a4222",
"name": "Background_Stage02_Bg",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1056,
"trimY": 1,
"width": 486,
"height": 534,
"rawWidth": 486,
"rawHeight": 534,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"2e027": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@2e027",
@@ -524,8 +294,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1326,
"trimY": 1157,
"trimX": 489,
"trimY": 1448,
"width": 201,
"height": 71,
"rawWidth": 201,
@@ -567,11 +337,11 @@
"name": "Background_Stage02_Bg_bottom_2",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1326,
"trimY": 1361,
"trimX": 692,
"trimY": 1448,
"width": 120,
"height": 69,
"rawWidth": 120,
@@ -616,8 +386,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1397,
"trimY": 1361,
"trimX": 489,
"trimY": 710,
"width": 437,
"height": 343,
"rawWidth": 437,
@@ -659,11 +429,11 @@
"name": "Background_Stage03_Bg",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1539,
"trimY": 873,
"trimX": 489,
"trimY": 369,
"width": 486,
"height": 339,
"rawWidth": 486,
@@ -705,11 +475,11 @@
"name": "Background_Stage03_Bg_bottom",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1592,
"trimY": 1,
"trimX": 381,
"trimY": 1499,
"width": 249,
"height": 65,
"rawWidth": 249,
@@ -751,11 +521,11 @@
"name": "Background_Stage03_bg_obj_1",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1839,
"trimY": 68,
"trimX": 862,
"trimY": 1055,
"width": 50,
"height": 37,
"rawWidth": 50,
@@ -797,11 +567,11 @@
"name": "Background_Stage03_bg_obj_2",
"userData": {
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1843,
"trimY": 1,
"trimX": 448,
"trimY": 1499,
"width": 20,
"height": 16,
"rawWidth": 20,
@@ -846,8 +616,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1390,
"trimY": 1706,
"trimX": 928,
"trimY": 898,
"width": 352,
"height": 299,
"rawWidth": 352,
@@ -889,11 +659,11 @@
"name": "Background_Stage04_icon",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1159,
"trimY": 489,
"trimX": 489,
"trimY": 1055,
"width": 371,
"height": 391,
"rawWidth": 371,
@@ -935,11 +705,11 @@
"name": "Background_Stage05_bg",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 791,
"trimY": 1494,
"trimX": 489,
"trimY": 1,
"width": 486,
"height": 366,
"rawWidth": 486,
@@ -981,11 +751,11 @@
"name": "Background_Stage05_bg_obj_1",
"userData": {
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1400,
"trimY": 1230,
"trimX": 928,
"trimY": 710,
"width": 42,
"height": 94,
"rawWidth": 42,
@@ -1030,8 +800,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1326,
"trimY": 1230,
"trimX": 1114,
"trimY": 1531,
"width": 72,
"height": 104,
"rawWidth": 72,
@@ -1076,8 +846,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 977,
"trimY": 489,
"trimX": 448,
"trimY": 1521,
"width": 176,
"height": 122,
"rawWidth": 176,
@@ -1122,8 +892,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 977,
"trimY": 613,
"trimX": 962,
"trimY": 1669,
"width": 176,
"height": 121,
"rawWidth": 176,
@@ -1168,8 +938,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1552,
"trimY": 496,
"trimX": 977,
"trimY": 521,
"width": 375,
"height": 315,
"rawWidth": 375,
@@ -1203,6 +973,374 @@
],
"subMetas": {}
},
"6a155": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@6a155",
"displayName": "",
"id": "6a155",
"name": "BackgroundsGradient09",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1279,
"trimY": 1,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"577e1": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@577e1",
"displayName": "",
"id": "577e1",
"name": "BackgroundsGradient14",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 448,
"trimY": 1669,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"dc000": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@dc000",
"displayName": "",
"id": "dc000",
"name": "BackgroundsGradient18",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 448,
"trimY": 1687,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"858ff": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@858ff",
"displayName": "",
"id": "858ff",
"name": "BackgroundsGradient19",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 448,
"trimY": 1705,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"dde68": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@dde68",
"displayName": "",
"id": "dde68",
"name": "BackgroundsGradient20",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 448,
"trimY": 1723,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"afacc": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@afacc",
"displayName": "",
"id": "afacc",
"name": "BackgroundsGradient21",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 448,
"trimY": 1741,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"ff843": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@ff843",
"displayName": "",
"id": "ff843",
"name": "BackgroundsGradient22",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 381,
"trimY": 1759,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"3a313": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@3a313",
"displayName": "",
"id": "3a313",
"name": "BackgroundsGradient23",
"userData": {
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 381,
"trimY": 1777,
"width": 16,
"height": 512,
"rawWidth": 16,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd375c0d-bb84-48dc-a7ec-334d7ce1471b@6c48a",
"atlasUuid": "d7d869bc-06aa-4876-806f-487e68b96780",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"54dda": {
"importer": "sprite-frame",
"uuid": "d7d869bc-06aa-4876-806f-487e68b96780@54dda",
@@ -1214,8 +1352,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 303,
"trimY": 1497,
"trimX": 1,
"trimY": 1002,
"width": 486,
"height": 495,
"rawWidth": 486,