碰撞体 基本完成,开始精灵技能释放优化

This commit is contained in:
2024-08-22 13:38:03 +08:00
parent a707bcca29
commit bdb96e61a1
35 changed files with 806 additions and 1809 deletions

View File

@@ -27,18 +27,18 @@
],
"_active": true,
"_components": [
{
"__id__": 66
},
{
"__id__": 68
},
{
"__id__": 70
},
{
"__id__": 72
},
{
"__id__": 74
}
],
"_prefab": {
"__id__": 72
"__id__": 76
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -196,18 +196,18 @@
],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 61
},
{
"__id__": 63
},
{
"__id__": 65
},
{
"__id__": 67
}
],
"_prefab": {
"__id__": 65
"__id__": 69
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -250,24 +250,24 @@
{
"__id__": 8
},
{
"__id__": 30
},
{
"__id__": 34
},
{
"__id__": 40
"__id__": 38
},
{
"__id__": 44
}
],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 60
}
],
"_prefab": {
"__id__": 58
"__id__": 62
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -313,21 +313,21 @@
],
"_active": true,
"_components": [
{
"__id__": 21
},
{
"__id__": 23
},
{
"__id__": 25
},
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
}
],
"_prefab": {
"__id__": 29
"__id__": 33
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -374,14 +374,14 @@
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 20
},
{
"__id__": 18
"__id__": 22
}
],
"_prefab": {
"__id__": 20
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -428,10 +428,16 @@
},
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 15
"__id__": 19
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -535,6 +541,74 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "66D90QlYtEvKkAU6KcReVW"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"enabledContactListener": true,
"bullet": true,
"awakeOnLoad": true,
"_group": 1,
"_type": 1,
"_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": "ecdGKWzdRP0rBH3uhPVyE9"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 18
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": -386.5
},
"_size": {
"__type__": "cc.Size",
"width": 3182.4,
"height": 827
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a3TPeHnrtB97468bJdHi1x"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -558,7 +632,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 17
"__id__": 21
},
"_contentSize": {
"__type__": "cc.Size",
@@ -586,7 +660,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 19
"__id__": 23
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -644,7 +718,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 22
"__id__": 26
},
"_contentSize": {
"__type__": "cc.Size",
@@ -672,10 +746,10 @@
},
"_enabled": true,
"__prefab": {
"__id__": 24
"__id__": 28
},
"bgImg": {
"__id__": 18
"__id__": 22
},
"_id": ""
},
@@ -693,7 +767,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 26
"__id__": 30
},
"light": {
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
@@ -715,7 +789,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 28
"__id__": 32
},
"_id": ""
},
@@ -746,104 +820,13 @@
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
}
],
"_prefab": {
"__id__": 33
},
"_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": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "31oHtMbJVMArMbwqigKTMo"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "dcwiHpOeZB4rB8JR5Z9iTM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "EntityLayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 37
}
],
"_prefab": {
"__id__": 39
"__id__": 37
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -898,6 +881,97 @@
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "31oHtMbJVMArMbwqigKTMo"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "dcwiHpOeZB4rB8JR5Z9iTM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "EntityLayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
},
{
"__id__": 41
}
],
"_prefab": {
"__id__": 43
},
"_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": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 40
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f91Y4OCX1NFKfSWOAvmdSa"
@@ -908,11 +982,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 38
"__id__": 42
},
"_id": ""
},
@@ -943,20 +1017,20 @@
},
"_children": [
{
"__id__": 41
"__id__": 45
}
],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 55
},
{
"__id__": 53
"__id__": 57
}
],
"_prefab": {
"__id__": 55
"__id__": 59
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -991,17 +1065,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 44
},
"_prefab": {
"__id__": 42
"__id__": 46
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 41
"__id__": 45
},
"asset": {
"__uuid__": "63c02880-bda6-4370-bb22-46bf4f49bbfe",
@@ -1009,7 +1083,7 @@
},
"fileId": "fdklpBwCBM/qJ4WFlQF3kT",
"instance": {
"__id__": 43
"__id__": 47
},
"targetOverrides": null
},
@@ -1022,23 +1096,23 @@
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 44
},
{
"__id__": 46
},
{
"__id__": 47
},
{
"__id__": 48
},
{
"__id__": 49
"__id__": 50
},
{
"__id__": 50
"__id__": 51
},
{
"__id__": 52
},
{
"__id__": 53
},
{
"__id__": 54
}
],
"removedComponents": []
@@ -1046,7 +1120,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
"__id__": 49
},
"propertyPath": [
"_name"
@@ -1062,7 +1136,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
"__id__": 49
},
"propertyPath": [
"_lpos"
@@ -1077,7 +1151,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
"__id__": 49
},
"propertyPath": [
"_lrot"
@@ -1093,7 +1167,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
"__id__": 49
},
"propertyPath": [
"_euler"
@@ -1108,7 +1182,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
"__id__": 49
},
"propertyPath": [
"_active"
@@ -1118,7 +1192,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
"__id__": 49
},
"propertyPath": [
"_lscale"
@@ -1136,11 +1210,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 56
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1164,11 +1238,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 58
},
"light": {
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
@@ -1203,7 +1277,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 61
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1244,7 +1318,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 60
"__id__": 64
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1272,7 +1346,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 62
"__id__": 66
},
"camera": {
"__id__": 3
@@ -1281,16 +1355,16 @@
"__id__": 7
},
"mapLayer": {
"__id__": 23
"__id__": 27
},
"floorLayer": {
"__id__": 30
"__id__": 34
},
"entityLayer": {
"__id__": 37
"__id__": 41
},
"SkillLayer": {
"__id__": 53
"__id__": 57
},
"isFollowPlayer": true,
"_id": ""
@@ -1309,7 +1383,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 64
"__id__": 68
},
"_id": ""
},
@@ -1340,7 +1414,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 67
"__id__": 71
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1368,7 +1442,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 69
"__id__": 73
},
"_cameraComponent": {
"__id__": 3
@@ -1390,7 +1464,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 71
"__id__": 75
},
"_alignFlags": 45,
"_target": null,
@@ -1429,7 +1503,7 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 41
"__id__": 45
}
]
}