fix(英雄): 调整英雄模型缩放、血条位置和颜色,优化顶部UI布局

- 调整多个英雄模型(mo1、mo2、ha1、hc1、hh1、hm1、hz1、hm2、mo3、hk1、mo4)的缩放比例(x轴从1改为0.7-0.8)和血条位置(y轴坐标)
- 为英雄阵营单位设置绿色血条(#2ECC71)以区分阵营
- 禁用物理调试绘制以提升性能
- 优化顶部UI(top.prefab)的布局:调整位置、缩放、尺寸,使血条和能量条更紧凑
- 调整hm2英雄的碰撞框尺寸和位置
- 移除mo3和hk1英雄中不必要的UI元素覆盖
- 为mo4英雄添加骷髅图标并调整顶部UI位置和缩放
This commit is contained in:
walkpan
2026-03-18 22:53:49 +08:00
parent b2595cd1b4
commit 8a55f7433b
14 changed files with 379 additions and 566 deletions

View File

@@ -31,23 +31,23 @@
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 35
},
{
"__id__": 49
"__id__": 37
},
{
"__id__": 51
"__id__": 39
},
{
"__id__": 53
"__id__": 41
},
{
"__id__": 55
"__id__": 43
}
],
"_prefab": {
"__id__": 57
"__id__": 45
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -525,7 +525,7 @@
},
{
"__type__": "cc.PrefabInstance",
"fileId": "69IAw7dThHvIlVtTfXOVMZ",
"fileId": "37dKfpew9GJKWvYU5wnkWd",
"prefabRootNode": {
"__id__": 1
},
@@ -546,24 +546,6 @@
},
{
"__id__": 34
},
{
"__id__": 36
},
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 45
}
],
"removedComponents": []
@@ -594,8 +576,8 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 0.251,
"y": 124.536,
"x": 0,
"y": 125.335,
"z": 0
}
},
@@ -630,27 +612,6 @@
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 35
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 10.531,
"z": 0
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"16MuhUBUpB2ZdBTYflEf1n"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
@@ -661,117 +622,11 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 1,
"x": 0.8,
"y": 1,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 100,
"height": 30
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"cdvV5hAkdEaY6AT6urHKuf"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 40
},
"propertyPath": [
"_color"
],
"value": {
"__type__": "cc.Color",
"r": 219,
"g": 212,
"b": 52,
"a": 255
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"63mCHH6lhNV7iIr3Lvf2gG"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 42
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"z": 1
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"894T590c9Nyr7Y3ok7yBrM"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 44
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 1,
"z": 1
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"4bGUhFXlZF/Jdkcq0HY9ai"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 46
},
"propertyPath": [
"_color"
],
"value": {
"__type__": "cc.Color",
"r": 0,
"g": 224,
"b": 9,
"a": 255
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"42Iqibz0VOArXYqoFJhNMf"
]
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -782,7 +637,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 48
"__id__": 36
},
"_contentSize": {
"__type__": "cc.Size",
@@ -810,7 +665,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 50
"__id__": 38
},
"anm": {
"__id__": 5
@@ -831,7 +686,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 40
},
"debugMode": false,
"_id": ""
@@ -850,7 +705,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 42
},
"enabledContactListener": false,
"bullet": false,
@@ -884,7 +739,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 56
"__id__": 44
},
"tag": 0,
"_group": 4,