[Add]: New Modes Done
7
assets/Buttons.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.1",
|
||||||
|
"uuid": "eb820398-5b1e-4369-a836-2ea1ac0c55fb",
|
||||||
|
"isSubpackage": false,
|
||||||
|
"subpackageName": "",
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/apocalypse.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
34
assets/Buttons/apocalypse.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "26ba3709-42f1-4bf4-a4e4-e2ddca92c6a3",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"apocalypse": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "542adeba-4357-4891-8f12-8fd4dad28b06",
|
||||||
|
"rawTextureUuid": "26ba3709-42f1-4bf4-a4e4-e2ddca92c6a3",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": -2,
|
||||||
|
"trimX": 153,
|
||||||
|
"trimY": 132,
|
||||||
|
"width": 774,
|
||||||
|
"height": 820,
|
||||||
|
"rawWidth": 1080,
|
||||||
|
"rawHeight": 1080,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/closegame.png
Normal file
|
After Width: | Height: | Size: 177 KiB |
34
assets/Buttons/closegame.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "674338e2-75cd-4c0d-bf57-03130ccb025b",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"closegame": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "181fdba8-d507-4cdd-801d-1929957e02e6",
|
||||||
|
"rawTextureUuid": "674338e2-75cd-4c0d-bf57-03130ccb025b",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": -0.5,
|
||||||
|
"offsetY": 2.5,
|
||||||
|
"trimX": 69,
|
||||||
|
"trimY": 52,
|
||||||
|
"width": 361,
|
||||||
|
"height": 391,
|
||||||
|
"rawWidth": 500,
|
||||||
|
"rawHeight": 500,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/comandor.png
Normal file
|
After Width: | Height: | Size: 849 KiB |
34
assets/Buttons/comandor.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "c52c84c1-155e-40f4-bbda-a9b2b3c2c6bb",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"comandor": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "5080ca06-afd1-437b-b102-b853b8b4f9c3",
|
||||||
|
"rawTextureUuid": "c52c84c1-155e-40f4-bbda-a9b2b3c2c6bb",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": -2.5,
|
||||||
|
"trimX": 170,
|
||||||
|
"trimY": 149,
|
||||||
|
"width": 740,
|
||||||
|
"height": 787,
|
||||||
|
"rawWidth": 1080,
|
||||||
|
"rawHeight": 1080,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/explode.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
34
assets/Buttons/explode.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "f0569c84-d343-448c-8a64-9a864349d41e",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"explode": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "09de5113-ef8f-4bb9-8c6d-1df17906e978",
|
||||||
|
"rawTextureUuid": "f0569c84-d343-448c-8a64-9a864349d41e",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": -2,
|
||||||
|
"offsetY": -0.5,
|
||||||
|
"trimX": 46,
|
||||||
|
"trimY": 44,
|
||||||
|
"width": 404,
|
||||||
|
"height": 413,
|
||||||
|
"rawWidth": 500,
|
||||||
|
"rawHeight": 500,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/menu.png
Normal file
|
After Width: | Height: | Size: 168 KiB |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ver": "2.3.3",
|
"ver": "2.3.3",
|
||||||
"uuid": "d77cf131-dcf8-4a59-9e14-8f8ea6f44715",
|
"uuid": "6041f684-59d7-4144-83c9-7b5dddce10fe",
|
||||||
"type": "sprite",
|
"type": "sprite",
|
||||||
"wrapMode": "clamp",
|
"wrapMode": "clamp",
|
||||||
"filterMode": "bilinear",
|
"filterMode": "bilinear",
|
||||||
@ -9,21 +9,21 @@
|
|||||||
"packable": true,
|
"packable": true,
|
||||||
"platformSettings": {},
|
"platformSettings": {},
|
||||||
"subMetas": {
|
"subMetas": {
|
||||||
"bigboss": {
|
"menu": {
|
||||||
"ver": "1.0.4",
|
"ver": "1.0.4",
|
||||||
"uuid": "7f8c4faa-1d94-4c72-8fbe-0e7e6caaa72d",
|
"uuid": "8484061a-f0be-458f-a9a0-5a2ebac52482",
|
||||||
"rawTextureUuid": "d77cf131-dcf8-4a59-9e14-8f8ea6f44715",
|
"rawTextureUuid": "6041f684-59d7-4144-83c9-7b5dddce10fe",
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0.5,
|
"offsetX": 1.5,
|
||||||
"offsetY": 2,
|
"offsetY": 5,
|
||||||
"trimX": 34,
|
"trimX": 82,
|
||||||
"trimY": 15,
|
"trimY": 83,
|
||||||
"width": 333,
|
"width": 339,
|
||||||
"height": 366,
|
"height": 324,
|
||||||
"rawWidth": 400,
|
"rawWidth": 500,
|
||||||
"rawHeight": 400,
|
"rawHeight": 500,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 0,
|
"borderLeft": 0,
|
||||||
BIN
assets/Buttons/pilot.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
34
assets/Buttons/pilot.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "178a3fab-8b5c-42d6-b6c0-fcf03a3159e1",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"pilot": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "e1e2dedc-78b7-420e-a7e4-0a1411efd690",
|
||||||
|
"rawTextureUuid": "178a3fab-8b5c-42d6-b6c0-fcf03a3159e1",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": -1,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 150,
|
||||||
|
"trimY": 135,
|
||||||
|
"width": 778,
|
||||||
|
"height": 810,
|
||||||
|
"rawWidth": 1080,
|
||||||
|
"rawHeight": 1080,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/resultscore.png
Normal file
|
After Width: | Height: | Size: 160 KiB |
34
assets/Buttons/resultscore.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "f1acda4b-f4dd-400d-ab44-c580c53c1745",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"resultscore": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "6f374223-327e-4d47-8671-0d4f379dbd07",
|
||||||
|
"rawTextureUuid": "f1acda4b-f4dd-400d-ab44-c580c53c1745",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 2,
|
||||||
|
"offsetY": 8,
|
||||||
|
"trimX": 116,
|
||||||
|
"trimY": 33,
|
||||||
|
"width": 272,
|
||||||
|
"height": 418,
|
||||||
|
"rawWidth": 500,
|
||||||
|
"rawHeight": 500,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/start.png
Normal file
|
After Width: | Height: | Size: 212 KiB |
34
assets/Buttons/start.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "5b46f0ce-183e-4519-92d9-024b60854192",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"start": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "0008b6dc-7fd4-42be-b9d5-ee0b456fc33f",
|
||||||
|
"rawTextureUuid": "5b46f0ce-183e-4519-92d9-024b60854192",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 53,
|
||||||
|
"trimY": 61,
|
||||||
|
"width": 394,
|
||||||
|
"height": 378,
|
||||||
|
"rawWidth": 500,
|
||||||
|
"rawHeight": 500,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/Buttons/warlord.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
34
assets/Buttons/warlord.png.meta
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.3.3",
|
||||||
|
"uuid": "b3492cc9-c08b-45ca-8220-4fc4cff3d528",
|
||||||
|
"type": "sprite",
|
||||||
|
"wrapMode": "clamp",
|
||||||
|
"filterMode": "bilinear",
|
||||||
|
"premultiplyAlpha": false,
|
||||||
|
"genMipmaps": false,
|
||||||
|
"packable": true,
|
||||||
|
"platformSettings": {},
|
||||||
|
"subMetas": {
|
||||||
|
"warlord": {
|
||||||
|
"ver": "1.0.4",
|
||||||
|
"uuid": "95a21e05-ce49-4013-a4c9-a9fcac7033c2",
|
||||||
|
"rawTextureUuid": "b3492cc9-c08b-45ca-8220-4fc4cff3d528",
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": -2,
|
||||||
|
"trimX": 163,
|
||||||
|
"trimY": 138,
|
||||||
|
"width": 754,
|
||||||
|
"height": 808,
|
||||||
|
"rawWidth": 1080,
|
||||||
|
"rawHeight": 1080,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
619
assets/Game.fire
@ -72,19 +72,28 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 32
|
"__id__": 32
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 38
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 43
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 45
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_level": 1,
|
"_level": 1,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 38
|
"__id__": 50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 39
|
"__id__": 51
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 40
|
"__id__": 52
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -115,7 +124,7 @@
|
|||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 1,
|
||||||
"y": 1.5,
|
"y": 1.75,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
@ -168,7 +177,7 @@
|
|||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 780.2888888097792
|
"z": 540.3998519614897
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -656,8 +665,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 4712,
|
"width": 1199,
|
||||||
"height": 1059
|
"height": 268
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -666,14 +675,14 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -340,
|
"x": -310.973,
|
||||||
"y": 505.619,
|
"y": 416.414,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.05,
|
"x": 0.25,
|
||||||
"y": 0.05,
|
"y": 0.2,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
@ -724,15 +733,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -1400,
|
"x": -340,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -814,15 +823,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -1000,
|
"x": -240,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -904,15 +913,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -600,
|
"x": -130,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -994,15 +1003,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -200,
|
"x": -20,
|
||||||
"y": -50,
|
"y": -12.5,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -1084,15 +1093,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 200,
|
"x": 90,
|
||||||
"y": -100,
|
"y": -25,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -1174,15 +1183,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 600,
|
"x": 200,
|
||||||
"y": -100,
|
"y": -25,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -1264,15 +1273,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1000,
|
"x": 310,
|
||||||
"y": -100,
|
"y": -25,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -1354,15 +1363,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1400,
|
"x": 420,
|
||||||
"y": -100,
|
"y": -25,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.2,
|
"x": 0.05,
|
||||||
"y": 0.2,
|
"y": 0.05,
|
||||||
"z": 0.2
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -2171,8 +2180,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 4712,
|
"width": 5644.9,
|
||||||
"height": 1059
|
"height": 705.4
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -2181,14 +2190,14 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -360,
|
"x": -339.351,
|
||||||
"y": 440,
|
"y": 358.118,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0.04,
|
"x": 0.04,
|
||||||
"y": 0.05,
|
"y": 0.075,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
@ -2229,8 +2238,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 52.25,
|
"width": 313.48,
|
||||||
"height": 50.4
|
"height": 151.2
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -2239,15 +2248,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -940,
|
"x": -1109.512,
|
||||||
"y": -20,
|
"y": 6.59,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 25,
|
"x": 3,
|
||||||
"y": 13.3334,
|
"y": 1.5,
|
||||||
"z": 25
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -2277,8 +2286,8 @@
|
|||||||
"_useOriginalSize": false,
|
"_useOriginalSize": false,
|
||||||
"_string": "Score",
|
"_string": "Score",
|
||||||
"_N$string": "Score",
|
"_N$string": "Score",
|
||||||
"_fontSize": 20,
|
"_fontSize": 120,
|
||||||
"_lineHeight": 40,
|
"_lineHeight": 120,
|
||||||
"_enableWrapText": true,
|
"_enableWrapText": true,
|
||||||
"_N$file": null,
|
"_N$file": null,
|
||||||
"_isSystemFontUsed": true,
|
"_isSystemFontUsed": true,
|
||||||
@ -2319,8 +2328,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 11.12,
|
"width": 66.74,
|
||||||
"height": 50.4
|
"height": 151.2
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -2329,15 +2338,15 @@
|
|||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 911.687,
|
"x": 1071.228,
|
||||||
"y": -81.499,
|
"y": -66.305,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 25,
|
"x": 4,
|
||||||
"y": 13.3334,
|
"y": 1.5,
|
||||||
"z": 25
|
"z": 1
|
||||||
},
|
},
|
||||||
"_eulerAngles": {
|
"_eulerAngles": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -2367,8 +2376,8 @@
|
|||||||
"_useOriginalSize": false,
|
"_useOriginalSize": false,
|
||||||
"_string": "0",
|
"_string": "0",
|
||||||
"_N$string": "0",
|
"_N$string": "0",
|
||||||
"_fontSize": 20,
|
"_fontSize": 120,
|
||||||
"_lineHeight": 40,
|
"_lineHeight": 120,
|
||||||
"_enableWrapText": true,
|
"_enableWrapText": true,
|
||||||
"_N$file": null,
|
"_N$file": null,
|
||||||
"_isSystemFontUsed": true,
|
"_isSystemFontUsed": true,
|
||||||
@ -2402,7 +2411,7 @@
|
|||||||
"__uuid__": "fba0bf13-b989-443d-8fdf-a5f7f8bb391c"
|
"__uuid__": "fba0bf13-b989-443d-8fdf-a5f7f8bb391c"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_sizeMode": 1,
|
"_sizeMode": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
"_fillCenter": {
|
"_fillCenter": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -2415,6 +2424,472 @@
|
|||||||
"_atlas": null,
|
"_atlas": null,
|
||||||
"_id": "26ipZuvmdL65GdcIvVjEAd"
|
"_id": "26ipZuvmdL65GdcIvVjEAd"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "shoot_button02",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 39
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 42
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 250,
|
||||||
|
"height": 250
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 350,
|
||||||
|
"y": -350,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0.6,
|
||||||
|
"y": 0.6,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "f7orVQx0FBTZQuq34P4QEP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 38
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_materials": [
|
||||||
|
{
|
||||||
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_srcBlendFactor": 770,
|
||||||
|
"_dstBlendFactor": 771,
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "09de5113-ef8f-4bb9-8c6d-1df17906e978"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": "86xrwajr9GFqoGiDSXDfg1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Button",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 38
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"duration": 0.1,
|
||||||
|
"zoomScale": 1.2,
|
||||||
|
"clickEvents": [
|
||||||
|
{
|
||||||
|
"__id__": 41
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_N$interactable": true,
|
||||||
|
"_N$enableAutoGrayEffect": false,
|
||||||
|
"_N$transition": 0,
|
||||||
|
"transition": 0,
|
||||||
|
"_N$normalColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$disabledColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 124,
|
||||||
|
"g": 124,
|
||||||
|
"b": 124,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$normalSprite": null,
|
||||||
|
"_N$pressedSprite": null,
|
||||||
|
"pressedSprite": null,
|
||||||
|
"_N$hoverSprite": null,
|
||||||
|
"hoverSprite": null,
|
||||||
|
"_N$disabledSprite": null,
|
||||||
|
"_N$target": null,
|
||||||
|
"_id": "5a02fmRNtGlI6JgxvO2Fcn"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.ClickEvent",
|
||||||
|
"target": {
|
||||||
|
"__id__": 38
|
||||||
|
},
|
||||||
|
"component": "",
|
||||||
|
"_componentId": "e5d86rh+v5CiLRVDqSVqxtt",
|
||||||
|
"handler": "explode",
|
||||||
|
"customEventData": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "e5d86rh+v5CiLRVDqSVqxtt",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 38
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"scoreLabel": null,
|
||||||
|
"flashOverlay": {
|
||||||
|
"__id__": 43
|
||||||
|
},
|
||||||
|
"_id": "51STeOY+lMX6sh3RPWMh9s"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "FlashOverlay",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 44
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 0,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 0,
|
||||||
|
"b": 0,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 960,
|
||||||
|
"height": 1200
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "52MvIf0LhPeJ9vufuehs4t"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 43
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_materials": [
|
||||||
|
{
|
||||||
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_srcBlendFactor": 770,
|
||||||
|
"_dstBlendFactor": 771,
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": "0erQracnBCbKF2u9DDZ4il"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "closeTheGame",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 46
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 47
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 49
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 100,
|
||||||
|
"height": 100
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 401.185,
|
||||||
|
"y": 416.369,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0.6,
|
||||||
|
"y": 0.6,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "cfhVBGrypOAbiEbgWkbr76"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 45
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_materials": [
|
||||||
|
{
|
||||||
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_srcBlendFactor": 770,
|
||||||
|
"_dstBlendFactor": 771,
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "181fdba8-d507-4cdd-801d-1929957e02e6"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": "c5fm54MJlObo+Hli2++hSo"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Button",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 45
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"duration": 0.1,
|
||||||
|
"zoomScale": 1.2,
|
||||||
|
"clickEvents": [
|
||||||
|
{
|
||||||
|
"__id__": 48
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_N$interactable": true,
|
||||||
|
"_N$enableAutoGrayEffect": false,
|
||||||
|
"_N$transition": 0,
|
||||||
|
"transition": 0,
|
||||||
|
"_N$normalColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$disabledColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 124,
|
||||||
|
"g": 124,
|
||||||
|
"b": 124,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$normalSprite": null,
|
||||||
|
"_N$pressedSprite": null,
|
||||||
|
"pressedSprite": null,
|
||||||
|
"_N$hoverSprite": null,
|
||||||
|
"hoverSprite": null,
|
||||||
|
"_N$disabledSprite": null,
|
||||||
|
"_N$target": null,
|
||||||
|
"_id": "52ssIndqFCwaJ+CM4l1Ewv"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.ClickEvent",
|
||||||
|
"target": {
|
||||||
|
"__id__": 45
|
||||||
|
},
|
||||||
|
"component": "",
|
||||||
|
"_componentId": "3a2abJhRaJFyrM9SBg5rWtB",
|
||||||
|
"handler": "closeGame",
|
||||||
|
"customEventData": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "3a2abJhRaJFyrM9SBg5rWtB",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 45
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_id": "38cnqxqqNN3YDl21Wkb0g3"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Canvas",
|
"__type__": "cc.Canvas",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
|
|||||||
1148
assets/Level.fire
162
assets/Menu.fire
@ -69,13 +69,13 @@
|
|||||||
"_level": 1,
|
"_level": 1,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 14
|
"__id__": 11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 15
|
"__id__": 12
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 16
|
"__id__": 13
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -159,7 +159,7 @@
|
|||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
"z": 779.4228634059948
|
"z": 540.3998519614897
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@ -230,10 +230,10 @@
|
|||||||
"_level": 2,
|
"_level": 2,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 11
|
"__id__": 8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 13
|
"__id__": 10
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -247,8 +247,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 416,
|
"width": 500,
|
||||||
"height": 148
|
"height": 500
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -281,82 +281,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "Background",
|
"_name": "start",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 5
|
"__id__": 5
|
||||||
},
|
},
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 7
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_level": 2,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 9
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 10
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": null,
|
|
||||||
"_opacity": 255,
|
|
||||||
"_color": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 26,
|
|
||||||
"g": 26,
|
|
||||||
"b": 26,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_contentSize": {
|
|
||||||
"__type__": "cc.Size",
|
|
||||||
"width": 416,
|
|
||||||
"height": 148
|
|
||||||
},
|
|
||||||
"_anchorPoint": {
|
|
||||||
"__type__": "cc.Vec2",
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5
|
|
||||||
},
|
|
||||||
"_position": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_scale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_eulerAngles": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_skewX": 0,
|
|
||||||
"_skewY": 0,
|
|
||||||
"_is3DNode": false,
|
|
||||||
"groupIndex": 0,
|
|
||||||
"_id": "a3huG/zeRBTLCQROSq3ztB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Label",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_level": 3,
|
"_level": 3,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 8
|
"__id__": 7
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -370,8 +305,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 200,
|
"width": 500,
|
||||||
"height": 100
|
"height": 500
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -400,39 +335,7 @@
|
|||||||
"_skewY": 0,
|
"_skewY": 0,
|
||||||
"_is3DNode": false,
|
"_is3DNode": false,
|
||||||
"groupIndex": 0,
|
"groupIndex": 0,
|
||||||
"_id": "f7ZK1FmCpCZ5ivVxgV+zW0"
|
"_id": "28KkYfVFZJzIm2yFVo3e+a"
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Label",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"node": {
|
|
||||||
"__id__": 7
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"_materials": [
|
|
||||||
{
|
|
||||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_useOriginalSize": false,
|
|
||||||
"_string": "START",
|
|
||||||
"_N$string": "START",
|
|
||||||
"_fontSize": 50,
|
|
||||||
"_lineHeight": 40,
|
|
||||||
"_enableWrapText": false,
|
|
||||||
"_N$file": null,
|
|
||||||
"_isSystemFontUsed": true,
|
|
||||||
"_isUseVerticalKerning": true,
|
|
||||||
"_verticalKerning": null,
|
|
||||||
"_spacingX": 0,
|
|
||||||
"_batchAsBitmap": false,
|
|
||||||
"_N$horizontalAlign": 1,
|
|
||||||
"_N$verticalAlign": 1,
|
|
||||||
"_N$fontFamily": "Arial",
|
|
||||||
"_N$overflow": 1,
|
|
||||||
"_N$cacheMode": 0,
|
|
||||||
"_id": "e35+dINdxC/49nsWhSHhH3"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
@ -450,9 +353,9 @@
|
|||||||
"_srcBlendFactor": 770,
|
"_srcBlendFactor": 770,
|
||||||
"_dstBlendFactor": 771,
|
"_dstBlendFactor": 771,
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
|
"__uuid__": "0008b6dc-7fd4-42be-b9d5-ee0b456fc33f"
|
||||||
},
|
},
|
||||||
"_type": 1,
|
"_type": 0,
|
||||||
"_sizeMode": 0,
|
"_sizeMode": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
"_fillCenter": {
|
"_fillCenter": {
|
||||||
@ -464,34 +367,7 @@
|
|||||||
"_fillRange": 0,
|
"_fillRange": 0,
|
||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_atlas": null,
|
"_atlas": null,
|
||||||
"_id": "6d7ZTBMFxAvrmL5zbdC4vz"
|
"_id": "48xgiOxMRM1ZGlvUOzDDHM"
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Widget",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"node": {
|
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"alignMode": 0,
|
|
||||||
"_target": null,
|
|
||||||
"_alignFlags": 45,
|
|
||||||
"_left": 0,
|
|
||||||
"_right": 0,
|
|
||||||
"_top": 0,
|
|
||||||
"_bottom": 0,
|
|
||||||
"_verticalCenter": 0,
|
|
||||||
"_horizontalCenter": 0,
|
|
||||||
"_isAbsLeft": true,
|
|
||||||
"_isAbsRight": true,
|
|
||||||
"_isAbsTop": true,
|
|
||||||
"_isAbsBottom": true,
|
|
||||||
"_isAbsHorizontalCenter": true,
|
|
||||||
"_isAbsVerticalCenter": true,
|
|
||||||
"_originalWidth": 100,
|
|
||||||
"_originalHeight": 40,
|
|
||||||
"_id": "65HbE6twJMupjXdRg8qNia"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Button",
|
"__type__": "cc.Button",
|
||||||
@ -505,7 +381,7 @@
|
|||||||
"zoomScale": 1.2,
|
"zoomScale": 1.2,
|
||||||
"clickEvents": [
|
"clickEvents": [
|
||||||
{
|
{
|
||||||
"__id__": 12
|
"__id__": 9
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_N$interactable": true,
|
"_N$interactable": true,
|
||||||
@ -572,9 +448,7 @@
|
|||||||
"_N$disabledSprite": {
|
"_N$disabledSprite": {
|
||||||
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
|
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
|
||||||
},
|
},
|
||||||
"_N$target": {
|
"_N$target": null,
|
||||||
"__id__": 6
|
|
||||||
},
|
|
||||||
"_id": "04Dqh37IRDyLnnoepjmU10"
|
"_id": "04Dqh37IRDyLnnoepjmU10"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
BIN
assets/Protons/box.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
@ -7,9 +7,22 @@
|
|||||||
"premultiplyAlpha": false,
|
"premultiplyAlpha": false,
|
||||||
"genMipmaps": false,
|
"genMipmaps": false,
|
||||||
"packable": true,
|
"packable": true,
|
||||||
"platformSettings": {},
|
"platformSettings": {
|
||||||
|
"ios": {
|
||||||
|
"formats": [
|
||||||
|
{
|
||||||
|
"name": "png",
|
||||||
|
"quality": 80
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pvrtc_4bits",
|
||||||
|
"quality": "normal"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"subMetas": {
|
"subMetas": {
|
||||||
"—Pngtree—violet gradient creative abstract gaming_8152127 2": {
|
"box": {
|
||||||
"ver": "1.0.4",
|
"ver": "1.0.4",
|
||||||
"uuid": "fba0bf13-b989-443d-8fdf-a5f7f8bb391c",
|
"uuid": "fba0bf13-b989-443d-8fdf-a5f7f8bb391c",
|
||||||
"rawTextureUuid": "8ebaee0c-e662-449f-ab9d-a101bf9a9e50",
|
"rawTextureUuid": "8ebaee0c-e662-449f-ab9d-a101bf9a9e50",
|
||||||
@ -17,13 +30,13 @@
|
|||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -0.5,
|
"offsetY": 13,
|
||||||
"trimX": 144,
|
"trimX": 0,
|
||||||
"trimY": 1971,
|
"trimY": 0,
|
||||||
"width": 4712,
|
"width": 1199,
|
||||||
"height": 1059,
|
"height": 268,
|
||||||
"rawWidth": 5000,
|
"rawWidth": 1199,
|
||||||
"rawHeight": 5000,
|
"rawHeight": 294,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 0,
|
"borderLeft": 0,
|
||||||
|
Before Width: | Height: | Size: 264 KiB |
654
assets/Score.fire
Normal file
@ -0,0 +1,654 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"__type__": "cc.SceneAsset",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_native": "",
|
||||||
|
"scene": {
|
||||||
|
"__id__": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Scene",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": null,
|
||||||
|
"_children": [
|
||||||
|
{
|
||||||
|
"__id__": 2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_active": false,
|
||||||
|
"_level": 0,
|
||||||
|
"_components": [],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 0,
|
||||||
|
"height": 0
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_is3DNode": true,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"autoReleaseAssets": false,
|
||||||
|
"_id": "05ba92df-ca08-4e47-95f5-c25985ae7f4b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "Canvas",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_children": [
|
||||||
|
{
|
||||||
|
"__id__": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 9
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 1,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 14
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 16
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 17
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 960,
|
||||||
|
"height": 640
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 480,
|
||||||
|
"y": 320,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1.5,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "e03U2yj2BBgK1w5qVM6hpB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "Main Camera",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 4
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 0,
|
||||||
|
"height": 0
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 540.3998519614897
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "70UE+JzuVEHoSjYiK6IxUT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Camera",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 3
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_cullingMask": 4294967295,
|
||||||
|
"_clearFlags": 7,
|
||||||
|
"_backgroundColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 0,
|
||||||
|
"g": 0,
|
||||||
|
"b": 0,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_depth": -1,
|
||||||
|
"_zoomRatio": 1,
|
||||||
|
"_targetTexture": null,
|
||||||
|
"_fov": 60,
|
||||||
|
"_orthoSize": 10,
|
||||||
|
"_nearClip": 1,
|
||||||
|
"_farClip": 4096,
|
||||||
|
"_ortho": true,
|
||||||
|
"_rect": {
|
||||||
|
"__type__": "cc.Rect",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"width": 1,
|
||||||
|
"height": 1
|
||||||
|
},
|
||||||
|
"_renderStages": 1,
|
||||||
|
"_id": "1fLtkQZShKY5qtgpvcrWyk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "resultscore",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_children": [
|
||||||
|
{
|
||||||
|
"__id__": 6
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 8
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 300,
|
||||||
|
"height": 330
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 174.068,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 0.88,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "7cTATvi5lDbII0sjnYH0gb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "ScoreLabel",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 5
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 3,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 7
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 33.33,
|
||||||
|
"height": 44.44
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": -35.008,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "b3KErLyKFNZJdZlis+dCXR"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Label",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 6
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_materials": [
|
||||||
|
{
|
||||||
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_useOriginalSize": false,
|
||||||
|
"_string": "0",
|
||||||
|
"_N$string": "0",
|
||||||
|
"_fontSize": 40,
|
||||||
|
"_lineHeight": 40,
|
||||||
|
"_enableWrapText": true,
|
||||||
|
"_N$file": {
|
||||||
|
"__uuid__": "ed6e9c58-b82d-466a-abfd-b916a22e224c"
|
||||||
|
},
|
||||||
|
"_isSystemFontUsed": false,
|
||||||
|
"_isUseVerticalKerning": true,
|
||||||
|
"_verticalKerning": null,
|
||||||
|
"_spacingX": 0,
|
||||||
|
"_batchAsBitmap": false,
|
||||||
|
"_N$horizontalAlign": 1,
|
||||||
|
"_N$verticalAlign": 1,
|
||||||
|
"_N$fontFamily": "Arial",
|
||||||
|
"_N$overflow": 0,
|
||||||
|
"_N$cacheMode": 0,
|
||||||
|
"_id": "2bM7Gf5n9PgIo67jFR6i9c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 5
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_materials": [
|
||||||
|
{
|
||||||
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_srcBlendFactor": 770,
|
||||||
|
"_dstBlendFactor": 771,
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "6f374223-327e-4d47-8671-0d4f379dbd07"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": "abZ8VShtdIwZUUvdUkm/ZG"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "menu",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 11
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 13
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": null,
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 200,
|
||||||
|
"height": 200
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": -105.207,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_eulerAngles": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_is3DNode": false,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": "464H9zRSRIAqH2SP43xj2h"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 9
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_materials": [
|
||||||
|
{
|
||||||
|
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_srcBlendFactor": 770,
|
||||||
|
"_dstBlendFactor": 771,
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "8484061a-f0be-458f-a9a0-5a2ebac52482"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": "d80ZFFu4xLSpT/c9OSy7SN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Button",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 9
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"duration": 0.1,
|
||||||
|
"zoomScale": 1.2,
|
||||||
|
"clickEvents": [
|
||||||
|
{
|
||||||
|
"__id__": 12
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_N$interactable": true,
|
||||||
|
"_N$enableAutoGrayEffect": false,
|
||||||
|
"_N$transition": 0,
|
||||||
|
"transition": 0,
|
||||||
|
"_N$normalColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$disabledColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 124,
|
||||||
|
"g": 124,
|
||||||
|
"b": 124,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_N$normalSprite": null,
|
||||||
|
"_N$pressedSprite": null,
|
||||||
|
"pressedSprite": null,
|
||||||
|
"_N$hoverSprite": null,
|
||||||
|
"hoverSprite": null,
|
||||||
|
"_N$disabledSprite": null,
|
||||||
|
"_N$target": null,
|
||||||
|
"_id": "7080oabmNLcbpdUxxSWJxS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.ClickEvent",
|
||||||
|
"target": {
|
||||||
|
"__id__": 9
|
||||||
|
},
|
||||||
|
"component": "",
|
||||||
|
"_componentId": "3a2abJhRaJFyrM9SBg5rWtB",
|
||||||
|
"handler": "closeGame",
|
||||||
|
"customEventData": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "3a2abJhRaJFyrM9SBg5rWtB",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 9
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_id": "e0VIvEqWBF/5f4Cll1p7s2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Canvas",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_designResolution": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 960,
|
||||||
|
"height": 640
|
||||||
|
},
|
||||||
|
"_fitWidth": true,
|
||||||
|
"_fitHeight": true,
|
||||||
|
"_id": "7dLGaIeR5L9IgTdEUV5JAV"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "19aaeSYSZZGULvtl5gcIKyn",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"protonSM": {
|
||||||
|
"__uuid__": "59b8f7eb-f327-47e0-aa01-42ecad377557"
|
||||||
|
},
|
||||||
|
"protonMD": {
|
||||||
|
"__uuid__": "75af4f59-790b-4c40-ba2e-54ffc1cc3c23"
|
||||||
|
},
|
||||||
|
"protonLG": {
|
||||||
|
"__uuid__": "9c3d7d56-f77a-4e1f-a64c-865e00c80cff"
|
||||||
|
},
|
||||||
|
"_id": "0erRnoKLBJhIFfRGuNB7Qo"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "1e5d46Ai89Cn4miJXf2Ka71",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"_id": "8akbMFRTxMJoUZES0nQNaf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "9d626BM2d5JeqXd/gdPNSoQ",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"label": {
|
||||||
|
"__id__": 7
|
||||||
|
},
|
||||||
|
"_id": "f05gdg8R1FcYiH/+7HcjQi"
|
||||||
|
}
|
||||||
|
]
|
||||||
7
assets/Score.fire.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.1",
|
||||||
|
"uuid": "05ba92df-ca08-4e47-95f5-c25985ae7f4b",
|
||||||
|
"asyncLoadAssets": false,
|
||||||
|
"autoReleaseAssets": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
@ -71,13 +71,14 @@ export default class NewClass extends cc.Component {
|
|||||||
this.node.stopAllActions();
|
this.node.stopAllActions();
|
||||||
this.playAnimation = false;
|
this.playAnimation = false;
|
||||||
this.node.getComponent(cc.Animation).play();
|
this.node.getComponent(cc.Animation).play();
|
||||||
this.scoreLabel.string = (parseInt(this.scoreLabel.string) + GameData.instance.selectedLevel * 5).toString();
|
GameData.instance.setScore(GameData.instance.getScore() + GameData.instance.selectedLevel * 5);
|
||||||
|
this.scoreLabel.string = GameData.instance.getScore().toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(otherCollider.name === 'player<PolygonCollider>') {
|
if(otherCollider.name === 'player<PolygonCollider>') {
|
||||||
SoundManager.instance.stopMusic();
|
SoundManager.instance.stopMusic();
|
||||||
this.node.destroy();
|
this.node.destroy();
|
||||||
cc.director.loadScene('Menu');
|
cc.director.loadScene('Score');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -103,7 +104,7 @@ export default class NewClass extends cc.Component {
|
|||||||
if(this.node.position.y <= -(this.node.parent.getContentSize().height)) {
|
if(this.node.position.y <= -(this.node.parent.getContentSize().height)) {
|
||||||
SoundManager.instance.stopMusic();
|
SoundManager.instance.stopMusic();
|
||||||
this.node.destroy();
|
this.node.destroy();
|
||||||
cc.director.loadScene('Menu');
|
cc.director.loadScene('Score');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
76
assets/Scripts/Explosion.ts
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
// Learn TypeScript:
|
||||||
|
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/typescript.html
|
||||||
|
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/typescript.html
|
||||||
|
// Learn Attribute:
|
||||||
|
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/reference/attributes.html
|
||||||
|
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/reference/attributes.html
|
||||||
|
// Learn life-cycle callbacks:
|
||||||
|
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/life-cycle-callbacks.html
|
||||||
|
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/life-cycle-callbacks.html
|
||||||
|
|
||||||
|
import GameData from "./GameData";
|
||||||
|
import SoundManager from "./SoundsManager";
|
||||||
|
|
||||||
|
const {ccclass, property} = cc._decorator;
|
||||||
|
|
||||||
|
@ccclass
|
||||||
|
export default class NewClass extends cc.Component {
|
||||||
|
|
||||||
|
@property(cc.Label)
|
||||||
|
scoreLabel: cc.Label = null;
|
||||||
|
|
||||||
|
@property(cc.Node)
|
||||||
|
flashOverlay: cc.Node = null;
|
||||||
|
|
||||||
|
explisionEnabled: boolean = false;
|
||||||
|
isOnCooldown: boolean = false;
|
||||||
|
|
||||||
|
onLoad() {
|
||||||
|
if (!this.scoreLabel) {
|
||||||
|
this.scoreLabel = cc.find("Canvas/ScoreBox/ScoreLabel").getComponent(cc.Label);
|
||||||
|
}
|
||||||
|
if (this.flashOverlay) {
|
||||||
|
this.flashOverlay.opacity = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
explode() {
|
||||||
|
if (!this.explisionEnabled || this.isOnCooldown) return;
|
||||||
|
|
||||||
|
this.flashOverlay.runAction(cc.fadeTo(0.25, 100));
|
||||||
|
|
||||||
|
if (this.flashOverlay) {
|
||||||
|
this.scheduleOnce(() => {
|
||||||
|
SoundManager.instance.playEffect('LoudExplosion');
|
||||||
|
this.flashOverlay.stopAllActions();
|
||||||
|
this.flashOverlay.runAction(cc.fadeOut(1));
|
||||||
|
|
||||||
|
const enemies = this.node.parent.children.filter(n => n.getComponent("EnemyShip"));
|
||||||
|
GameData.instance.setScore(GameData.instance.getScore() - 100);
|
||||||
|
this.scoreLabel.string = (parseInt(this.scoreLabel.string) - 100).toString();
|
||||||
|
|
||||||
|
enemies.forEach(enemy => {
|
||||||
|
enemy.getComponent(cc.Collider).enabled = false;
|
||||||
|
enemy.stopAllActions();
|
||||||
|
enemy.getComponent(cc.Animation).play();
|
||||||
|
});
|
||||||
|
}, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.isOnCooldown = true;
|
||||||
|
this.node.opacity = 50;
|
||||||
|
this.scheduleOnce(() => {
|
||||||
|
this.isOnCooldown = false;
|
||||||
|
}, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
update(dt) {
|
||||||
|
if (parseInt(this.scoreLabel.string) > 100 && !this.isOnCooldown) {
|
||||||
|
this.explisionEnabled = true;
|
||||||
|
this.node.opacity = 255;
|
||||||
|
} else {
|
||||||
|
this.explisionEnabled = false;
|
||||||
|
this.node.opacity = 50;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
assets/Scripts/Explosion.ts.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.5",
|
||||||
|
"uuid": "e5d86ae1-fafe-4288-b455-0ea495ab1b6d",
|
||||||
|
"isPlugin": false,
|
||||||
|
"loadPluginInWeb": true,
|
||||||
|
"loadPluginInNative": true,
|
||||||
|
"loadPluginInEditor": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
30
assets/Scripts/FinalScore.ts
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
// Learn TypeScript:
|
||||||
|
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/typescript.html
|
||||||
|
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/typescript.html
|
||||||
|
// Learn Attribute:
|
||||||
|
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/reference/attributes.html
|
||||||
|
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/reference/attributes.html
|
||||||
|
// Learn life-cycle callbacks:
|
||||||
|
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/life-cycle-callbacks.html
|
||||||
|
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/life-cycle-callbacks.html
|
||||||
|
|
||||||
|
import GameData from "./GameData";
|
||||||
|
|
||||||
|
const {ccclass, property} = cc._decorator;
|
||||||
|
|
||||||
|
@ccclass
|
||||||
|
export default class NewClass extends cc.Component {
|
||||||
|
|
||||||
|
@property(cc.Label)
|
||||||
|
label: cc.Label = null;
|
||||||
|
|
||||||
|
// LIFE-CYCLE CALLBACKS:
|
||||||
|
|
||||||
|
// onLoad () {}
|
||||||
|
|
||||||
|
onLoad () {
|
||||||
|
this.label.string = GameData.instance.getScore().toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
// update (dt) {}
|
||||||
|
}
|
||||||
9
assets/Scripts/FinalScore.ts.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.5",
|
||||||
|
"uuid": "9d62604c-d9de-497a-a5dd-fe074f352a10",
|
||||||
|
"isPlugin": false,
|
||||||
|
"loadPluginInWeb": true,
|
||||||
|
"loadPluginInNative": true,
|
||||||
|
"loadPluginInEditor": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
@ -33,7 +33,7 @@ export default class NewClass extends cc.Component {
|
|||||||
|
|
||||||
const batchMoveAmountX = Math.random() * 200 + 200;
|
const batchMoveAmountX = Math.random() * 200 + 200;
|
||||||
|
|
||||||
const shipY = this.node.getContentSize().height * 0.95;
|
const shipY = this.node.getContentSize().height;
|
||||||
|
|
||||||
const screenHalfWidth = this.node.getContentSize().width / 2;
|
const screenHalfWidth = this.node.getContentSize().width / 2;
|
||||||
const shipMaxMove = batchMoveAmountX;
|
const shipMaxMove = batchMoveAmountX;
|
||||||
|
|||||||
@ -16,6 +16,7 @@ export default class GameData extends cc.Component {
|
|||||||
private static _instance: GameData = null;
|
private static _instance: GameData = null;
|
||||||
|
|
||||||
public selectedLevel: number = 1;
|
public selectedLevel: number = 1;
|
||||||
|
public score: number = 0;
|
||||||
|
|
||||||
public static get instance(): GameData {
|
public static get instance(): GameData {
|
||||||
if (!this._instance) {
|
if (!this._instance) {
|
||||||
@ -24,15 +25,23 @@ export default class GameData extends cc.Component {
|
|||||||
return this._instance;
|
return this._instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public setScore(score: number) {
|
||||||
|
this.score = score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public getScore(): number {
|
||||||
|
return this.score;
|
||||||
|
}
|
||||||
|
|
||||||
public get enemyHealth(): number {
|
public get enemyHealth(): number {
|
||||||
return this.selectedLevel;
|
return this.selectedLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
private levelConfig = {
|
private levelConfig = {
|
||||||
1: { shootingSpeed: 8, spawnInterval: 6, playerSpeed: 3 },
|
1: { shootingSpeed: 6, spawnInterval: 6, playerSpeed: 2.5 },
|
||||||
2: { shootingSpeed: 6, spawnInterval: 8, playerSpeed: 4 },
|
2: { shootingSpeed: 5, spawnInterval: 8, playerSpeed: 3 },
|
||||||
3: { shootingSpeed: 4, spawnInterval: 10, playerSpeed: 5 },
|
3: { shootingSpeed: 4, spawnInterval: 10, playerSpeed: 3.5 },
|
||||||
4: { shootingSpeed: 2, spawnInterval: 12, playerSpeed: 6 },
|
4: { shootingSpeed: 3, spawnInterval: 12, playerSpeed: 4 },
|
||||||
};
|
};
|
||||||
|
|
||||||
public get playerShootingInterval(): number {
|
public get playerShootingInterval(): number {
|
||||||
@ -46,4 +55,6 @@ export default class GameData extends cc.Component {
|
|||||||
public get enemyMoveTime(): number {
|
public get enemyMoveTime(): number {
|
||||||
return this.levelConfig[this.selectedLevel].playerSpeed;
|
return this.levelConfig[this.selectedLevel].playerSpeed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,7 +37,7 @@ export default class NewClass extends cc.Component {
|
|||||||
if(this.playerLifes <= 0) {
|
if(this.playerLifes <= 0) {
|
||||||
SoundManager.instance.stopMusic();
|
SoundManager.instance.stopMusic();
|
||||||
this.node.destroy();
|
this.node.destroy();
|
||||||
cc.director.loadScene('Menu');
|
cc.director.loadScene('Score');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(otherCollider.name === 'health<PolygonCollider>') {
|
else if(otherCollider.name === 'health<PolygonCollider>') {
|
||||||
|
|||||||
@ -47,7 +47,7 @@ export default class SoundManager extends cc.Component {
|
|||||||
playEffect(name: string, loop: boolean = false) {
|
playEffect(name: string, loop: boolean = false) {
|
||||||
const clip = this.sounds[name];
|
const clip = this.sounds[name];
|
||||||
if (clip) {
|
if (clip) {
|
||||||
cc.audioEngine.setEffectsVolume(name === 'explosion' ? 0.1 : 0.2);
|
cc.audioEngine.setEffectsVolume(0.2);
|
||||||
cc.audioEngine.playEffect(clip, loop);
|
cc.audioEngine.playEffect(clip, loop);
|
||||||
} else {
|
} else {
|
||||||
cc.warn(`Sound '${name}' not found. Make sure it's preloaded.`);
|
cc.warn(`Sound '${name}' not found. Make sure it's preloaded.`);
|
||||||
|
|||||||
@ -41,4 +41,11 @@ export default class MenuScreen extends cc.Component {
|
|||||||
cc.director.loadScene('Game');
|
cc.director.loadScene('Game');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closeGame() {
|
||||||
|
GameData.instance.setScore(0);
|
||||||
|
SoundManager.instance.playEffect('click');
|
||||||
|
SoundManager.instance.stopMusic();
|
||||||
|
cc.director.loadScene('Menu');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
7
assets/fonts/Michroma.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.1",
|
||||||
|
"uuid": "15b8d2c7-11d3-420f-bf15-c26bd47a2346",
|
||||||
|
"isSubpackage": false,
|
||||||
|
"subpackageName": "",
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
BIN
assets/fonts/Michroma/Michroma-Regular.ttf
Normal file
5
assets/fonts/Michroma/Michroma-Regular.ttf.meta
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.0",
|
||||||
|
"uuid": "9c6522cf-87ff-4ae7-b020-9ca4e6c6a755",
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
93
assets/fonts/Michroma/OFL.txt
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2011 The Michroma Project Authors (https://github.com/googlefonts/Michroma-font)
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
https://openfontlicense.org
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
5
assets/fonts/Michroma/OFL.txt.meta
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.0.0",
|
||||||
|
"uuid": "16e8825e-df41-4e4f-b147-13242c09698c",
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
BIN
assets/resources/sounds/LoudExplosion.mp3
Normal file
6
assets/resources/sounds/LoudExplosion.mp3.meta
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.0.0",
|
||||||
|
"uuid": "c13471a8-448c-4407-b993-f0b710f0b47e",
|
||||||
|
"downloadMode": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ver": "2.0.0",
|
"ver": "2.0.0",
|
||||||
"uuid": "c13471a8-448c-4407-b993-f0b710f0b47e",
|
"uuid": "e0aa5105-8a33-4bc8-b753-6c79f60a22c1",
|
||||||
"downloadMode": 0,
|
"downloadMode": 0,
|
||||||
"subMetas": {}
|
"subMetas": {}
|
||||||
}
|
}
|
||||||
BIN
assets/resources/sounds/globalExplosion.mp3
Normal file
6
assets/resources/sounds/globalExplosion.mp3.meta
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.0.0",
|
||||||
|
"uuid": "2706ae7b-cfee-4a86-9e6b-47ef26183b6d",
|
||||||
|
"downloadMode": 0,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 134 KiB |
@ -29,14 +29,14 @@
|
|||||||
"portrait": true,
|
"portrait": true,
|
||||||
"upsideDown": false
|
"upsideDown": false
|
||||||
},
|
},
|
||||||
"packageName": "org.cocos2d.SpacerShppter",
|
"packageName": "org.cocos2d.ultimeshooter",
|
||||||
"qqplay": {
|
"qqplay": {
|
||||||
"REMOTE_SERVER_ROOT": "",
|
"REMOTE_SERVER_ROOT": "",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"zip": false
|
"zip": false
|
||||||
},
|
},
|
||||||
"startScene": "3262a1c4-0f31-4d75-86a0-e6aaebac5364",
|
"startScene": "700b5c88-67f8-4831-bf4f-bc5c198d3a4a",
|
||||||
"title": "SpacerShppter",
|
"title": "UltimeShooter",
|
||||||
"webOrientation": "auto",
|
"webOrientation": "auto",
|
||||||
"wechatgame": {
|
"wechatgame": {
|
||||||
"REMOTE_SERVER_ROOT": "",
|
"REMOTE_SERVER_ROOT": "",
|
||||||
|
|||||||
@ -65,13 +65,13 @@
|
|||||||
"ammo",
|
"ammo",
|
||||||
"rocket"
|
"rocket"
|
||||||
],
|
],
|
||||||
"last-module-event-record-time": 1761549490300,
|
"last-module-event-record-time": 1762255677471,
|
||||||
"simulator-orientation": false,
|
"simulator-orientation": false,
|
||||||
"simulator-resolution": {
|
"simulator-resolution": {
|
||||||
"height": 640,
|
"height": 640,
|
||||||
"width": 960
|
"width": 960
|
||||||
},
|
},
|
||||||
|
"start-scene": "current",
|
||||||
"use-customize-simulator": true,
|
"use-customize-simulator": true,
|
||||||
"use-project-simulator-setting": false,
|
"use-project-simulator-setting": false
|
||||||
"start-scene": "current"
|
|
||||||
}
|
}
|
||||||