feat(skill): 新增攻击技能预制体并重构现有资源

- 新增 atk、arrow、ice_t、atk_fire、atk_light、ball_light-001 等技能预制体
- 删除 atk_f1、atk_f2、atk_s1、atk_ice、ball_guang、ball_light、arrow_green 等旧预制体
- 重构 arrow_red、arrow_blue、atk_s4 预制体,简化节点结构
- 调整 atk04.anim 动画的 wrapMode 为一次播放
- 优化 ball_sred.anim 动画的采样率和关键帧
- 统一技能组件配置,移除冗余节点和组件
This commit is contained in:
walkpan
2026-03-22 11:36:48 +08:00
parent 54377cfb96
commit 060129035c
22 changed files with 641 additions and 2040 deletions

View File

@@ -20,31 +20,28 @@
"_children": [
{
"__id__": 2
},
{
"__id__": 8
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 24
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -77,14 +74,14 @@
},
{
"__type__": "cc.Node",
"_name": "E",
"_name": "Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 3
@@ -98,8 +95,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -16.397,
"y": 0.755,
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
@@ -137,145 +134,6 @@
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 74,
"height": 64
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "06BuaYuTlH7oarNLUv4Quo"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@a22e7",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "54o3uGyUNODo0HOzGkYqsA"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5563D/YVpGlqqIyYnHSEwW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 13
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
@@ -298,11 +156,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 12
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -363,7 +221,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 15
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
@@ -391,7 +249,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 11
},
"playOnLoad": true,
"_clips": [
@@ -420,7 +278,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 13
},
"atk_x": 10,
"atk_y": 15,
@@ -441,7 +299,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 21
"__id__": 15
},
"enabledContactListener": true,
"bullet": false,
@@ -475,7 +333,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 23
"__id__": 17
},
"tag": 0,
"_group": 1,