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
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 26
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -211,181 +208,6 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "T",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
},
{
"__id__": 13
}
],
"_prefab": {
"__id__": 15
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 40,
"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": 80,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8b9HY9QmBA5qB0sBawCFqZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@46c83",
"__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": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e0lXniMh9C77aUoKhV9TG0"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 25,
"_originalHeight": 25,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "efBhSYnd1Kz6YztMYe2EVs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0b1uG2sstDMZRfqgTMWTrz",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -396,7 +218,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
@@ -424,7 +246,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 11
},
"playOnLoad": true,
"_clips": [
@@ -453,7 +275,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 21
"__id__": 13
},
"atk_x": 0,
"atk_y": 0,
@@ -474,7 +296,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 23
"__id__": 15
},
"enabledContactListener": true,
"bullet": false,
@@ -508,7 +330,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 25
"__id__": 17
},
"tag": 0,
"_group": 1,