添加2个游戏层,敌方精灵随机出现在3个层内

This commit is contained in:
2024-08-22 22:59:43 +08:00
parent 6e9faca1a3
commit 2917c12f14
65 changed files with 394 additions and 2540 deletions

View File

@@ -28,17 +28,17 @@
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 72
},
{
"__id__": 82
"__id__": 74
},
{
"__id__": 84
"__id__": 76
}
],
"_prefab": {
"__id__": 86
"__id__": 78
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -197,17 +197,17 @@
"_active": true,
"_components": [
{
"__id__": 73
"__id__": 65
},
{
"__id__": 75
"__id__": 67
},
{
"__id__": 77
"__id__": 69
}
],
"_prefab": {
"__id__": 79
"__id__": 71
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -258,16 +258,22 @@
},
{
"__id__": 44
},
{
"__id__": 50
},
{
"__id__": 56
}
],
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 62
}
],
"_prefab": {
"__id__": 72
"__id__": 64
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -900,7 +906,7 @@
},
{
"__type__": "cc.Node",
"_name": "EntityLayer",
"_name": "EntityLayer1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -974,7 +980,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f91Y4OCX1NFKfSWOAvmdSa"
"fileId": "f4UHtJSdBGoJN5JNrTo0Cc"
},
{
"__type__": "6639ayo4DFKZYCU2OBZzyb+",
@@ -992,7 +998,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6fzmfjcbNPK6tOzQOKJfRV"
"fileId": "9cpgNjFL5L1Ig8YQrAcaO8"
},
{
"__type__": "cc.PrefabInfo",
@@ -1002,35 +1008,31 @@
"asset": {
"__id__": 0
},
"fileId": "77ZGG4JjxGiol1pDVFrjGQ",
"fileId": "99wEvV2I5Pv6rwpPNwdrxE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "SkillLayer",
"_name": "EntityLayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 45
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
"__id__": 45
},
{
"__id__": 67
"__id__": 47
}
],
"_prefab": {
"__id__": 69
"__id__": 49
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1061,273 +1063,6 @@
},
"_id": ""
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 44
},
"_prefab": {
"__id__": 46
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 45
},
"asset": {
"__uuid__": "63c02880-bda6-4370-bb22-46bf4f49bbfe",
"__expectedType__": "cc.Prefab"
},
"fileId": "fdklpBwCBM/qJ4WFlQF3kT",
"instance": {
"__id__": 47
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "2fXaJzu7JM+6/jYrphb/fs",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 48
},
{
"__id__": 50
},
{
"__id__": 51
},
{
"__id__": 52
},
{
"__id__": 53
},
{
"__id__": 54
},
{
"__id__": 55
},
{
"__id__": 57
},
{
"__id__": 59
},
{
"__id__": 60
},
{
"__id__": 61
},
{
"__id__": 62
},
{
"__id__": 63
},
{
"__id__": 64
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 49
},
"propertyPath": [
"_name"
],
"value": "own"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"fdklpBwCBM/qJ4WFlQF3kT"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 49
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": -13.446,
"y": -13.431,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 49
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 49
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 49
},
"propertyPath": [
"_active"
],
"value": true
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 49
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 56
},
"propertyPath": [
"_group"
],
"value": 4
},
{
"__type__": "cc.TargetInfo",
"localID": [
"c8EJ1KQ3hNRbAw0cgsaNRx"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_group"
],
"value": 4
},
{
"__type__": "cc.TargetInfo",
"localID": [
"62fAGknj9OypOrug6f/FI6"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_sensor"
],
"value": true
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 56
},
"propertyPath": [
"_type"
],
"value": 2
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_density"
],
"value": 0
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_offset"
],
"value": {
"__type__": "cc.Vec2",
"x": 1.1,
"y": 35.9
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 58
},
"propertyPath": [
"_size"
],
"value": {
"__type__": "cc.Size",
"width": 57.5,
"height": 128
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 56
},
"propertyPath": [
"_gravityScale"
],
"value": 0
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -1338,7 +1073,225 @@
},
"_enabled": true,
"__prefab": {
"__id__": 66
"__id__": 46
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f91Y4OCX1NFKfSWOAvmdSa"
},
{
"__type__": "6639ayo4DFKZYCU2OBZzyb+",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 48
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6fzmfjcbNPK6tOzQOKJfRV"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "77ZGG4JjxGiol1pDVFrjGQ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "EntityLayer2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 53
}
],
"_prefab": {
"__id__": 55
},
"_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__": 50
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fcl9eWhS9K6ZtX9Z626PPp"
},
{
"__type__": "6639ayo4DFKZYCU2OBZzyb+",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
},
"_enabled": true,
"__prefab": {
"__id__": 54
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a2VlMB5DNOr4wbzGgH2lXk"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "4fP7G4KUBB+56gZWSQoIpq",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "SkillLayer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
},
{
"__id__": 59
}
],
"_prefab": {
"__id__": 61
},
"_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__": 56
},
"_enabled": true,
"__prefab": {
"__id__": 58
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1362,11 +1315,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 44
"__id__": 56
},
"_enabled": true,
"__prefab": {
"__id__": 68
"__id__": 60
},
"light": {
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
@@ -1401,7 +1354,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 71
"__id__": 63
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1442,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 74
"__id__": 66
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1470,7 +1423,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 76
"__id__": 68
},
"camera": {
"__id__": 3
@@ -1485,10 +1438,16 @@
"__id__": 34
},
"entityLayer": {
"__id__": 47
},
"entityLayer1": {
"__id__": 41
},
"entityLayer2": {
"__id__": 53
},
"SkillLayer": {
"__id__": 67
"__id__": 59
},
"isFollowPlayer": true,
"_id": ""
@@ -1507,7 +1466,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 78
"__id__": 70
},
"_id": ""
},
@@ -1538,7 +1497,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 81
"__id__": 73
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1566,7 +1525,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 83
"__id__": 75
},
"_cameraComponent": {
"__id__": 3
@@ -1588,7 +1547,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 85
"__id__": 77
},
"_alignFlags": 45,
"_target": null,
@@ -1624,11 +1583,6 @@
},
"fileId": "32qENLKwZHV5S2IyZfpNx2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 45
}
]
"targetOverrides": null
}
]