dd
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.2.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "483b22f0-4ba6-430b-9b6f-bbb85ed5c9a4",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 18 KiB |
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.0.26",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "a6e2fd6f-6774-40af-be95-bdcdea163f61",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "a6e2fd6f-6774-40af-be95-bdcdea163f61@6c48a",
|
|
||||||
"displayName": "Layer01",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "a6e2fd6f-6774-40af-be95-bdcdea163f61",
|
|
||||||
"visible": false
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": true,
|
|
||||||
"type": "texture",
|
|
||||||
"fixAlphaTransparencyArtifacts": false,
|
|
||||||
"redirect": "a6e2fd6f-6774-40af-be95-bdcdea163f61@6c48a"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.0.26",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "44ef3dea-6b8f-4fcf-b770-518e05805857",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "44ef3dea-6b8f-4fcf-b770-518e05805857@6c48a",
|
|
||||||
"displayName": "Layer02",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "44ef3dea-6b8f-4fcf-b770-518e05805857",
|
|
||||||
"visible": false
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": true,
|
|
||||||
"type": "texture",
|
|
||||||
"fixAlphaTransparencyArtifacts": false,
|
|
||||||
"redirect": "44ef3dea-6b8f-4fcf-b770-518e05805857@6c48a"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.0.26",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "c20b06a6-3e8a-437f-aed2-222b54a5f764",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "c20b06a6-3e8a-437f-aed2-222b54a5f764@6c48a",
|
|
||||||
"displayName": "Layer03",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "c20b06a6-3e8a-437f-aed2-222b54a5f764",
|
|
||||||
"visible": false
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": true,
|
|
||||||
"type": "texture",
|
|
||||||
"fixAlphaTransparencyArtifacts": false,
|
|
||||||
"redirect": "c20b06a6-3e8a-437f-aed2-222b54a5f764@6c48a"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 19 KiB |
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.0.26",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "da79efaa-ca27-4adb-8c63-2338ca519a91",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "da79efaa-ca27-4adb-8c63-2338ca519a91@6c48a",
|
|
||||||
"displayName": "Layer04",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "da79efaa-ca27-4adb-8c63-2338ca519a91",
|
|
||||||
"visible": false
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": true,
|
|
||||||
"type": "texture",
|
|
||||||
"fixAlphaTransparencyArtifacts": false,
|
|
||||||
"redirect": "da79efaa-ca27-4adb-8c63-2338ca519a91@6c48a"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 40 KiB |
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.0.26",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "d5411f9c-affd-43b1-b6de-4b20abcc06fc",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "d5411f9c-affd-43b1-b6de-4b20abcc06fc@6c48a",
|
|
||||||
"displayName": "Sample",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "d5411f9c-affd-43b1-b6de-4b20abcc06fc",
|
|
||||||
"visible": false
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": false,
|
|
||||||
"type": "texture",
|
|
||||||
"fixAlphaTransparencyArtifacts": false,
|
|
||||||
"redirect": "d5411f9c-affd-43b1-b6de-4b20abcc06fc@6c48a"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 92 KiB |
@@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"ver": "1.0.26",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "71e70476-d42a-4436-8d4f-f648fe74980b",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "71e70476-d42a-4436-8d4f-f648fe74980b@6c48a",
|
|
||||||
"displayName": "Sample",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "71e70476-d42a-4436-8d4f-f648fe74980b",
|
|
||||||
"visible": false
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": false,
|
|
||||||
"type": "texture",
|
|
||||||
"fixAlphaTransparencyArtifacts": false,
|
|
||||||
"redirect": "71e70476-d42a-4436-8d4f-f648fe74980b@6c48a"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
BIN
assets/resources/game/map/Background03/tu.png
Normal file
|
After Width: | Height: | Size: 284 B |
134
assets/resources/game/map/Background03/tu.png.meta
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1@6c48a",
|
||||||
|
"displayName": "tu",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1@f9941",
|
||||||
|
"displayName": "tu",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 1773,
|
||||||
|
"height": 23,
|
||||||
|
"rawWidth": 1773,
|
||||||
|
"rawHeight": 23,
|
||||||
|
"borderTop": 8,
|
||||||
|
"borderBottom": 8,
|
||||||
|
"borderLeft": 50,
|
||||||
|
"borderRight": 50,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-886.5,
|
||||||
|
-11.5,
|
||||||
|
0,
|
||||||
|
886.5,
|
||||||
|
-11.5,
|
||||||
|
0,
|
||||||
|
-886.5,
|
||||||
|
11.5,
|
||||||
|
0,
|
||||||
|
886.5,
|
||||||
|
11.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
23,
|
||||||
|
1773,
|
||||||
|
23,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1773,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-886.5,
|
||||||
|
-11.5,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
886.5,
|
||||||
|
11.5,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": false,
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1@f9941"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -28,17 +28,17 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 94
|
"__id__": 100
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 96
|
"__id__": 102
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 98
|
"__id__": 104
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 100
|
"__id__": 106
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -197,17 +197,17 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 87
|
"__id__": 93
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 89
|
"__id__": 95
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 91
|
"__id__": 97
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 93
|
"__id__": 99
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -251,23 +251,23 @@
|
|||||||
"__id__": 8
|
"__id__": 8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 68
|
"__id__": 74
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 72
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 78
|
"__id__": 78
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 84
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 84
|
"__id__": 90
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 86
|
"__id__": 92
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -313,21 +313,21 @@
|
|||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
|
||||||
"__id__": 59
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 61
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 63
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"__id__": 65
|
"__id__": 65
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 67
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 69
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 71
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 67
|
"__id__": 73
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -381,19 +381,22 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 48
|
"__id__": 48
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 54
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 54
|
"__id__": 60
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 56
|
"__id__": 62
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 58
|
"__id__": 64
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -631,6 +634,8 @@
|
|||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "cbqWyhBUZLeKAa6fArmzyJ",
|
"fileId": "cbqWyhBUZLeKAa6fArmzyJ",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -786,6 +791,8 @@
|
|||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "92XDY4NeZD07xO8FU9k7Xb",
|
"fileId": "92XDY4NeZD07xO8FU9k7Xb",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1239,7 +1246,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Layer01",
|
"_name": "spriteFrame",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
@@ -1261,7 +1268,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 200,
|
"y": -452.728,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -1299,6 +1306,142 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 50
|
"__id__": 50
|
||||||
},
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 1773,
|
||||||
|
"height": 800
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "e2d+cmCdRBmLUPIfk53EwX"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 48
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 52
|
||||||
|
},
|
||||||
|
"_customMaterial": null,
|
||||||
|
"_srcBlendFactor": 2,
|
||||||
|
"_dstBlendFactor": 4,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "fe34d98d-25e6-4e91-b4ee-44c756bfb6f1@f9941",
|
||||||
|
"__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": null,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "4c0Opm8ZtOcbgfirBLgDLQ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__id__": 0
|
||||||
|
},
|
||||||
|
"fileId": "9fJAsEC0hBbqvJbIJrRRMQ",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "Layer01",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 9
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 55
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 57
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 59
|
||||||
|
},
|
||||||
|
"_lpos": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 200,
|
||||||
|
"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__": 54
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 56
|
||||||
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 1773,
|
"width": 1773,
|
||||||
@@ -1321,11 +1464,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 48
|
"__id__": 54
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 52
|
"__id__": 58
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -1369,6 +1512,8 @@
|
|||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "9cWknGJDNF85ig6JnSC66/",
|
"fileId": "9cWknGJDNF85ig6JnSC66/",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1381,7 +1526,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 55
|
"__id__": 61
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -1409,7 +1554,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 57
|
"__id__": 63
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -1467,7 +1612,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 60
|
"__id__": 66
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -1495,10 +1640,10 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 62
|
"__id__": 68
|
||||||
},
|
},
|
||||||
"bgImg": {
|
"bgImg": {
|
||||||
"__id__": 56
|
"__id__": 62
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -1516,7 +1661,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 64
|
"__id__": 70
|
||||||
},
|
},
|
||||||
"light": {
|
"light": {
|
||||||
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
|
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
|
||||||
@@ -1538,7 +1683,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 66
|
"__id__": 72
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -1570,97 +1715,6 @@
|
|||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
|
||||||
"__id__": 69
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 71
|
|
||||||
},
|
|
||||||
"_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__": 68
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 70
|
|
||||||
},
|
|
||||||
"_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": 512,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 7
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 73
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"__id__": 75
|
"__id__": 75
|
||||||
}
|
}
|
||||||
@@ -1703,11 +1757,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 72
|
"__id__": 74
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 74
|
"__id__": 76
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -1723,25 +1777,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
"fileId": "f91Y4OCX1NFKfSWOAvmdSa"
|
"fileId": "31oHtMbJVMArMbwqigKTMo"
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "6639ayo4DFKZYCU2OBZzyb+",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 72
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 76
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "6fzmfjcbNPK6tOzQOKJfRV"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.PrefabInfo",
|
"__type__": "cc.PrefabInfo",
|
||||||
@@ -1751,14 +1787,14 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "77ZGG4JjxGiol1pDVFrjGQ",
|
"fileId": "dcwiHpOeZB4rB8JR5Z9iTM",
|
||||||
"instance": null,
|
"instance": null,
|
||||||
"targetOverrides": null,
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "SkillLayer",
|
"_name": "EntityLayer",
|
||||||
"_objFlags": 512,
|
"_objFlags": 512,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
@@ -1823,6 +1859,115 @@
|
|||||||
"width": 100,
|
"width": 100,
|
||||||
"height": 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__": 78
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 82
|
||||||
|
},
|
||||||
|
"_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": "SkillLayer",
|
||||||
|
"_objFlags": 512,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 7
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 85
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 87
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 89
|
||||||
|
},
|
||||||
|
"_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__": 84
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 86
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 100,
|
||||||
|
"height": 100
|
||||||
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
@@ -1840,11 +1985,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 78
|
"__id__": 84
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 82
|
"__id__": 88
|
||||||
},
|
},
|
||||||
"light": {
|
"light": {
|
||||||
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
|
"__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
|
||||||
@@ -1879,7 +2024,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 85
|
"__id__": 91
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -1920,7 +2065,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 88
|
"__id__": 94
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -1948,7 +2093,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 90
|
"__id__": 96
|
||||||
},
|
},
|
||||||
"camera": {
|
"camera": {
|
||||||
"__id__": 3
|
"__id__": 3
|
||||||
@@ -1957,16 +2102,16 @@
|
|||||||
"__id__": 7
|
"__id__": 7
|
||||||
},
|
},
|
||||||
"mapLayer": {
|
"mapLayer": {
|
||||||
"__id__": 61
|
"__id__": 67
|
||||||
},
|
},
|
||||||
"floorLayer": {
|
"floorLayer": {
|
||||||
"__id__": 68
|
"__id__": 74
|
||||||
},
|
},
|
||||||
"entityLayer": {
|
"entityLayer": {
|
||||||
"__id__": 75
|
"__id__": 81
|
||||||
},
|
},
|
||||||
"SkillLayer": {
|
"SkillLayer": {
|
||||||
"__id__": 81
|
"__id__": 87
|
||||||
},
|
},
|
||||||
"isFollowPlayer": true,
|
"isFollowPlayer": true,
|
||||||
"_id": ""
|
"_id": ""
|
||||||
@@ -1985,7 +2130,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 92
|
"__id__": 98
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -2016,7 +2161,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 95
|
"__id__": 101
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -2044,7 +2189,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 97
|
"__id__": 103
|
||||||
},
|
},
|
||||||
"_cameraComponent": {
|
"_cameraComponent": {
|
||||||
"__id__": 3
|
"__id__": 3
|
||||||
@@ -2066,7 +2211,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 99
|
"__id__": 105
|
||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export class CardControllerComp extends CCComp {
|
|||||||
bbg_y:number=40
|
bbg_y:number=40
|
||||||
bbg_x:any=[-300,-150,0,150,300]
|
bbg_x:any=[-300,-150,0,150,300]
|
||||||
protected onLoad(): void {
|
protected onLoad(): void {
|
||||||
oops.message.on(GameEvent.MissionStart,this.mission_home_to_mission,this)
|
|
||||||
// oops.message.on(GameEvent.MissionEnd,this.mission_home_to_mission,this)
|
// oops.message.on(GameEvent.MissionEnd,this.mission_home_to_mission,this)
|
||||||
}
|
}
|
||||||
start() {
|
start() {
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ export class MissionComp extends CCComp {
|
|||||||
MSComp:MSkillComp=null
|
MSComp:MSkillComp=null
|
||||||
MMSComp:MSkillComp=null
|
MMSComp:MSkillComp=null
|
||||||
|
|
||||||
|
|
||||||
onLoad(){
|
onLoad(){
|
||||||
// this.MSComp=this.node.getChildByName("msk").getComponent(MSkillComp)
|
// this.MSComp=this.node.getChildByName("msk").getComponent(MSkillComp)
|
||||||
// this.MMSComp=this.node.getChildByName("mmsk").getComponent(MSkillComp)
|
// this.MMSComp=this.node.getChildByName("mmsk").getComponent(MSkillComp)
|
||||||
@@ -65,7 +66,6 @@ export class MissionComp extends CCComp {
|
|||||||
}
|
}
|
||||||
this.count_hero_pos()
|
this.count_hero_pos()
|
||||||
this.count_mon_pos()
|
this.count_mon_pos()
|
||||||
this.check_buff()
|
|
||||||
// if (this.game_timer.update(dt)) {
|
// if (this.game_timer.update(dt)) {
|
||||||
// smc.vmdata.game.g_time += 1;
|
// smc.vmdata.game.g_time += 1;
|
||||||
// }
|
// }
|
||||||
@@ -77,20 +77,15 @@ export class MissionComp extends CCComp {
|
|||||||
this.colose_victory()
|
this.colose_victory()
|
||||||
this.mission_init()
|
this.mission_init()
|
||||||
// this.mskill_init()
|
// this.mskill_init()
|
||||||
this.mon_refresh()
|
|
||||||
this.heros_call()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mission_end(){
|
mission_end(){
|
||||||
oops.message.dispatchEvent(GameEvent.MissionEnd)
|
oops.message.dispatchEvent(GameEvent.MissionEnd)
|
||||||
smc.mission.play=false
|
smc.mission.play=false
|
||||||
smc.mission.pause=false
|
smc.mission.pause=false
|
||||||
|
|
||||||
this.cleanComponents()
|
this.cleanComponents()
|
||||||
// this.to_mission_home()
|
// this.to_mission_home()
|
||||||
this.open_victory()
|
this.open_victory()
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
private cleanComponents() {
|
private cleanComponents() {
|
||||||
ecs.query(ecs.allOf(HeroSkillsComp)).forEach(entity => {entity.remove(HeroSkillsComp);entity.destroy()});
|
ecs.query(ecs.allOf(HeroSkillsComp)).forEach(entity => {entity.remove(HeroSkillsComp);entity.destroy()});
|
||||||
@@ -119,31 +114,13 @@ export class MissionComp extends CCComp {
|
|||||||
smc.vmdata.mission.mexp=0 //敌方局内经验
|
smc.vmdata.mission.mexp=0 //敌方局内经验
|
||||||
smc.vmdata.mission.exp_max= smc.vmdata.mission.mexp_max=MBSet.exp
|
smc.vmdata.mission.exp_max= smc.vmdata.mission.mexp_max=MBSet.exp
|
||||||
}
|
}
|
||||||
clear_x1(){
|
|
||||||
for (let i in smc.items) {
|
|
||||||
smc.items[i].x1=0
|
|
||||||
}
|
|
||||||
// for (let i in smc.skills) {
|
|
||||||
// smc.skills[i].x1=0
|
|
||||||
// }
|
|
||||||
for (let i in smc.heros) {
|
|
||||||
smc.heros[i].x1=0
|
|
||||||
}
|
|
||||||
// console.log("clear_x1",smc.items,smc.heros)
|
|
||||||
}
|
|
||||||
mskill_init(){
|
mskill_init(){
|
||||||
this.MSComp.group=BoxSet.HERO
|
this.MSComp.group=BoxSet.HERO
|
||||||
this.MMSComp.group=BoxSet.MONSTER
|
this.MMSComp.group=BoxSet.MONSTER
|
||||||
this.MSComp.init()
|
this.MSComp.init()
|
||||||
this.MMSComp.init()
|
this.MMSComp.init()
|
||||||
}
|
}
|
||||||
check_buff(){
|
|
||||||
if(smc.vmdata.mission.exp >= smc.vmdata.mission.exp_max){
|
|
||||||
smc.vmdata.mission.exp-=smc.vmdata.mission.exp_max
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
check_mon_num(){
|
check_mon_num(){
|
||||||
let mons:any = this.get_mons()
|
let mons:any = this.get_mons()
|
||||||
let heros:any= this.get_heros()
|
let heros:any= this.get_heros()
|
||||||
@@ -210,72 +187,9 @@ export class MissionComp extends CCComp {
|
|||||||
// console.log("count_hero_pos",smc.hero_pos,smc.hero_front_x,smc.mon_front_x)
|
// console.log("count_hero_pos",smc.hero_pos,smc.hero_front_x,smc.mon_front_x)
|
||||||
}
|
}
|
||||||
|
|
||||||
mon_refresh(){
|
|
||||||
let num =3
|
|
||||||
let t_num= Missions[0].length
|
|
||||||
let y_num= Missions[1].length
|
|
||||||
let b_num= Missions[2].length
|
|
||||||
let tc=1
|
|
||||||
let yc=2
|
|
||||||
let bc=1
|
|
||||||
for(let i=0;i<tc;i++){
|
|
||||||
let x=RandomManager.instance.getRandomInt(0,t_num,1)
|
|
||||||
this.addMonster(Missions[0][x],i)
|
|
||||||
console.log("Missions t:"+x,Missions[0][x])
|
|
||||||
}
|
|
||||||
for(let i=0;i<yc;i++){
|
|
||||||
let x=RandomManager.instance.getRandomInt(0,y_num,1)
|
|
||||||
this.addMonster(Missions[1][x],i)
|
|
||||||
console.log("Missions y:"+x,Missions[1][x])
|
|
||||||
}
|
|
||||||
for(let i=0;i<bc;i++){
|
|
||||||
let x=RandomManager.instance.getRandomInt(0,b_num,1)
|
|
||||||
console.log("Missions b:"+x,Missions[2][x])
|
|
||||||
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
|
||||||
console.log("Missions b:"+x,Missions[2][x])
|
|
||||||
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
|
||||||
console.log("Missions b:"+x,Missions[2][x])
|
|
||||||
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
|
||||||
console.log("Missions b:"+x,Missions[2][x])
|
|
||||||
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
|
||||||
console.log("Missions b:"+x,Missions[2][x])
|
|
||||||
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
|
||||||
console.log("Missions b:"+x,Missions[2][x])
|
|
||||||
this.addMonster(Missions[2][x],i,true)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
heros_call(){
|
|
||||||
let heros=smc.fight_heros
|
|
||||||
console.log("heros_call",heros)
|
|
||||||
for(let i=0;i<heros.length;i++){
|
|
||||||
this.addHero(heros[i],i)
|
|
||||||
}
|
|
||||||
this.hcard_call()
|
|
||||||
}
|
|
||||||
hcard_call(){
|
|
||||||
let node =this.node.getChildByName("hcards")
|
|
||||||
let heros:any= this.get_heros();
|
|
||||||
|
|
||||||
for(let i=0;i<heros.length;i++){
|
|
||||||
let hcard = ecs.getEntity<HCard>(HCard)
|
|
||||||
// console.log("hcard:",hcard)
|
|
||||||
hcard.load(heros[i].HeroView.hero_uuid,i,node)
|
|
||||||
}
|
|
||||||
this.fight_start= true
|
|
||||||
}
|
|
||||||
/** 添加玩家 */
|
|
||||||
private addHero(uuid:number=1001,i:number=0) {
|
|
||||||
let hero = ecs.getEntity<Hero>(Hero);
|
|
||||||
let scale = 1
|
|
||||||
let pos:Vec3 = v3(HeroSet.StartPos[1]-i*10,BoxSet.GAME_LINE);
|
|
||||||
hero.load(pos,scale,uuid);
|
|
||||||
}
|
|
||||||
private addMonster(uuid:number=1001,i:number=0,is_boss:boolean=false) {
|
|
||||||
let mon = ecs.getEntity<Monster>(Monster);
|
|
||||||
let scale = -1
|
|
||||||
let pos:Vec3 = v3(-1*HeroSet.StartPos[1]+i*10,BoxSet.GAME_LINE);
|
|
||||||
mon.load(pos,scale,uuid,is_boss);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/** 视图层逻辑代码分离演示 */
|
/** 视图层逻辑代码分离演示 */
|
||||||
|
|||||||
33
assets/script/game/map/MissionHeroComp.ts
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
import { _decorator, v3, Vec3 } from "cc";
|
||||||
|
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||||
|
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||||
|
import { HCard } from "./HCard";
|
||||||
|
import { BoxSet } from "../common/config/BoxSet";
|
||||||
|
import { HeroSet } from "../common/config/heroSet";
|
||||||
|
import { Hero } from "../hero/Hero";
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
/** 视图层对象 */
|
||||||
|
@ccclass('MissionHeroCompComp')
|
||||||
|
@ecs.register('MissionHeroComp', false)
|
||||||
|
export class MissionHeroCompComp extends CCComp {
|
||||||
|
/** 视图层逻辑代码分离演示 */
|
||||||
|
start() {
|
||||||
|
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
|
||||||
|
// this.on(ModuleEvent.Cmd, this.onHandler, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/** 添加玩家 */
|
||||||
|
private addHero(uuid:number=1001,i:number=0) {
|
||||||
|
let hero = ecs.getEntity<Hero>(Hero);
|
||||||
|
let scale = 1
|
||||||
|
let pos:Vec3 = v3(HeroSet.StartPos[1]-i*10,BoxSet.GAME_LINE);
|
||||||
|
hero.load(pos,scale,uuid);
|
||||||
|
}
|
||||||
|
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||||
|
reset() {
|
||||||
|
this.node.destroy();
|
||||||
|
}
|
||||||
|
}
|
||||||
9
assets/script/game/map/MissionHeroComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "0e186bfb-2282-449d-9f50-757559af2d96",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -10,6 +10,7 @@ import { HeroSelect } from "../hero/HeroSelect";
|
|||||||
import { HeroSelectComp } from "../hero/HeroSelectComp";
|
import { HeroSelectComp } from "../hero/HeroSelectComp";
|
||||||
import { MBSet } from "../common/config/MissionSet";
|
import { MBSet } from "../common/config/MissionSet";
|
||||||
import { GameEvent } from "../common/config/GameEvent";
|
import { GameEvent } from "../common/config/GameEvent";
|
||||||
|
import { MissionComp } from "./MissionComp";
|
||||||
|
|
||||||
const { ccclass, property } = _decorator;
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
@@ -47,7 +48,12 @@ export class MissionHomeComp extends CCComp {
|
|||||||
{uuid:0,px:-300},
|
{uuid:0,px:-300},
|
||||||
]
|
]
|
||||||
oops.message.dispatchEvent(GameEvent.MissionStart, {})
|
oops.message.dispatchEvent(GameEvent.MissionStart, {})
|
||||||
|
let mission=this.node.parent.getChildByName("mission").getComponent(MissionComp)
|
||||||
|
mission.node.active = true;
|
||||||
|
mission.mission_start()
|
||||||
|
smc.mission.play = true;
|
||||||
this.node.active=false;
|
this.node.active=false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
74
assets/script/game/map/MissionMonComp.ts
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
import { _decorator, v3, Vec3 } from "cc";
|
||||||
|
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||||
|
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||||
|
import { Monster } from "../hero/Mon";
|
||||||
|
import { BoxSet } from "../common/config/BoxSet";
|
||||||
|
import { HeroSet } from "../common/config/heroSet";
|
||||||
|
import { Missions } from "../common/config/MissionSet";
|
||||||
|
import { RandomManager } from "db://oops-framework/core/common/random/RandomManager";
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
/** 视图层对象 */
|
||||||
|
@ccclass('MissionMonCompComp')
|
||||||
|
@ecs.register('MissionMonComp', false)
|
||||||
|
export class MissionMonCompComp extends CCComp {
|
||||||
|
/** 视图层逻辑代码分离演示 */
|
||||||
|
start() {
|
||||||
|
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
|
||||||
|
// this.on(ModuleEvent.Cmd, this.onHandler, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 全局消息逻辑处理 */
|
||||||
|
// private onHandler(event: string, args: any) {
|
||||||
|
// switch (event) {
|
||||||
|
// case ModuleEvent.Cmd:
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
mon_refresh(){
|
||||||
|
let num =3
|
||||||
|
let t_num= Missions[0].length
|
||||||
|
let y_num= Missions[1].length
|
||||||
|
let b_num= Missions[2].length
|
||||||
|
let tc=1
|
||||||
|
let yc=2
|
||||||
|
let bc=1
|
||||||
|
for(let i=0;i<tc;i++){
|
||||||
|
let x=RandomManager.instance.getRandomInt(0,t_num,1)
|
||||||
|
this.addMonster(Missions[0][x],i)
|
||||||
|
console.log("Missions t:"+x,Missions[0][x])
|
||||||
|
}
|
||||||
|
for(let i=0;i<yc;i++){
|
||||||
|
let x=RandomManager.instance.getRandomInt(0,y_num,1)
|
||||||
|
this.addMonster(Missions[1][x],i)
|
||||||
|
console.log("Missions y:"+x,Missions[1][x])
|
||||||
|
}
|
||||||
|
for(let i=0;i<bc;i++){
|
||||||
|
let x=RandomManager.instance.getRandomInt(0,b_num,1)
|
||||||
|
console.log("Missions b:"+x,Missions[2][x])
|
||||||
|
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
||||||
|
console.log("Missions b:"+x,Missions[2][x])
|
||||||
|
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
||||||
|
console.log("Missions b:"+x,Missions[2][x])
|
||||||
|
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
||||||
|
console.log("Missions b:"+x,Missions[2][x])
|
||||||
|
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
||||||
|
console.log("Missions b:"+x,Missions[2][x])
|
||||||
|
x=RandomManager.instance.getRandomInt(0,b_num,1)
|
||||||
|
console.log("Missions b:"+x,Missions[2][x])
|
||||||
|
this.addMonster(Missions[2][x],i,true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private addMonster(uuid:number=1001,i:number=0,is_boss:boolean=false) {
|
||||||
|
let mon = ecs.getEntity<Monster>(Monster);
|
||||||
|
let scale = -1
|
||||||
|
let pos:Vec3 = v3(-1*HeroSet.StartPos[1]+i*10,BoxSet.GAME_LINE);
|
||||||
|
mon.load(pos,scale,uuid,is_boss);
|
||||||
|
}
|
||||||
|
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||||
|
reset() {
|
||||||
|
this.node.destroy();
|
||||||
|
}
|
||||||
|
}
|
||||||
9
assets/script/game/map/MissionMonComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "032d623d-38de-4117-9dcb-68ec75f124f5",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||