技能系统 初步搭建,下步 伤害系统

This commit is contained in:
2025-02-03 01:07:56 +08:00
parent 2e53786aa0
commit 5536428125
15 changed files with 465 additions and 846 deletions

View File

@@ -59,16 +59,10 @@
},
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 93
}
],
"_prefab": {
"__id__": 95
"__id__": 91
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1352,74 +1346,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"enabledContactListener": true,
"bullet": true,
"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": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 88
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1430,7 +1356,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 90
"__id__": 86
},
"anm": {
"__id__": 22
@@ -1451,7 +1377,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 92
"__id__": 88
},
"_id": ""
},
@@ -1469,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 94
"__id__": 90
},
"_id": ""
},

View File

@@ -59,16 +59,10 @@
},
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 93
}
],
"_prefab": {
"__id__": 95
"__id__": 91
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1352,74 +1346,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"enabledContactListener": true,
"bullet": true,
"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": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 88
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1430,7 +1356,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 90
"__id__": 86
},
"anm": {
"__id__": 22
@@ -1451,7 +1377,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 92
"__id__": 88
},
"_id": ""
},
@@ -1469,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 94
"__id__": 90
},
"_id": ""
},

View File

@@ -59,16 +59,10 @@
},
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 93
}
],
"_prefab": {
"__id__": 95
"__id__": 91
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1352,74 +1346,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"enabledContactListener": true,
"bullet": true,
"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": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 88
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1430,7 +1356,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 90
"__id__": 86
},
"anm": {
"__id__": 22
@@ -1451,7 +1377,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 92
"__id__": 88
},
"_id": ""
},
@@ -1469,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 94
"__id__": 90
},
"_id": ""
},

View File

@@ -59,16 +59,10 @@
},
{
"__id__": 90
},
{
"__id__": 92
},
{
"__id__": 94
}
],
"_prefab": {
"__id__": 96
"__id__": 92
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1365,74 +1359,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 87
},
"enabledContactListener": true,
"bullet": true,
"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": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 89
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1443,7 +1369,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 91
"__id__": 87
},
"anm": {
"__id__": 22
@@ -1464,7 +1390,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 93
"__id__": 89
},
"_id": ""
},
@@ -1482,7 +1408,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 95
"__id__": 91
},
"_id": ""
},

View File

@@ -59,16 +59,10 @@
},
{
"__id__": 90
},
{
"__id__": 92
},
{
"__id__": 94
}
],
"_prefab": {
"__id__": 96
"__id__": 92
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1365,74 +1359,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 87
},
"enabledContactListener": true,
"bullet": true,
"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": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 89
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1443,7 +1369,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 91
"__id__": 87
},
"anm": {
"__id__": 22
@@ -1464,7 +1390,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 93
"__id__": 89
},
"_id": ""
},
@@ -1482,7 +1408,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 95
"__id__": 91
},
"_id": ""
},

View File

@@ -59,13 +59,10 @@
},
{
"__id__": 89
},
{
"__id__": 91
}
],
"_prefab": {
"__id__": 93
"__id__": 91
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1349,40 +1346,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1393,7 +1356,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 88
"__id__": 86
},
"anm": {
"__id__": 22
@@ -1414,7 +1377,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 90
"__id__": 88
},
"_id": ""
},
@@ -1432,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 92
"__id__": 90
},
"_id": ""
},

View File

@@ -59,13 +59,10 @@
},
{
"__id__": 89
},
{
"__id__": 91
}
],
"_prefab": {
"__id__": 93
"__id__": 91
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1349,40 +1346,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1393,7 +1356,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 88
"__id__": 86
},
"anm": {
"__id__": 22
@@ -1414,7 +1377,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 90
"__id__": 88
},
"_id": ""
},
@@ -1432,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 92
"__id__": 90
},
"_id": ""
},