From a64873c65d9fb9443ffdb115a9bfd29c7cae452b Mon Sep 17 00:00:00 2001 From: panFD Date: Sun, 16 Aug 2026 19:30:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(skill):=20=E6=96=B0=E5=A2=9Emax1=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E9=A2=84=E5=88=B6=E4=BB=B6=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=8E=B0=E6=9C=89=E6=94=BB=E5=87=BB=E6=8A=80=E8=83=BD=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 为atk系列技能预制件新增forceStartX、forceStartY、summon_count、height_offset属性 2. 统一调整多个fb攻击预制件的缩放、尺寸、填充模式参数 3. 修正fb-1技能的召唤数量为1 4. 新增max1大招技能预制件及对应的meta配置文件 5. 修复fb-2动画剪辑的名称和关键帧浮点精度 --- assets/resources/game/skill/anm/atk/fb-2.anim | 14 +- assets/resources/game/skill/atk/atk7.prefab | 4 + assets/resources/game/skill/atk/fb-1.prefab | 21 +- assets/resources/game/skill/atk/fb-2.prefab | 20 +- assets/resources/game/skill/atk/fb-3.prefab | 20 +- assets/resources/game/skill/atk/fb-4.prefab | 20 +- assets/resources/game/skill/atk/fb-5.prefab | 20 +- assets/resources/game/skill/atk/max1.prefab | 380 ++++++++++++++++++ .../resources/game/skill/atk/max1.prefab.meta | 13 + 9 files changed, 463 insertions(+), 49 deletions(-) create mode 100644 assets/resources/game/skill/atk/max1.prefab create mode 100644 assets/resources/game/skill/atk/max1.prefab.meta diff --git a/assets/resources/game/skill/anm/atk/fb-2.anim b/assets/resources/game/skill/anm/atk/fb-2.anim index 369a1128..825f1bbe 100644 --- a/assets/resources/game/skill/anm/atk/fb-2.anim +++ b/assets/resources/game/skill/anm/atk/fb-2.anim @@ -1,7 +1,7 @@ [ { "__type__": "cc.AnimationClip", - "_name": "fb-6", + "_name": "fb-2", "_objFlags": 0, "__editorExtras__": { "embeddedPlayerGroups": [] @@ -77,8 +77,8 @@ "__type__": "cc.RealCurve", "_times": [ 0, - 0.2, - 0.4 + 0.20000000298023224, + 0.4000000059604645 ], "_values": [ { @@ -137,8 +137,8 @@ "__type__": "cc.RealCurve", "_times": [ 0, - 0.2, - 0.4 + 0.20000000298023224, + 0.4000000059604645 ], "_values": [ { @@ -197,8 +197,8 @@ "__type__": "cc.RealCurve", "_times": [ 0, - 0.2, - 0.4 + 0.20000000298023224, + 0.4000000059604645 ], "_values": [ { diff --git a/assets/resources/game/skill/atk/atk7.prefab b/assets/resources/game/skill/atk/atk7.prefab index 2dc656ef..b7caaed4 100644 --- a/assets/resources/game/skill/atk/atk7.prefab +++ b/assets/resources/game/skill/atk/atk7.prefab @@ -258,6 +258,10 @@ "speed": 720, "time": 0, "distance": 0, + "forceStartX": -1, + "forceStartY": -1, + "summon_count": 1, + "height_offset": 0, "_id": "" }, { diff --git a/assets/resources/game/skill/atk/fb-1.prefab b/assets/resources/game/skill/atk/fb-1.prefab index c595ee57..87da8b2e 100644 --- a/assets/resources/game/skill/atk/fb-1.prefab +++ b/assets/resources/game/skill/atk/fb-1.prefab @@ -108,8 +108,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": -0.5, - "y": 0.5, + "x": -1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -136,8 +136,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 85, - "height": 119 + "width": 20, + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -178,7 +178,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -225,8 +225,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 30, - "height": 50 + "width": 20, + "height": 20 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -260,7 +260,8 @@ "distance": 0, "forceStartX": -1, "forceStartY": -1, - "summon_count": 3, + "summon_count": 1, + "height_offset": 0, "_id": "" }, { @@ -326,8 +327,8 @@ }, "_size": { "__type__": "cc.Size", - "width": 30, - "height": 50 + "width": 20, + "height": 100 }, "_id": "" }, diff --git a/assets/resources/game/skill/atk/fb-2.prefab b/assets/resources/game/skill/atk/fb-2.prefab index 26a64f6d..b5dd0297 100644 --- a/assets/resources/game/skill/atk/fb-2.prefab +++ b/assets/resources/game/skill/atk/fb-2.prefab @@ -58,8 +58,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -136,8 +136,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 78, - "height": 30 + "width": 20, + "height": 15 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -178,7 +178,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -225,8 +225,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 50, - "height": 100 + "width": 20, + "height": 20 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -258,6 +258,10 @@ "speed": 720, "time": 0, "distance": 0, + "forceStartX": -1, + "forceStartY": -1, + "summon_count": 1, + "height_offset": 0, "_id": "" }, { @@ -323,7 +327,7 @@ }, "_size": { "__type__": "cc.Size", - "width": 50, + "width": 20, "height": 100 }, "_id": "" diff --git a/assets/resources/game/skill/atk/fb-3.prefab b/assets/resources/game/skill/atk/fb-3.prefab index 14a9c056..cdbe8427 100644 --- a/assets/resources/game/skill/atk/fb-3.prefab +++ b/assets/resources/game/skill/atk/fb-3.prefab @@ -58,8 +58,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -136,8 +136,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 139, - "height": 127 + "width": 17.375, + "height": 15.875 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -178,7 +178,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -225,8 +225,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 50, - "height": 100 + "width": 20, + "height": 20 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -258,6 +258,10 @@ "speed": 720, "time": 0, "distance": 0, + "forceStartX": -1, + "forceStartY": -1, + "summon_count": 1, + "height_offset": 0, "_id": "" }, { @@ -323,7 +327,7 @@ }, "_size": { "__type__": "cc.Size", - "width": 50, + "width": 20, "height": 100 }, "_id": "" diff --git a/assets/resources/game/skill/atk/fb-4.prefab b/assets/resources/game/skill/atk/fb-4.prefab index f373f42f..3b3a8e56 100644 --- a/assets/resources/game/skill/atk/fb-4.prefab +++ b/assets/resources/game/skill/atk/fb-4.prefab @@ -58,8 +58,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -136,8 +136,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 139, - "height": 128 + "width": 17.375, + "height": 16 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -178,7 +178,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -225,8 +225,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 50, - "height": 100 + "width": 20, + "height": 20 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -258,6 +258,10 @@ "speed": 720, "time": 0, "distance": 0, + "forceStartX": -1, + "forceStartY": -1, + "summon_count": 1, + "height_offset": 0, "_id": "" }, { @@ -323,7 +327,7 @@ }, "_size": { "__type__": "cc.Size", - "width": 50, + "width": 20, "height": 100 }, "_id": "" diff --git a/assets/resources/game/skill/atk/fb-5.prefab b/assets/resources/game/skill/atk/fb-5.prefab index b2db61e7..cca02c87 100644 --- a/assets/resources/game/skill/atk/fb-5.prefab +++ b/assets/resources/game/skill/atk/fb-5.prefab @@ -58,8 +58,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -136,8 +136,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 112, - "height": 66 + "width": 22.4, + "height": 13.2 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -178,7 +178,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -225,8 +225,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 50, - "height": 100 + "width": 20, + "height": 20 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -258,6 +258,10 @@ "speed": 720, "time": 0, "distance": 0, + "forceStartX": -1, + "forceStartY": -1, + "summon_count": 1, + "height_offset": 0, "_id": "" }, { @@ -323,7 +327,7 @@ }, "_size": { "__type__": "cc.Size", - "width": 50, + "width": 20, "height": 100 }, "_id": "" diff --git a/assets/resources/game/skill/atk/max1.prefab b/assets/resources/game/skill/atk/max1.prefab new file mode 100644 index 00000000..562e695d --- /dev/null +++ b/assets/resources/game/skill/atk/max1.prefab @@ -0,0 +1,380 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "max1", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "max1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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.Node", + "_name": "Node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0.706489444943837, + "w": 0.7077235789366842 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": -1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 89.9 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 85, + "height": 119 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "93pNmvtQlLSqtTgIepyEmA" + }, + { + "__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__": "2842dc10-d89e-4ff6-8a11-6d09bf48cf20@59ec8", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "2842dc10-d89e-4ff6-8a11-6d09bf48cf20", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "12eKc8gltBz50frJCS5+ww" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3arqAMBz1MvoXBzeDaL5M/", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "57aabs7TE1J5obTAZczc+64", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "atk_x": 20, + "atk_y": 20, + "runType": 1, + "endType": 2, + "speed": 720, + "time": 0, + "distance": 0, + "forceStartX": -1, + "forceStartY": -1, + "summon_count": 3, + "height_offset": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35nW0iQNBH2bqkWAr3MVkQ" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "57cr7S0YpK4oEZCavwXtIX" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 1, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 50, + "height": 150 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ebw5mObxNGGKxnJXDgX5gl" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "45385cba-7334-4ff4-a548-578262417f58", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "45385cba-7334-4ff4-a548-578262417f58", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20U0hP/NZErJJXRCEib1lq" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/resources/game/skill/atk/max1.prefab.meta b/assets/resources/game/skill/atk/max1.prefab.meta new file mode 100644 index 00000000..aada103a --- /dev/null +++ b/assets/resources/game/skill/atk/max1.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "9596dad1-a58f-4ad3-89f9-7fea9fd84c7f", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "max1" + } +}