feat(skill): 新增buff背景动画并调整箭矢技能资源

- 新增buff_bg.prefab及其动画资源,用于技能buff背景效果
- 新增arrow_big_yellow.prefab及其动画资源,添加黄色大箭矢技能
- 调整红、蓝、绿箭矢prefab的碰撞框尺寸(70×20→60×30)
- 为atk_s2.prefab添加spriteFrame并启用debugMode
- 更新SkillSet配置,调整基础技能对应的动画资源
- 优化atk02.anim和atk03.anim动画时长,移除冗余帧
- 重构箭矢动画文件结构,将atk_arrow_*重命名为arrow_*并更新引用
- 在ha1.prefab中集成buff_bg作为子节点
This commit is contained in:
panw
2026-03-17 10:26:14 +08:00
parent 6db34940f4
commit 2a842f533e
22 changed files with 1157 additions and 156 deletions

View File

@@ -22,32 +22,38 @@
"__id__": 2
},
{
"__id__": 14
"__id__": 10
},
{
"__id__": 26
"__id__": 22
},
{
"__id__": 34
}
],
"_active": true,
"_components": [
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
}
],
"_prefab": {
"__id__": 47
"__id__": 57
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -78,6 +84,118 @@
},
"_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
}
],
"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__": "cc.Node",
"_name": "anm",
@@ -89,24 +207,24 @@
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
},
{
"__id__": 11
},
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
}
],
"_prefab": {
"__id__": 13
"__id__": 21
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -143,11 +261,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 4
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
@@ -171,11 +289,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 6
"__id__": 14
},
"_id": ""
},
@@ -189,11 +307,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 8
"__id__": 16
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -237,11 +355,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 10
"__id__": 18
},
"playOnLoad": true,
"_clips": [
@@ -302,11 +420,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 12
"__id__": 20
},
"hitFlashMaterial": {
"__uuid__": "8eee8ab1-fe48-4b22-b956-3f5c18fc4810",
@@ -338,14 +456,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 15
"__id__": 23
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 14
"__id__": 22
},
"asset": {
"__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b",
@@ -353,7 +471,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 16
"__id__": 24
},
"targetOverrides": null
},
@@ -366,26 +484,26 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 17
},
{
"__id__": 19
},
{
"__id__": 20
},
{
"__id__": 21
},
{
"__id__": 22
},
{
"__id__": 23
},
{
"__id__": 25
},
{
"__id__": 27
},
{
"__id__": 28
},
{
"__id__": 29
},
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 33
}
],
"removedComponents": []
@@ -393,7 +511,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
"__id__": 26
},
"propertyPath": [
"_name"
@@ -409,7 +527,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
"__id__": 26
},
"propertyPath": [
"_lpos"
@@ -424,7 +542,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
"__id__": 26
},
"propertyPath": [
"_lrot"
@@ -440,7 +558,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
"__id__": 26
},
"propertyPath": [
"_euler"
@@ -455,7 +573,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
"__id__": 26
},
"propertyPath": [
"_active"
@@ -465,7 +583,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 24
"__id__": 32
},
"propertyPath": [
"_contentSize"
@@ -485,7 +603,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 18
"__id__": 26
},
"propertyPath": [
"_lscale"
@@ -504,14 +622,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 27
"__id__": 35
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 26
"__id__": 34
},
"asset": {
"__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c",
@@ -519,7 +637,7 @@
},
"fileId": "5fqU0L3/FOhKaco5UkHuWT",
"instance": {
"__id__": 28
"__id__": 36
},
"targetOverrides": null
},
@@ -533,22 +651,22 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 29
"__id__": 37
},
{
"__id__": 31
"__id__": 39
},
{
"__id__": 32
"__id__": 40
},
{
"__id__": 33
"__id__": 41
},
{
"__id__": 34
"__id__": 42
},
{
"__id__": 36
"__id__": 44
}
],
"removedComponents": []
@@ -556,7 +674,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 30
"__id__": 38
},
"propertyPath": [
"_name"
@@ -572,7 +690,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 30
"__id__": 38
},
"propertyPath": [
"_lpos"
@@ -587,7 +705,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 30
"__id__": 38
},
"propertyPath": [
"_lrot"
@@ -603,7 +721,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 30
"__id__": 38
},
"propertyPath": [
"_euler"
@@ -618,7 +736,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 35
"__id__": 43
},
"propertyPath": [
"_lpos"
@@ -639,7 +757,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 30
"__id__": 38
},
"propertyPath": [
"_lscale"
@@ -661,7 +779,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 38
"__id__": 46
},
"_contentSize": {
"__type__": "cc.Size",
@@ -689,10 +807,10 @@
},
"_enabled": true,
"__prefab": {
"__id__": 40
"__id__": 48
},
"anm": {
"__id__": 5
"__id__": 13
},
"_id": ""
},
@@ -710,7 +828,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 42
"__id__": 50
},
"debugMode": false,
"_id": ""
@@ -729,7 +847,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 44
"__id__": 52
},
"enabledContactListener": true,
"bullet": false,
@@ -763,7 +881,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 46
"__id__": 54
},
"tag": 0,
"_group": 4,
@@ -787,6 +905,27 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "23j+p5lLdC+r4iKSVeLNM4"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 56
},
"playOnLoad": false,
"_clips": [],
"_defaultClip": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "49+IQe4gZPPYzJ/FgxeX/O"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -800,10 +939,13 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 26
"__id__": 34
},
{
"__id__": 14
"__id__": 22
},
{
"__id__": 2
}
]
}