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

@@ -244,8 +244,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.8,
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -284,7 +284,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50,
"x": -35,
"y": 0,
"z": 0
},
@@ -325,7 +325,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 70,
"height": 10
},
"_anchorPoint": {
@@ -503,7 +503,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 340,
"width": 240,
"height": 40
},
"_anchorPoint": {
@@ -628,7 +628,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 70,
"height": 10
},
"_anchorPoint": {
@@ -706,7 +706,7 @@
"__id__": 12
},
"_mode": 0,
"_totalLength": 100,
"_totalLength": 70,
"_progress": 1,
"_reverse": false,
"_id": ""
@@ -774,7 +774,7 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.7,
"x": 1,
"y": 1,
"z": 1
},
@@ -814,7 +814,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50,
"x": -35,
"y": 0,
"z": 0
},
@@ -855,7 +855,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 70,
"height": 10
},
"_anchorPoint": {
@@ -1033,7 +1033,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 340,
"width": 240,
"height": 40
},
"_anchorPoint": {
@@ -1158,7 +1158,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 70,
"height": 10
},
"_anchorPoint": {
@@ -1236,7 +1236,7 @@
"__id__": 36
},
"_mode": 0,
"_totalLength": 100,
"_totalLength": 70,
"_progress": 1,
"_reverse": false,
"_id": ""
@@ -1304,8 +1304,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.5,
"y": 0.8,
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -1344,7 +1344,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50,
"x": -35,
"y": 0,
"z": 0
},
@@ -1385,7 +1385,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 70,
"height": 10
},
"_anchorPoint": {
@@ -1461,10 +1461,10 @@
},
"_alignFlags": 45,
"_target": null,
"_left": 1,
"_right": 1,
"_top": 0.5,
"_bottom": 0.5,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -1688,7 +1688,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"width": 70,
"height": 10
},
"_anchorPoint": {
@@ -1710,7 +1710,7 @@
"node": {
"__id__": 56
},
"_enabled": true,
"_enabled": false,
"__prefab": {
"__id__": 76
},
@@ -1766,7 +1766,7 @@
"__id__": 60
},
"_mode": 0,
"_totalLength": 100,
"_totalLength": 70,
"_progress": 1,
"_reverse": false,
"_id": ""
@@ -1802,8 +1802,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 30
"width": 70,
"height": 20
},
"_anchorPoint": {
"__type__": "cc.Vec2",