feat(skill): 重构技能模块,新增技能前后摇动画和组件

- 新增技能前后摇动画资源及配置
- 添加技能组件(SkillCom, EndAnmCom)和视图组件
- 重构技能配置表,支持前后摇动画配置
- 删除旧版技能资源(prefab, boom目录)
- 调整技能预制体路径结构
This commit is contained in:
2025-10-30 19:30:55 +08:00
parent 93ceaa70e4
commit 6db004a99f
44 changed files with 1000 additions and 2109 deletions

View File

@@ -0,0 +1,408 @@
[
{
"__type__": "cc.Prefab",
"_name": "atk_fire1",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "atk_fire1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_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.7071067811865475,
"w": 0.7071067811865476
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.3,
"y": 1.3,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 90
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 64,
"height": 64
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0bXCTL/l1A5YZuQAHcNimF"
},
{
"__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__": "56a24460-ef67-4aa0-a3f7-fad4007046dc@a22e7",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "56a24460-ef67-4aa0-a3f7-fad4007046dc",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b9QUlReiVJ7ZDxbXwpC4IM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9fUsJF0/xIH6lvrQ3ar5z7",
"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": 40,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"y": 0.5156666649712457
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"tag": 8,
"_group": 4,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -0.7,
"y": 0.5
},
"_size": {
"__type__": "cc.Size",
"width": 29.5,
"height": 10.8
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "81sJPuCINN3rZBRiuXBK3i"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 13
},
"enabledContactListener": true,
"bullet": false,
"awakeOnLoad": true,
"_group": 4,
"_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": "4bT+t24ixB5JXaf1K0opLg"
},
{
"__type__": "f680dkagx9PmbfqtF463/Ua",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"speed": 600,
"controlPointSide": 1,
"controlPointOffset": 0.1,
"controlPointRandomness": 0,
"autoRotate": true,
"showTrajectory": false,
"trajectoryColor": {
"__type__": "cc.Color",
"r": 0,
"g": 255,
"b": 0,
"a": 255
},
"trajectoryWidth": 3,
"easing": "linear",
"rotationSmoothness": 0.6,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5bdTSRB61JvJ58crjmM55d"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "5bec4860-3cc5-40ca-bac8-e04a29cd04bd",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "5bec4860-3cc5-40ca-bac8-e04a29cd04bd",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "81ijmfBpBLBYwxa+xOAd0J"
},
{
"__type__": "411a8xY2rNF1JLZn+Qgqfqg",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"anmEnd": false,
"cbox": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7frqHFRhdHXbaDJ490Ea1E"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -2,12 +2,12 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "845d0141-6de8-4498-9363-efacbc9a63e6",
"uuid": "26ff5f8c-e160-4977-bf1b-0b6153052bef",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "atk_fires"
"syncNodeName": "atk_fire1"
}
}

View File

@@ -1,348 +0,0 @@
[
{
"__type__": "cc.Prefab",
"_name": "atk_fires",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "atk_fires",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_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",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 3
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
},
"asset": {
"__uuid__": "43a67d73-b426-4f20-9a1f-1aaae1c82bd0",
"__expectedType__": "cc.Prefab"
},
"fileId": "cfqCWnxbFLNoQMedQXsav3",
"instance": {
"__id__": 4
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "51heDVa6dNC5JOz0aq5R7A",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 13
},
{
"__id__": 14
},
{
"__id__": 15
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_name"
],
"value": "ready"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"cfqCWnxbFLNoQMedQXsav3"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 6.112,
"y": 45.573,
"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__": 11
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": -0.7071067811865475,
"w": 0.7071067811865476
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"feOW1uSctLKYCw3esMiuox"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 1.2,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_active"
],
"value": true
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 2,
"y": 2,
"z": 1
}
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"y": 0.5156666649712457
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
},
{
"__type__": "fa24e/W24dKOpV/zeDMOkBU",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"atkPrefab": {
"__uuid__": "26ff5f8c-e160-4977-bf1b-0b6153052bef",
"__expectedType__": "cc.Prefab"
},
"hasReady": true,
"withHero": false,
"ReadyLoop": true,
"SkillTime": 5,
"ReadyTime": 0.2,
"runType": 0,
"ready_y": 200,
"atk_x": 0,
"atk_y": 0,
"s_count": 5,
"s_interval": 0.2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71M8fD8N5EuYBVRGv+zaXd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 2
}
]
}
]

View File

@@ -25,14 +25,17 @@
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 12
},
{
"__id__": 18
"__id__": 14
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 20
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -65,207 +68,216 @@
},
{
"__type__": "cc.Node",
"_name": "Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 3
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
},
"asset": {
"__uuid__": "43a67d73-b426-4f20-9a1f-1aaae1c82bd0",
"__expectedType__": "cc.Prefab"
},
"fileId": "cfqCWnxbFLNoQMedQXsav3",
"instance": {
"__id__": 4
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "51heDVa6dNC5JOz0aq5R7A",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 13
},
{
"__id__": 14
},
{
"__id__": 15
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
"_prefab": {
"__id__": 11
},
"propertyPath": [
"_name"
],
"value": "ready"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"cfqCWnxbFLNoQMedQXsav3"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lpos"
],
"value": {
"_lpos": {
"__type__": "cc.Vec3",
"x": 6.112,
"y": 45.573,
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lrot"
],
"value": {
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_euler"
],
"value": {
"_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__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0,
"z": -0.7071067811865475,
"w": 0.7071067811865476
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"feOW1uSctLKYCw3esMiuox"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"y": 0
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
}
"_id": ""
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"__type__": "cc.CompPrefabInfo",
"fileId": "93pNmvtQlLSqtTgIepyEmA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 1.2,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"_enabled": true,
"__prefab": {
"__id__": 6
},
"propertyPath": [
"_active"
],
"value": false
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "56a24460-ef67-4aa0-a3f7-fad4007046dc@29211",
"__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__": "56a24460-ef67-4aa0-a3f7-fad4007046dc",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
"__type__": "cc.CompPrefabInfo",
"fileId": "12eKc8gltBz50frJCS5+ww"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 2,
"y": 2,
"z": 1
}
"_enabled": true,
"__prefab": {
"__id__": 8
},
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_group": 1,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "98cPYmJhNA4J/GZdhUWQGv"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 43.5,
"y": 48.5
},
"_size": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63V4BzNKRDzYi3gYIKcuRs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3arqAMBz1MvoXBzeDaL5M/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
@@ -277,17 +289,17 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 13
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
"width": 240,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"y": 0.5156666649712457
"x": 0.5,
"y": 0
},
"_id": ""
},
@@ -296,7 +308,7 @@
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
},
{
"__type__": "fa24e/W24dKOpV/zeDMOkBU",
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -305,27 +317,44 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 15
},
"atkPrefab": {
"__uuid__": "551c634e-b486-4ff5-a302-279e365751ee",
"__expectedType__": "cc.Prefab"
"playOnLoad": true,
"_clips": [
{
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
},
"hasReady": false,
"ReadyLoop": false,
"SkillTime": 1,
"ReadyTime": 0.1,
"runType": 2,
"ready_y": 0,
"atk_x": 10,
"atk_y": 0,
"s_count": 1,
"s_interval": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71M8fD8N5EuYBVRGv+zaXd"
"fileId": "c2RDvksalG2acL3tyGCY0t"
},
{
"__type__": "411a8xY2rNF1JLZn+Qgqfqg",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"anmEnd": true,
"cbox": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "157f8YWOhK6pBg6CBgHHww"
},
{
"__type__": "cc.PrefabInfo",
@@ -337,11 +366,6 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 2
}
]
"targetOverrides": null
}
]

View File

@@ -2,7 +2,7 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "a29fa44a-a7d4-4476-989b-63fdcdf414d1",
"uuid": "551c634e-b486-4ff5-a302-279e365751ee",
"files": [
".json"
],

View File

@@ -25,14 +25,17 @@
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 12
},
{
"__id__": 18
"__id__": 14
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 20
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -65,207 +68,216 @@
},
{
"__type__": "cc.Node",
"_name": "Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 3
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
},
"asset": {
"__uuid__": "43a67d73-b426-4f20-9a1f-1aaae1c82bd0",
"__expectedType__": "cc.Prefab"
},
"fileId": "cfqCWnxbFLNoQMedQXsav3",
"instance": {
"__id__": 4
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "51heDVa6dNC5JOz0aq5R7A",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 13
},
{
"__id__": 14
},
{
"__id__": 15
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
"_prefab": {
"__id__": 11
},
"propertyPath": [
"_name"
],
"value": "ready"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"cfqCWnxbFLNoQMedQXsav3"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lpos"
],
"value": {
"_lpos": {
"__type__": "cc.Vec3",
"x": 6.112,
"y": 45.573,
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lrot"
],
"value": {
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_euler"
],
"value": {
"_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__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0,
"z": -0.7071067811865475,
"w": 0.7071067811865476
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"feOW1uSctLKYCw3esMiuox"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"y": 0
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
}
"_id": ""
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"__type__": "cc.CompPrefabInfo",
"fileId": "93pNmvtQlLSqtTgIepyEmA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 1.2,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"_enabled": true,
"__prefab": {
"__id__": 6
},
"propertyPath": [
"_active"
],
"value": false
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "56a24460-ef67-4aa0-a3f7-fad4007046dc@aa3e6",
"__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__": "56a24460-ef67-4aa0-a3f7-fad4007046dc",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
"__type__": "cc.CompPrefabInfo",
"fileId": "12eKc8gltBz50frJCS5+ww"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 2,
"y": 2,
"z": 1
}
"_enabled": true,
"__prefab": {
"__id__": 8
},
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_group": 1,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "98cPYmJhNA4J/GZdhUWQGv"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 43.5,
"y": 48.5
},
"_size": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63V4BzNKRDzYi3gYIKcuRs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3arqAMBz1MvoXBzeDaL5M/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
@@ -277,17 +289,17 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 13
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
"width": 240,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"y": 0.5156666649712457
"x": 0.5,
"y": 0
},
"_id": ""
},
@@ -296,7 +308,7 @@
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
},
{
"__type__": "fa24e/W24dKOpV/zeDMOkBU",
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -305,23 +317,44 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 15
},
"atkPrefab": {
"__uuid__": "6ccc9250-6e7a-48a9-8a8d-75d6c9406d21",
"__expectedType__": "cc.Prefab"
"playOnLoad": true,
"_clips": [
{
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
},
"runType": 2,
"hasReady": false,
"ReadyTime": 0.1,
"ready_y": 0,
"atk_x": 10,
"atk_y": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71M8fD8N5EuYBVRGv+zaXd"
"fileId": "c2RDvksalG2acL3tyGCY0t"
},
{
"__type__": "411a8xY2rNF1JLZn+Qgqfqg",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"anmEnd": true,
"cbox": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "157f8YWOhK6pBg6CBgHHww"
},
{
"__type__": "cc.PrefabInfo",
@@ -333,11 +366,6 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 2
}
]
"targetOverrides": null
}
]

View File

@@ -2,7 +2,7 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "dce11b51-ebee-49f3-be9e-7e061d08f1e8",
"uuid": "6ccc9250-6e7a-48a9-8a8d-75d6c9406d21",
"files": [
".json"
],

View File

@@ -25,14 +25,17 @@
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 12
},
{
"__id__": 18
"__id__": 14
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 20
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -65,207 +68,216 @@
},
{
"__type__": "cc.Node",
"_name": "Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 3
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 2
},
"asset": {
"__uuid__": "43a67d73-b426-4f20-9a1f-1aaae1c82bd0",
"__expectedType__": "cc.Prefab"
},
"fileId": "cfqCWnxbFLNoQMedQXsav3",
"instance": {
"__id__": 4
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "51heDVa6dNC5JOz0aq5R7A",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 13
},
{
"__id__": 14
},
{
"__id__": 15
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
"_prefab": {
"__id__": 11
},
"propertyPath": [
"_name"
],
"value": "ready"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"cfqCWnxbFLNoQMedQXsav3"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lpos"
],
"value": {
"_lpos": {
"__type__": "cc.Vec3",
"x": 6.112,
"y": 45.573,
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_lrot"
],
"value": {
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_euler"
],
"value": {
"_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__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0,
"z": -0.7071067811865475,
"w": 0.7071067811865476
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"feOW1uSctLKYCw3esMiuox"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"y": 0
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
}
"_id": ""
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 11
"__type__": "cc.CompPrefabInfo",
"fileId": "93pNmvtQlLSqtTgIepyEmA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 1.2,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"_enabled": true,
"__prefab": {
"__id__": 6
},
"propertyPath": [
"_active"
],
"value": false
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "56a24460-ef67-4aa0-a3f7-fad4007046dc@91931",
"__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__": "56a24460-ef67-4aa0-a3f7-fad4007046dc",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
"__type__": "cc.CompPrefabInfo",
"fileId": "12eKc8gltBz50frJCS5+ww"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 2,
"y": 2,
"z": 1
}
"_enabled": true,
"__prefab": {
"__id__": 8
},
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_group": 1,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "98cPYmJhNA4J/GZdhUWQGv"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 43.5,
"y": 48.5
},
"_size": {
"__type__": "cc.Size",
"width": 87,
"height": 97
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63V4BzNKRDzYi3gYIKcuRs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3arqAMBz1MvoXBzeDaL5M/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
@@ -277,17 +289,17 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 13
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
"width": 240,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"y": 0.5156666649712457
"x": 0.5,
"y": 0
},
"_id": ""
},
@@ -296,7 +308,7 @@
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
},
{
"__type__": "fa24e/W24dKOpV/zeDMOkBU",
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@@ -305,23 +317,44 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 15
},
"atkPrefab": {
"__uuid__": "940ebade-65c5-4af0-b3ef-99b339fb81d1",
"__expectedType__": "cc.Prefab"
"playOnLoad": true,
"_clips": [
{
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "45017156-064b-43f2-a24e-176b6ce17ad8",
"__expectedType__": "cc.AnimationClip"
},
"runType": 2,
"hasReady": false,
"ReadyTime": 0.1,
"ready_y": 0,
"atk_x": 10,
"atk_y": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71M8fD8N5EuYBVRGv+zaXd"
"fileId": "c2RDvksalG2acL3tyGCY0t"
},
{
"__type__": "411a8xY2rNF1JLZn+Qgqfqg",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"anmEnd": true,
"cbox": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "157f8YWOhK6pBg6CBgHHww"
},
{
"__type__": "cc.PrefabInfo",
@@ -333,11 +366,6 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 2
}
]
"targetOverrides": null
}
]

View File

@@ -2,7 +2,7 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "96031e6d-7853-4ab2-8621-7ae5e9154386",
"uuid": "940ebade-65c5-4af0-b3ef-99b339fb81d1",
"files": [
".json"
],