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

@@ -30,24 +30,24 @@
],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
},
{
"__id__": 51
}
],
"_prefab": {
"__id__": 53
"__id__": 45
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -525,7 +525,7 @@
},
{
"__type__": "cc.PrefabInstance",
"fileId": "69IAw7dThHvIlVtTfXOVMZ",
"fileId": "00h7eq0jlKdq/qkVTmoJpy",
"prefabRootNode": {
"__id__": 1
},
@@ -546,21 +546,6 @@
},
{
"__id__": 34
},
{
"__id__": 36
},
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 42
}
],
"removedComponents": []
@@ -592,7 +577,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 107.768,
"y": 130.12,
"z": 0
}
},
@@ -627,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": {
@@ -658,83 +622,11 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 1,
"x": 0.8,
"y": 1,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.6,
"y": 1,
"z": 1
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"4bGUhFXlZF/Jdkcq0HY9ai"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 40
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.6,
"y": 1,
"z": 1
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"32HF124+5LVqGOnUmyAZ0q"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 40
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 8.969,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 8.969,
"z": 0
}
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -745,7 +637,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 44
"__id__": 36
},
"_contentSize": {
"__type__": "cc.Size",
@@ -773,7 +665,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 46
"__id__": 38
},
"anm": {
"__id__": 5
@@ -794,7 +686,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 48
"__id__": 40
},
"debugMode": false,
"_id": ""
@@ -813,7 +705,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 50
"__id__": 42
},
"enabledContactListener": true,
"bullet": false,
@@ -847,7 +739,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 44
},
"tag": 0,
"_group": 4,