feat(hero): 添加新英雄资源并优化动画系统

- 新增英雄 ha2、ha3、hk2、hk3、hk4、hm3、hm4、hm5、mo5、mo6 的目录元数据
- 为新增英雄添加完整的动画剪辑(atk0、dead、idle、max0、max1、move)
- 移除旧版英雄的冗余动画文件(atk1、atk2、buff、stun)
- 更新现有英雄的动画配置,统一使用 atk0 作为攻击动画
- 优化 hm1 英雄的动画时长和采样率,提升流畅度
- 在 HeroViewComp 中增加英雄等级显示逻辑
- 重构 HeroAnmComp,简化动画状态管理
This commit is contained in:
walkpan
2026-03-21 16:43:43 +08:00
parent 870819b9f1
commit f9e3fc9106
279 changed files with 78870 additions and 42526 deletions

View File

@@ -22,38 +22,35 @@
"__id__": 2
},
{
"__id__": 11
"__id__": 14
},
{
"__id__": 23
},
{
"__id__": 35
"__id__": 26
}
],
"_active": true,
"_components": [
{
"__id__": 46
"__id__": 37
},
{
"__id__": 48
"__id__": 39
},
{
"__id__": 50
"__id__": 41
},
{
"__id__": 52
"__id__": 43
},
{
"__id__": 54
"__id__": 45
},
{
"__id__": 56
"__id__": 47
}
],
"_prefab": {
"__id__": 58
"__id__": 49
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -84,131 +81,6 @@
},
"_id": ""
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 3
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
},
"asset": {
"__uuid__": "9528e2ff-e9a0-42f8-88bd-0f172275e351",
"__expectedType__": "cc.Prefab"
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 4
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "ecYwq1qKpMKr8GrIORiOp1",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 9
},
{
"__id__": 10
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_name"
],
"value": "buff_bg"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"c46/YsCPVOJYA4mWEpNYRx"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": -15.783,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.Node",
"_name": "anm",
@@ -221,23 +93,23 @@
"_active": true,
"_components": [
{
"__id__": 12
"__id__": 3
},
{
"__id__": 14
"__id__": 5
},
{
"__id__": 16
"__id__": 7
},
{
"__id__": 18
"__id__": 9
},
{
"__id__": 20
"__id__": 11
}
],
"_prefab": {
"__id__": 22
"__id__": 13
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -274,11 +146,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 13
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
@@ -302,11 +174,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 15
"__id__": 6
},
"_id": ""
},
@@ -320,11 +192,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 8
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -368,11 +240,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 10
},
"playOnLoad": true,
"_clips": [
@@ -380,18 +252,6 @@
"__uuid__": "0411c53b-84a4-4224-8fbc-e6c53dcf3113",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "2c669f9b-1dfc-4cf1-ab71-824c742cc40a",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "cc0c68c4-9189-48b0-83b5-375839621837",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "cc9f4dc9-ee75-4a58-b571-74aa98aaf48b",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "016660a8-bcfe-446d-8b80-ccd58f2418de",
"__expectedType__": "cc.AnimationClip"
@@ -411,10 +271,6 @@
{
"__uuid__": "1b97ed18-45d7-468e-8c98-61d8fbfbc8ea",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "799d4071-1356-443f-b878-23bdf975e966",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": null,
@@ -430,11 +286,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 21
"__id__": 12
},
"hitFlashMaterial": {
"__uuid__": "8eee8ab1-fe48-4b22-b956-3f5c18fc4810",
@@ -466,14 +322,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 24
"__id__": 15
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 23
"__id__": 14
},
"asset": {
"__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b",
@@ -481,7 +337,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 25
"__id__": 16
},
"targetOverrides": null
},
@@ -495,25 +351,25 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 26
"__id__": 17
},
{
"__id__": 28
"__id__": 19
},
{
"__id__": 29
"__id__": 20
},
{
"__id__": 30
"__id__": 21
},
{
"__id__": 31
"__id__": 22
},
{
"__id__": 32
"__id__": 23
},
{
"__id__": 34
"__id__": 25
}
],
"removedComponents": []
@@ -521,7 +377,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
"__id__": 18
},
"propertyPath": [
"_name"
@@ -537,7 +393,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
"__id__": 18
},
"propertyPath": [
"_lpos"
@@ -552,7 +408,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
"__id__": 18
},
"propertyPath": [
"_lrot"
@@ -568,7 +424,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
"__id__": 18
},
"propertyPath": [
"_euler"
@@ -583,7 +439,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
"__id__": 18
},
"propertyPath": [
"_active"
@@ -593,7 +449,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 33
"__id__": 24
},
"propertyPath": [
"_contentSize"
@@ -613,7 +469,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
"__id__": 18
},
"propertyPath": [
"_lscale"
@@ -632,14 +488,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 36
"__id__": 27
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 35
"__id__": 26
},
"asset": {
"__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c",
@@ -647,7 +503,7 @@
},
"fileId": "5fqU0L3/FOhKaco5UkHuWT",
"instance": {
"__id__": 37
"__id__": 28
},
"targetOverrides": null
},
@@ -661,22 +517,22 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 38
"__id__": 29
},
{
"__id__": 40
"__id__": 31
},
{
"__id__": 41
"__id__": 32
},
{
"__id__": 42
"__id__": 33
},
{
"__id__": 43
"__id__": 34
},
{
"__id__": 45
"__id__": 36
}
],
"removedComponents": []
@@ -684,7 +540,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 39
"__id__": 30
},
"propertyPath": [
"_name"
@@ -700,7 +556,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 39
"__id__": 30
},
"propertyPath": [
"_lpos"
@@ -715,7 +571,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 39
"__id__": 30
},
"propertyPath": [
"_lrot"
@@ -731,7 +587,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 39
"__id__": 30
},
"propertyPath": [
"_euler"
@@ -746,7 +602,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 44
"__id__": 35
},
"propertyPath": [
"_lpos"
@@ -767,7 +623,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 39
"__id__": 30
},
"propertyPath": [
"_lscale"
@@ -789,7 +645,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 47
"__id__": 38
},
"_contentSize": {
"__type__": "cc.Size",
@@ -817,10 +673,10 @@
},
"_enabled": true,
"__prefab": {
"__id__": 49
"__id__": 40
},
"anm": {
"__id__": 14
"__id__": 5
},
"_id": ""
},
@@ -838,7 +694,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 51
"__id__": 42
},
"debugMode": false,
"_id": ""
@@ -857,7 +713,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 53
"__id__": 44
},
"enabledContactListener": true,
"bullet": false,
@@ -891,7 +747,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 55
"__id__": 46
},
"tag": 0,
"_group": 4,
@@ -925,7 +781,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 48
},
"playOnLoad": false,
"_clips": [],
@@ -949,13 +805,10 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 35
"__id__": 26
},
{
"__id__": 23
},
{
"__id__": 2
"__id__": 14
}
]
}