store-v2 #1
53
.gitignore
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
# Fireball Projects
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/library/
|
||||
/temp/
|
||||
/local/
|
||||
/build/
|
||||
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
# npm files
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
npm-debug.log
|
||||
node_modules/
|
||||
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
# Logs and databases
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
*.log
|
||||
*.sql
|
||||
*.sqlite
|
||||
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
# files for debugger
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
*.sln
|
||||
*.csproj
|
||||
*.pidb
|
||||
*.unityproj
|
||||
*.suo
|
||||
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
# OS generated files
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
.DS_Store
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
# WebStorm files
|
||||
#/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
.idea/
|
||||
|
||||
#//////////////////////////
|
||||
# VS Code files
|
||||
#//////////////////////////
|
||||
|
||||
.vscode/
|
||||
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/frame.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
34
assets/Buttons/frame.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "5081a280-3f38-463a-8e51-d89aa64a9d65",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"frame": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "e5d1a5e1-1c0e-4cf7-a537-9b884ae8641e",
|
||||
"rawTextureUuid": "5081a280-3f38-463a-8e51-d89aa64a9d65",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0.5,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 83,
|
||||
"trimY": 66,
|
||||
"width": 447,
|
||||
"height": 275,
|
||||
"rawWidth": 612,
|
||||
"rawHeight": 408,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Buttons/goback.png
Normal file
|
After Width: | Height: | Size: 196 KiB |
34
assets/Buttons/goback.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "c1c1e95d-6a5a-4f63-8272-3d0e3bbab123",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"goback": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "98e2ff50-ce1b-4b6c-bde1-d9517b6be722",
|
||||
"rawTextureUuid": "c1c1e95d-6a5a-4f63-8272-3d0e3bbab123",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 82,
|
||||
"trimY": 79,
|
||||
"width": 336,
|
||||
"height": 341,
|
||||
"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 |
34
assets/Buttons/menu.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "6041f684-59d7-4144-83c9-7b5dddce10fe",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"menu": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "8484061a-f0be-458f-a9a0-5a2ebac52482",
|
||||
"rawTextureUuid": "6041f684-59d7-4144-83c9-7b5dddce10fe",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 1.5,
|
||||
"offsetY": 5,
|
||||
"trimX": 82,
|
||||
"trimY": 83,
|
||||
"width": 339,
|
||||
"height": 324,
|
||||
"rawWidth": 500,
|
||||
"rawHeight": 500,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
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/select.png
Normal file
|
After Width: | Height: | Size: 186 KiB |
34
assets/Buttons/select.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "61ef4b76-ea31-470f-af82-bc4fbee2bf69",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"select": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "19079cc6-f48e-4ef9-bf7c-b53624d3bad6",
|
||||
"rawTextureUuid": "61ef4b76-ea31-470f-af82-bc4fbee2bf69",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 79,
|
||||
"trimY": 84,
|
||||
"width": 453,
|
||||
"height": 240,
|
||||
"rawWidth": 612,
|
||||
"rawHeight": 408,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Buttons/selected.png
Normal file
|
After Width: | Height: | Size: 172 KiB |
34
assets/Buttons/selected.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "48aeb9dc-565f-4dff-9ea8-87edec42cd8e",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"selected": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "ff64caa3-19f2-46ca-8c65-ba297df0f85b",
|
||||
"rawTextureUuid": "48aeb9dc-565f-4dff-9ea8-87edec42cd8e",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -7,
|
||||
"trimX": 57,
|
||||
"trimY": 107,
|
||||
"width": 386,
|
||||
"height": 300,
|
||||
"rawWidth": 500,
|
||||
"rawHeight": 500,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Buttons/settings-modal.png
Normal file
|
After Width: | Height: | Size: 234 KiB |
34
assets/Buttons/settings-modal.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "95bb0bf8-78d3-4358-85dd-fe8463e2af39",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"settings-modal": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "f06c442e-7357-4371-b505-c0e86e22aef5",
|
||||
"rawTextureUuid": "95bb0bf8-78d3-4358-85dd-fe8463e2af39",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 2,
|
||||
"offsetY": 17,
|
||||
"trimX": 31,
|
||||
"trimY": 68,
|
||||
"width": 350,
|
||||
"height": 442,
|
||||
"rawWidth": 408,
|
||||
"rawHeight": 612,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Buttons/settings.png
Normal file
|
After Width: | Height: | Size: 210 KiB |
34
assets/Buttons/settings.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "b4220f86-5134-435a-b1d9-07e973964587",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"settings": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "137a4fa3-a5b5-4d35-8ca0-0aef23ca8a59",
|
||||
"rawTextureUuid": "b4220f86-5134-435a-b1d9-07e973964587",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": -7.5,
|
||||
"trimX": 56,
|
||||
"trimY": 68,
|
||||
"width": 387,
|
||||
"height": 379,
|
||||
"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/store.png
Normal file
|
After Width: | Height: | Size: 203 KiB |
34
assets/Buttons/store.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "d5a4cceb-814a-4da2-8392-18fa4a00df30",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"store": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "6a617218-3c12-47bf-a1fa-6432bff4391c",
|
||||
"rawTextureUuid": "d5a4cceb-814a-4da2-8392-18fa4a00df30",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -1,
|
||||
"trimX": 50,
|
||||
"trimY": 74,
|
||||
"width": 400,
|
||||
"height": 354,
|
||||
"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": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
2878
assets/Game.fire
Normal file
7
assets/Game.fire.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "3262a1c4-0f31-4d75-86a0-e6aaebac5364",
|
||||
"asyncLoadAssets": false,
|
||||
"autoReleaseAssets": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
1478
assets/Level.fire
Normal file
7
assets/Level.fire.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "3eba991d-703c-4c11-ac81-b6548a4722ec",
|
||||
"asyncLoadAssets": false,
|
||||
"autoReleaseAssets": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
1100
assets/Menu.fire
Normal file
7
assets/Menu.fire.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "700b5c88-67f8-4831-bf4f-bc5c198d3a4a",
|
||||
"asyncLoadAssets": false,
|
||||
"autoReleaseAssets": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
7
assets/Prefabs.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "7d1ffed5-6b3e-4e45-a9bf-77854e9e2d5e",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
||||
232
assets/Prefabs/Bullet.prefab
Normal file
@ -0,0 +1,232 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Bullet",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 107,
|
||||
"height": 40
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 20.373,
|
||||
"y": 168.422,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.15,
|
||||
"y": 0.2,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 90
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "e3b2dec1-9de5-459d-8b97-1335000bc60f"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "703c7fWWSFIqLoVKP56Pw8g",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"label": null,
|
||||
"text": "hello",
|
||||
"BulletSpeed": 500,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PolygonCollider",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"tag": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12.5,
|
||||
"y": 20
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -37.5,
|
||||
"y": 15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -47.5,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -52.5,
|
||||
"y": 5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -52.5,
|
||||
"y": -5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -47.5,
|
||||
"y": -10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -37.5,
|
||||
"y": -15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -14.5,
|
||||
"y": -20
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 14.5,
|
||||
"y": -20
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": -13
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 43.5,
|
||||
"y": -11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 47.5,
|
||||
"y": -10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 53.5,
|
||||
"y": -2
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 51.5,
|
||||
"y": 6
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 39.5,
|
||||
"y": 14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 20.5,
|
||||
"y": 19
|
||||
}
|
||||
],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "50BgVmcUhL3okZ1iGGacix",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/Bullet.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "1e6b2ed9-fc9b-4d1a-8f2a-7773b0428ecb",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
129
assets/Prefabs/Proton_Large.prefab
Normal file
@ -0,0 +1,129 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Proton_Large",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 13,
|
||||
"height": 13
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -240.238,
|
||||
"y": 102.818,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.25,
|
||||
"y": 0.165,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "075c3bd1-33da-4a9b-8bdf-014031509ba9"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "ab3besxLvFHVrmnzKoxE6vh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"duratrion": 10,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "e2jU3/qH5IO6NtZGkBDp+v",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/Proton_Large.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "9c3d7d56-f77a-4e1f-a64c-865e00c80cff",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
129
assets/Prefabs/Proton_Medium.prefab
Normal file
@ -0,0 +1,129 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Proton_Medium",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 9,
|
||||
"height": 10
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -183.886,
|
||||
"y": 145.329,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.25,
|
||||
"y": 0.165,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "90210c78-3d00-4e32-8563-1c28e573932c"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "ab3besxLvFHVrmnzKoxE6vh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"duratrion": 5,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "12lQIJUA1JMInGIZe7jLS2",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/Proton_Medium.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "75af4f59-790b-4c40-ba2e-54ffc1cc3c23",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
129
assets/Prefabs/Proton_Small.prefab
Normal file
@ -0,0 +1,129 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Proton_Small",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 6,
|
||||
"height": 5
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 29.659,
|
||||
"y": 128.522,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.25,
|
||||
"y": 0.165,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "e026920c-5826-4393-9364-5dd094b5299d"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "ab3besxLvFHVrmnzKoxE6vh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"duratrion": 1,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "56QYkM9s9Eeb+Fy5tHYtwL",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/Proton_Small.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "59b8f7eb-f327-47e0-aa01-42ecad377557",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
746
assets/Prefabs/alienship3.prefab
Normal file
@ -0,0 +1,746 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "alienship3",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 95,
|
||||
"height": 98
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 20.299,
|
||||
"y": 291.321,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 90
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "858a9413-cff3-4cca-a59f-f366483b9b62"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "1a501MCRppNhZR74uSrFLbc",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"scoreLabel": null,
|
||||
"yellowBullet": {
|
||||
"__uuid__": "1e6b2ed9-fc9b-4d1a-8f2a-7773b0428ecb"
|
||||
},
|
||||
"rocket": {
|
||||
"__uuid__": "941946c0-687a-41ee-ba1f-ff4993adeacd"
|
||||
},
|
||||
"health": {
|
||||
"__uuid__": "afab2f55-c2a7-4b21-9a71-f4d566ff70bc"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PolygonCollider",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"tag": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 17.5,
|
||||
"y": 49
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 17.5,
|
||||
"y": 47
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 26.5,
|
||||
"y": 45
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 24.5,
|
||||
"y": 43
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 31.5,
|
||||
"y": 41
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 26.5,
|
||||
"y": 40
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 26.5,
|
||||
"y": 38
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 31.5,
|
||||
"y": 36
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 32.5,
|
||||
"y": 34
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 30.5,
|
||||
"y": 34
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 27.5,
|
||||
"y": 31
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 27.5,
|
||||
"y": 26
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 23.5,
|
||||
"y": 26
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 17.5,
|
||||
"y": 21
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 10.5,
|
||||
"y": 22
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 10.5,
|
||||
"y": 20
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 14.5,
|
||||
"y": 19
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 11.5,
|
||||
"y": 17
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 11.5,
|
||||
"y": 15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 14.5,
|
||||
"y": 14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 9.5,
|
||||
"y": 14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 3.5,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -3.5,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -3.5,
|
||||
"y": 8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -11.5,
|
||||
"y": 8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -10.5,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12.5,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -22.5,
|
||||
"y": 6
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -25.5,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -40.5,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -47.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -46.5,
|
||||
"y": -2
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -24.5,
|
||||
"y": -4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -20.5,
|
||||
"y": -8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -11.5,
|
||||
"y": -11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -10.5,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12.5,
|
||||
"y": -8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -7.5,
|
||||
"y": -8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -3.5,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -2.5,
|
||||
"y": -11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 3.5,
|
||||
"y": -10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 3.5,
|
||||
"y": -12
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 8.5,
|
||||
"y": -13
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 10.5,
|
||||
"y": -15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 13.5,
|
||||
"y": -14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 11.5,
|
||||
"y": -16
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 13.5,
|
||||
"y": -20
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 11.5,
|
||||
"y": -20
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 10.5,
|
||||
"y": -22
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 18.5,
|
||||
"y": -22
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 24.5,
|
||||
"y": -27
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 28.5,
|
||||
"y": -27
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 27.5,
|
||||
"y": -31
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 30.5,
|
||||
"y": -35
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 32.5,
|
||||
"y": -35
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 26.5,
|
||||
"y": -39
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 31.5,
|
||||
"y": -41
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 24.5,
|
||||
"y": -43
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 25.5,
|
||||
"y": -46
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 19.5,
|
||||
"y": -47
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 17.5,
|
||||
"y": -49
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 35.5,
|
||||
"y": -49
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": -47
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 39.5,
|
||||
"y": -46
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 38.5,
|
||||
"y": -43
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 40.5,
|
||||
"y": -39
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": -36
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 47.5,
|
||||
"y": -34
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": -33
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 39.5,
|
||||
"y": -26
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 37.5,
|
||||
"y": -26
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 36.5,
|
||||
"y": -24
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 44.5,
|
||||
"y": -17
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": -15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 44.5,
|
||||
"y": -15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": -12
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 38.5,
|
||||
"y": -16
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 36.5,
|
||||
"y": -16
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 34.5,
|
||||
"y": -13
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 35.5,
|
||||
"y": -11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 36.5,
|
||||
"y": -7
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 36.5,
|
||||
"y": -5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 41.5,
|
||||
"y": -4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 41.5,
|
||||
"y": -2
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": -1
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 40.5,
|
||||
"y": 4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 36.5,
|
||||
"y": 4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 35.5,
|
||||
"y": 7
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": 7
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": 9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 37.5,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 35.5,
|
||||
"y": 11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 35.5,
|
||||
"y": 14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 39.5,
|
||||
"y": 15
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": 11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 46.5,
|
||||
"y": 13
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 43.5,
|
||||
"y": 14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 44.5,
|
||||
"y": 16
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": 17
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": 19
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 36.5,
|
||||
"y": 25
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 39.5,
|
||||
"y": 26
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": 32
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 47.5,
|
||||
"y": 34
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 44.5,
|
||||
"y": 37
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 40.5,
|
||||
"y": 38
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 38.5,
|
||||
"y": 42
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 38.5,
|
||||
"y": 44
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": 45
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 42.5,
|
||||
"y": 47
|
||||
}
|
||||
],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Animation",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_defaultClip": {
|
||||
"__uuid__": "e351c2ae-7a11-4a05-b5d6-e6c91d934581"
|
||||
},
|
||||
"_clips": [
|
||||
{
|
||||
"__uuid__": "e351c2ae-7a11-4a05-b5d6-e6c91d934581"
|
||||
}
|
||||
],
|
||||
"playOnLoad": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "79n62fy2FB0phxl7o8lzGi",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/alienship3.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "4fd20ca9-dc4a-45b4-8c83-4fcc89828fe6",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
1111
assets/Prefabs/alienship4.prefab
Normal file
8
assets/Prefabs/alienship4.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "f819b8da-8f4c-4c09-babc-dac7ec7d20a3",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
1146
assets/Prefabs/alienship5.prefab
Normal file
8
assets/Prefabs/alienship5.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "6c6bd86b-1419-437a-b3db-9e653f754b61",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
186
assets/Prefabs/greenbullet.prefab
Normal file
@ -0,0 +1,186 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "greenbullet",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 1,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 30,
|
||||
"height": 5
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 23.334,
|
||||
"y": -180.667,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.8,
|
||||
"y": 2,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 90
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 1,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "4b8db938-46ea-4d13-baae-2576f0d38610"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "703c7fWWSFIqLoVKP56Pw8g",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"scoreLabel": null,
|
||||
"BulletSpeed": -500,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PolygonCollider",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"tag": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12,
|
||||
"y": 2.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -15,
|
||||
"y": 1.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -15,
|
||||
"y": -1.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -13,
|
||||
"y": -2.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 15,
|
||||
"y": -1.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 14,
|
||||
"y": 1.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 10,
|
||||
"y": 2.5
|
||||
}
|
||||
],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "c01ayalttID5NDkK1bsCpd",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/greenbullet.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "9c1eea54-1438-4486-9ff4-c2ba640da280",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
259
assets/Prefabs/health.prefab
Normal file
@ -0,0 +1,259 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "health",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 48,
|
||||
"height": 28
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -158.356,
|
||||
"y": 27.383,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 0.6,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 4,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "3f307ec9-399d-4075-842b-f3a3c22bee25"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PolygonCollider",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"tag": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12,
|
||||
"y": 14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -15,
|
||||
"y": 9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -18,
|
||||
"y": 9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -21,
|
||||
"y": 6
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -21,
|
||||
"y": 4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -24,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -24,
|
||||
"y": -3
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -22,
|
||||
"y": -3
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -17,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -14,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -14,
|
||||
"y": -12
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12,
|
||||
"y": -14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 13,
|
||||
"y": -14
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 16,
|
||||
"y": -11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 16,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 19,
|
||||
"y": -9
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 24,
|
||||
"y": -4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 24,
|
||||
"y": 4
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 20,
|
||||
"y": 8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 16,
|
||||
"y": 8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 16,
|
||||
"y": 11
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 13,
|
||||
"y": 14
|
||||
}
|
||||
],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "4cc23PKJspLG7P/IBljP2/H",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "6dVfqDhfNIdKWl08hFRkvL",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/health.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "afab2f55-c2a7-4b21-9a71-f4d566ff70bc",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
264
assets/Prefabs/rocket.prefab
Normal file
@ -0,0 +1,264 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "rocket",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_level": 2,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 47,
|
||||
"height": 29
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 14.357,
|
||||
"y": 21.601,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 0.6,
|
||||
"z": 1
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"groupIndex": 5,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "4c53dcbf-af4f-4475-9922-6cfdbcfbd7e4"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PolygonCollider",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"tag": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -11.5,
|
||||
"y": 14.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -12.5,
|
||||
"y": 12.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -14.5,
|
||||
"y": 12.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -15.5,
|
||||
"y": 7.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -19.5,
|
||||
"y": 7.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -20.5,
|
||||
"y": 4.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -23.5,
|
||||
"y": 2.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -23.5,
|
||||
"y": -3.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -20.5,
|
||||
"y": -5.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -20.5,
|
||||
"y": -7.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -15.5,
|
||||
"y": -9.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": -14.5,
|
||||
"y": -13.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 12.5,
|
||||
"y": -14.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 15.5,
|
||||
"y": -11.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 15.5,
|
||||
"y": -9.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 17.5,
|
||||
"y": -9.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 23.5,
|
||||
"y": -3.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 23.5,
|
||||
"y": 2.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 19.5,
|
||||
"y": 5.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 19.5,
|
||||
"y": 7.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 15.5,
|
||||
"y": 7.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 15.5,
|
||||
"y": 10.5
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 11.5,
|
||||
"y": 14.5
|
||||
}
|
||||
],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "4cc23PKJspLG7P/IBljP2/H",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "89l6vGXMxG6ZmqMkvQt1+Q",
|
||||
"sync": false
|
||||
}
|
||||
]
|
||||
8
assets/Prefabs/rocket.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.1",
|
||||
"uuid": "941946c0-687a-41ee-ba1f-ff4993adeacd",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
7
assets/Protons.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "9c0d5ac4-46d3-4d9b-ad0d-b33904e4fe36",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
||||
BIN
assets/Protons/Proton_Large_png_processed.png
Normal file
|
After Width: | Height: | Size: 463 B |
34
assets/Protons/Proton_Large_png_processed.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "5bb0f04f-ccb9-4ac1-adb4-66c668a2fbef",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"Proton_Large_png_processed": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "075c3bd1-33da-4a9b-8bdf-014031509ba9",
|
||||
"rawTextureUuid": "5bb0f04f-ccb9-4ac1-adb4-66c668a2fbef",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"rawWidth": 13,
|
||||
"rawHeight": 13,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Protons/Proton_Medium_png_processed.png
Normal file
|
After Width: | Height: | Size: 371 B |
34
assets/Protons/Proton_Medium_png_processed.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "dab01855-3275-4fd7-9f68-7477857afcd5",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"Proton_Medium_png_processed": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "90210c78-3d00-4e32-8563-1c28e573932c",
|
||||
"rawTextureUuid": "dab01855-3275-4fd7-9f68-7477857afcd5",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 9,
|
||||
"height": 10,
|
||||
"rawWidth": 10,
|
||||
"rawHeight": 10,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Protons/Proton_Small_png_processed.png
Normal file
|
After Width: | Height: | Size: 190 B |
34
assets/Protons/Proton_Small_png_processed.png.meta
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "733c724d-cac5-4cfc-97de-1e950f65be30",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"Proton_Small_png_processed": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "e026920c-5826-4393-9364-5dd094b5299d",
|
||||
"rawTextureUuid": "733c724d-cac5-4cfc-97de-1e950f65be30",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -0.5,
|
||||
"trimX": 0,
|
||||
"trimY": 1,
|
||||
"width": 6,
|
||||
"height": 5,
|
||||
"rawWidth": 6,
|
||||
"rawHeight": 6,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/Protons/box.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
47
assets/Protons/box.png.meta
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "8ebaee0c-e662-449f-ab9d-a101bf9a9e50",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {
|
||||
"ios": {
|
||||
"formats": [
|
||||
{
|
||||
"name": "png",
|
||||
"quality": 80
|
||||
},
|
||||
{
|
||||
"name": "pvrtc_4bits",
|
||||
"quality": "normal"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"subMetas": {
|
||||
"box": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "fba0bf13-b989-443d-8fdf-a5f7f8bb391c",
|
||||
"rawTextureUuid": "8ebaee0c-e662-449f-ab9d-a101bf9a9e50",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 13,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 1199,
|
||||
"height": 268,
|
||||
"rawWidth": 1199,
|
||||
"rawHeight": 294,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 385 KiB |
@ -0,0 +1,34 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "eba7d3b8-1d34-4939-a6f4-87831b8ea9d0",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"glossy-red-heart-symbol-3d-render-shiny-heart 2": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "746cf043-7cf7-4d62-86fd-fbe6ff6d470d",
|
||||
"rawTextureUuid": "eba7d3b8-1d34-4939-a6f4-87831b8ea9d0",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 5.5,
|
||||
"offsetY": -32,
|
||||
"trimX": 333,
|
||||
"trimY": 422,
|
||||
"width": 1345,
|
||||
"height": 1220,
|
||||
"rawWidth": 2000,
|
||||
"rawHeight": 2000,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
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": 769.896583964366
|
||||
},
|
||||
"_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": 350,
|
||||
"height": 330
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 133.919,
|
||||
"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": -1.401,
|
||||
"y": -48.251,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 0.316,
|
||||
"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": "loadScene",
|
||||
"customEventData": "Menu"
|
||||
},
|
||||
{
|
||||
"__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": {}
|
||||
}
|
||||
7
assets/Scripts.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "1066eabd-6f5b-4db2-9ddd-97bf88073eed",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
||||
39
assets/Scripts/Addon.ts
Normal file
@ -0,0 +1,39 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
setMovements() {
|
||||
var moveDown = cc.moveBy(2, cc.v2(0, -this.node.parent.getContentSize().height * 0.95));
|
||||
|
||||
this.node.runAction(cc.repeatForever(moveDown));
|
||||
}
|
||||
|
||||
setScale() {
|
||||
const scaleUp = cc.scaleTo(0.5, 1.25, 1);
|
||||
const scaleDown = cc.scaleTo(0.5, 1, 1);
|
||||
const scalePulse = cc.sequence(scaleUp, scaleDown);
|
||||
this.node.runAction(cc.repeatForever(scalePulse));
|
||||
}
|
||||
|
||||
onLoad () {
|
||||
this.scheduleOnce(this.setMovements, 0.1);
|
||||
this.scheduleOnce(this.setScale, 0.1);
|
||||
}
|
||||
|
||||
update (dt) {
|
||||
if(this.node.position.y <= -(this.node.parent.getContentSize().height)) {
|
||||
this.node.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/Addon.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "4cc233ca-26ca-4b1b-b3ff-2019633f6fc7",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
110
assets/Scripts/EnemyShip.ts
Normal file
@ -0,0 +1,110 @@
|
||||
// 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;
|
||||
|
||||
moveAmountX : number = 0;
|
||||
RTL: boolean = false;
|
||||
|
||||
specialItem: string = null;
|
||||
|
||||
moveEnemy : cc.ActionInterval;
|
||||
|
||||
@property(cc.Prefab)
|
||||
yellowBullet: cc.Prefab = null;
|
||||
|
||||
@property(cc.Prefab)
|
||||
rocket: cc.Prefab = null;
|
||||
@property(cc.Prefab)
|
||||
health: cc.Prefab = null;
|
||||
|
||||
enemyLife: number = GameData.instance.enemyHealth;
|
||||
|
||||
playAnimation : Boolean = true;
|
||||
|
||||
setMovements() {
|
||||
var moveLeft = cc.moveBy(GameData.instance.enemyMoveTime, cc.v2(-this.moveAmountX, -this.node.parent.getContentSize().height * 0.32));
|
||||
var moveRight = cc.moveBy(GameData.instance.enemyMoveTime, cc.v2(this.moveAmountX, -this.node.parent.getContentSize().height * 0.32));
|
||||
this.node.runAction(cc.repeatForever(this.RTL ? cc.sequence(moveRight, moveLeft) : cc.sequence(moveLeft, moveRight)));
|
||||
}
|
||||
|
||||
shootBullets() {
|
||||
var bullet = cc.instantiate(this.yellowBullet);
|
||||
bullet.setPosition(this.node.position.x, this.node.position.y - 60);
|
||||
this.node.parent.addChild(bullet);
|
||||
SoundManager.instance.playEffect('gun2');
|
||||
}
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
onLoad () {
|
||||
this.scheduleOnce(this.setMovements, 0.1);
|
||||
|
||||
this.schedule(this.shootBullets, GameData.instance.playerShootingInterval * Math.max(0.25, Math.random()), cc.macro.REPEAT_FOREVER, 0);
|
||||
|
||||
if (!this.scoreLabel) {
|
||||
this.scoreLabel = cc.find("Canvas/ScoreBox/ScoreLabel").getComponent(cc.Label);
|
||||
}
|
||||
}
|
||||
onCollisionEnter(otherCollider, selfCollider) {
|
||||
if(otherCollider.name === 'greenbullet<PolygonCollider>') {
|
||||
this.enemyLife--;
|
||||
if(this.enemyLife <= 0 && this.playAnimation) {
|
||||
SoundManager.instance.playEffect('explosion');
|
||||
this.node.getComponent(cc.Collider).enabled = false;
|
||||
this.node.stopAllActions();
|
||||
this.playAnimation = false;
|
||||
this.node.getComponent(cc.Animation).play();
|
||||
GameData.instance.setScore(GameData.instance.getScore() + GameData.instance.selectedLevel * 5);
|
||||
this.scoreLabel.string = GameData.instance.getScore().toString();
|
||||
}
|
||||
}
|
||||
if(otherCollider.name === 'player<PolygonCollider>') {
|
||||
SoundManager.instance.stopMusic();
|
||||
this.node.destroy();
|
||||
cc.director.loadScene('Score');
|
||||
}
|
||||
}
|
||||
|
||||
removeExplosion() {
|
||||
this.node.destroy();
|
||||
if(this.specialItem === 'rocket') {
|
||||
var rocket = cc.instantiate(this.rocket);
|
||||
rocket.setPosition(this.node.position.x, this.node.position.y);
|
||||
this.node.parent.addChild(rocket);
|
||||
}
|
||||
if(this.specialItem === 'health') {
|
||||
var health = cc.instantiate(this.health);
|
||||
health.setPosition(this.node.position.x, this.node.position.y);
|
||||
this.node.parent.addChild(health);
|
||||
}
|
||||
}
|
||||
|
||||
start () {
|
||||
|
||||
}
|
||||
|
||||
update (dt) {
|
||||
if(this.node.position.y <= -(this.node.parent.getContentSize().height)) {
|
||||
SoundManager.instance.stopMusic();
|
||||
this.node.destroy();
|
||||
cc.director.loadScene('Score');
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/EnemyShip.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "1a501302-469a-4d85-947b-e2e4ab14b6dc",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
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": {}
|
||||
}
|
||||
32
assets/Scripts/FinalScore.ts
Normal file
@ -0,0 +1,32 @@
|
||||
// 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)
|
||||
label: cc.Label = null;
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
// onLoad () {}
|
||||
|
||||
onLoad () {
|
||||
this.label.string = GameData.instance.getScore().toString();
|
||||
SoundManager.instance.playMusic('Judgement', true);
|
||||
}
|
||||
|
||||
// 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": {}
|
||||
}
|
||||
79
assets/Scripts/Game.ts
Normal file
@ -0,0 +1,79 @@
|
||||
// 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.Prefab)
|
||||
alienship1: cc.Prefab = null;
|
||||
|
||||
@property(cc.Prefab)
|
||||
alienship2: cc.Prefab = null;
|
||||
|
||||
@property(cc.Prefab)
|
||||
alienship3: cc.Prefab = null;
|
||||
|
||||
spawnShips() {
|
||||
var ships = [this.alienship1, this.alienship2, this.alienship3];
|
||||
var randomShip = Math.floor(Math.random() * ships.length);
|
||||
var RTL = Math.random() < 0.5;
|
||||
var shipPrefab = ships[randomShip];
|
||||
|
||||
const batchMoveAmountX = Math.random() * 200 + 200;
|
||||
|
||||
const shipY = this.node.getContentSize().height;
|
||||
|
||||
const screenHalfWidth = this.node.getContentSize().width / 2;
|
||||
const shipMaxMove = batchMoveAmountX;
|
||||
const margin = 0;
|
||||
const shipXMin = -screenHalfWidth + shipMaxMove + margin;
|
||||
const shipXMax = screenHalfWidth - shipMaxMove - margin;
|
||||
const shipX = Math.random() * (shipXMax - shipXMin) + shipXMin;
|
||||
|
||||
const randomNumber = Math.ceil(Math.random() * 10);
|
||||
const specialItem = randomNumber%2 === 0 ? null : randomNumber%3 === 0 ? 'health' : 'rocket';
|
||||
const specialItemIndex = Math.floor(Math.random() * GameData.instance.enemySpawnInterval);
|
||||
|
||||
for (let i = 0; i < GameData.instance.enemySpawnInterval; i++) {
|
||||
this.scheduleOnce(() => {
|
||||
const ship = cc.instantiate(shipPrefab);
|
||||
ship.setPosition(shipX, shipY);
|
||||
this.node.addChild(ship);
|
||||
|
||||
const shipScript = ship.getComponent('EnemyShip');
|
||||
shipScript.moveAmountX = batchMoveAmountX;
|
||||
shipScript.RTL = RTL;
|
||||
|
||||
if(i === specialItemIndex && specialItem !== null) {
|
||||
shipScript.specialItem = specialItem;
|
||||
}
|
||||
|
||||
}, i * GameData.instance.enemyMoveTime * 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
onLoad () {
|
||||
var manager = cc.director.getCollisionManager();
|
||||
manager.enabled = true;
|
||||
|
||||
SoundManager.instance.playMusic('Dududum', true);
|
||||
}
|
||||
|
||||
start () {
|
||||
this.schedule(this.spawnShips, GameData.instance.selectedLevel * 3, cc.macro.REPEAT_FOREVER, 1);
|
||||
}
|
||||
|
||||
// update (dt) {}
|
||||
}
|
||||
9
assets/Scripts/Game.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "9e5b3f83-ed07-45ec-a3ad-d2036896859a",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
81
assets/Scripts/GameData.ts
Normal file
@ -0,0 +1,81 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class GameData extends cc.Component {
|
||||
|
||||
private static _instance: GameData = null;
|
||||
|
||||
public selectedLevel: number = 1;
|
||||
public score: number = 0;
|
||||
|
||||
public soundEnabled: boolean = true;
|
||||
public musicEnabled: boolean = true;
|
||||
|
||||
public selectedShip: number = 1;
|
||||
|
||||
public static get instance(): GameData {
|
||||
if (!this._instance) {
|
||||
this._instance = new GameData();
|
||||
this._instance.soundEnabled = cc.sys.localStorage.getItem('soundEnabled') !== 'false';
|
||||
this._instance.musicEnabled = cc.sys.localStorage.getItem('musicEnabled') !== 'false';
|
||||
this._instance.selectedShip = Number(cc.sys.localStorage.getItem('selectedShip')) || 1;
|
||||
}
|
||||
return this._instance;
|
||||
}
|
||||
|
||||
public setSelectedShip(ship: number) {
|
||||
this.selectedShip = ship;
|
||||
cc.sys.localStorage.setItem('selectedShip', ship.toString());
|
||||
}
|
||||
|
||||
public setSoundEnabled(enabled: boolean) {
|
||||
this.soundEnabled = enabled;
|
||||
cc.sys.localStorage.setItem('soundEnabled', enabled.toString());
|
||||
}
|
||||
|
||||
public setMusicEnabled(enabled: boolean) {
|
||||
this.musicEnabled = enabled;
|
||||
cc.sys.localStorage.setItem('musicEnabled', enabled.toString());
|
||||
}
|
||||
|
||||
public setScore(score: number) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public getScore(): number {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public get enemyHealth(): number {
|
||||
return this.selectedLevel;
|
||||
}
|
||||
|
||||
private levelConfig = {
|
||||
1: { shootingSpeed: 6, spawnInterval: 6, playerSpeed: 2.5 },
|
||||
2: { shootingSpeed: 5, spawnInterval: 8, playerSpeed: 3 },
|
||||
3: { shootingSpeed: 4, spawnInterval: 10, playerSpeed: 3.5 },
|
||||
4: { shootingSpeed: 3, spawnInterval: 12, playerSpeed: 4 },
|
||||
};
|
||||
|
||||
public get playerShootingInterval(): number {
|
||||
return this.levelConfig[this.selectedLevel].shootingSpeed;
|
||||
}
|
||||
|
||||
public get enemySpawnInterval(): number {
|
||||
return this.levelConfig[this.selectedLevel].spawnInterval;
|
||||
}
|
||||
|
||||
public get enemyMoveTime(): number {
|
||||
return this.levelConfig[this.selectedLevel].playerSpeed;
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/GameData.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "58f17fa0-2478-408d-8bcd-790f44f2386e",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
42
assets/Scripts/MenuBg.ts
Normal file
@ -0,0 +1,42 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
@property(cc.Prefab)
|
||||
protonSM: cc.Prefab = null;
|
||||
@property(cc.Prefab)
|
||||
protonMD: cc.Prefab = null;
|
||||
@property(cc.Prefab)
|
||||
protonLG: cc.Prefab = null;
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
// onLoad () {}
|
||||
|
||||
spawnProtons() {
|
||||
var protons = [this.protonSM, this.protonMD, this.protonLG, this.protonMD, this.protonSM, this.protonSM];
|
||||
var proton = cc.instantiate(protons[Math.floor(Math.random() * protons.length)]);
|
||||
const protonX = Math.random() * this.node.getContentSize().width - this.node.getContentSize().width / 2;
|
||||
const protonY = this.node.getContentSize().height;
|
||||
proton.setPosition(protonX, protonY);
|
||||
proton.zIndex = -1;
|
||||
this.node.addChild(proton);
|
||||
}
|
||||
|
||||
start () {
|
||||
this.schedule(this.spawnProtons, 0.1, cc.macro.REPEAT_FOREVER, 0);
|
||||
}
|
||||
|
||||
// update (dt) {}
|
||||
}
|
||||
9
assets/Scripts/MenuBg.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "19aae498-4996-4650-bbed-97981c20aca7",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
41
assets/Scripts/MoveBullet.ts
Normal file
@ -0,0 +1,41 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
@property
|
||||
BulletSpeed: number = -500;
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
onCollisionEnter(otherCollider, selfCollider) {
|
||||
if(['alienship3<PolygonCollider>', 'alienship4<PolygonCollider>', 'alienship5<PolygonCollider>'].indexOf(otherCollider.name) !== -1) {
|
||||
this.node.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
onLoad () {
|
||||
cc.director.preloadScene('Menu');
|
||||
}
|
||||
|
||||
start () {
|
||||
|
||||
}
|
||||
|
||||
update (dt) {
|
||||
this.node.setPosition(this.node.position.x, this.node.position.y -= this.BulletSpeed * dt);
|
||||
if(this.node.position.y <= -(this.node.parent.getContentSize().height)) {
|
||||
this.node.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/MoveBullet.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "703c77d6-5921-48a8-ba15-28fe7a3f0f20",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
149
assets/Scripts/MoveJet.ts
Normal file
@ -0,0 +1,149 @@
|
||||
// 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 SoundManager from "./SoundsManager";
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
private isDragging: boolean = false;
|
||||
private touchOffset: cc.Vec2 = cc.v2(0, 0);
|
||||
private shootingInterval: number = 1;
|
||||
|
||||
@property(cc.Prefab)
|
||||
greenBullet: cc.Prefab = null;
|
||||
|
||||
@property(cc.Node)
|
||||
heartContainer: cc.Node = null;
|
||||
|
||||
private hearts: cc.Node[] = [];
|
||||
playerLifes: number = 8;
|
||||
|
||||
onCollisionEnter(otherCollider, selfCollider) {
|
||||
if(otherCollider.name === 'Bullet<PolygonCollider>') {
|
||||
this.playerLifes--;
|
||||
SoundManager.instance.playEffect('healthaddon');
|
||||
this.setLifes(this.playerLifes);
|
||||
otherCollider.node.destroy();
|
||||
if(this.playerLifes <= 0) {
|
||||
SoundManager.instance.stopMusic();
|
||||
this.node.destroy();
|
||||
cc.director.loadScene('Score');
|
||||
}
|
||||
}
|
||||
else if(otherCollider.name === 'health<PolygonCollider>') {
|
||||
this.playerLifes = 8;
|
||||
this.setLifes(this.playerLifes);
|
||||
SoundManager.instance.playEffect('gunaddon');
|
||||
otherCollider.node.destroy();
|
||||
}
|
||||
else if(otherCollider.name === 'rocket<PolygonCollider>') {
|
||||
this.shootingInterval = Math.min(this.shootingInterval + 1, 5);
|
||||
SoundManager.instance.playEffect('gunaddon');
|
||||
otherCollider.node.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
spawnBullet(offsetX: number, offsetY: number) {
|
||||
var bullet = cc.instantiate(this.greenBullet);
|
||||
bullet.setPosition(this.node.position.x + offsetX, this.node.position.y + offsetY);
|
||||
this.node.parent.addChild(bullet);
|
||||
}
|
||||
|
||||
shootBullets() {
|
||||
SoundManager.instance.playEffect('gun');
|
||||
switch (this.shootingInterval) {
|
||||
case 1:
|
||||
this.spawnBullet(0, 40);
|
||||
break;
|
||||
case 2:
|
||||
this.spawnBullet(-35, 20);
|
||||
this.spawnBullet(35, 20);
|
||||
break;
|
||||
case 3:
|
||||
this.spawnBullet(0, 40);
|
||||
this.spawnBullet(-35, 20);
|
||||
this.spawnBullet(35, 20);
|
||||
break;
|
||||
case 4:
|
||||
this.spawnBullet(-35, 20);
|
||||
this.spawnBullet(17.5, 30);
|
||||
this.spawnBullet(35, 20);
|
||||
this.spawnBullet(-17.5, 30);
|
||||
break;
|
||||
case 5:
|
||||
this.spawnBullet(0, 40);
|
||||
this.spawnBullet(-35, 20);
|
||||
this.spawnBullet(17.5, 30);
|
||||
this.spawnBullet(35, 20);
|
||||
this.spawnBullet(-17.5, 30);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
updateHearts() {
|
||||
for (let i = 0; i < this.hearts.length; i++) {
|
||||
if (i < this.playerLifes) {
|
||||
this.hearts[i].opacity = 255;
|
||||
} else {
|
||||
this.hearts[i].opacity = 60;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
setLifes(newLife: number) {
|
||||
this.playerLifes = newLife;
|
||||
this.updateHearts();
|
||||
}
|
||||
|
||||
onLoad() {
|
||||
// Enable touch on this node directly
|
||||
this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchStart, this);
|
||||
this.node.on(cc.Node.EventType.TOUCH_MOVE, this.onTouchMove, this);
|
||||
this.node.on(cc.Node.EventType.TOUCH_END, this.onTouchEnd, this);
|
||||
this.node.on(cc.Node.EventType.TOUCH_CANCEL, this.onTouchEnd, this);
|
||||
|
||||
this.schedule(this.shootBullets, 0.35, cc.macro.REPEAT_FOREVER, 0);
|
||||
|
||||
this.hearts = this.heartContainer.children;
|
||||
this.updateHearts();
|
||||
}
|
||||
|
||||
onTouchStart(event: cc.Event.EventTouch) {
|
||||
this.isDragging = true;
|
||||
|
||||
// Get touch location in parent coordinates
|
||||
const touchPos = this.node.parent.convertToNodeSpaceAR(event.getLocation());
|
||||
|
||||
// Calculate offset between jet center and touch point
|
||||
this.touchOffset = this.node.position.sub(cc.v2(touchPos.x, touchPos.y));
|
||||
}
|
||||
onTouchMove(event: cc.Event.EventTouch) {
|
||||
if (!this.isDragging) return;
|
||||
|
||||
// Convert touch position to parent space
|
||||
const touchPos = this.node.parent.convertToNodeSpaceAR(event.getLocation());
|
||||
|
||||
// Keep the offset so dragging feels natural (finger stays on the same point)
|
||||
this.node.setPosition(cc.v2(touchPos.x, touchPos.y).add(this.touchOffset));
|
||||
}
|
||||
onTouchEnd(event: cc.Event.EventTouch) {
|
||||
this.isDragging = false;
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
this.node.off(cc.Node.EventType.TOUCH_START, this.onTouchStart, this);
|
||||
this.node.off(cc.Node.EventType.TOUCH_MOVE, this.onTouchMove, this);
|
||||
this.node.off(cc.Node.EventType.TOUCH_END, this.onTouchEnd, this);
|
||||
this.node.off(cc.Node.EventType.TOUCH_CANCEL, this.onTouchEnd, this);
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/MoveJet.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "90ce7a72-9780-4370-b58b-2eb2788c3cc2",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
36
assets/Scripts/MoveThruster.ts
Normal file
@ -0,0 +1,36 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
@property(cc.Label)
|
||||
label: cc.Label = null;
|
||||
|
||||
@property
|
||||
text: string = 'hello';
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
// onLoad () {}
|
||||
|
||||
start () {
|
||||
|
||||
}
|
||||
|
||||
update (dt) {
|
||||
this.node.setPosition(
|
||||
this.node.parent.getChildByName('player').position.x,
|
||||
this.node.parent.getChildByName('player').position.y - 50
|
||||
);
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/MoveThruster.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "234e8697-db50-4912-bd0e-4d3fc72ed789",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
35
assets/Scripts/Proton.ts
Normal file
@ -0,0 +1,35 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
@property
|
||||
duratrion : number = 1;
|
||||
|
||||
setMovements() {
|
||||
var moveDown = cc.moveBy(this.duratrion, cc.v2(0, -this.node.parent.getContentSize().height * 0.95));
|
||||
this.node.runAction(cc.repeatForever(moveDown));
|
||||
}
|
||||
|
||||
// LIFE-CYCLE CALLBACKS:
|
||||
|
||||
onLoad () {
|
||||
this.scheduleOnce(this.setMovements, 0.1);
|
||||
}
|
||||
|
||||
update (dt) {
|
||||
if(this.node.position.y <= -(this.node.parent.getContentSize().height)) {
|
||||
this.node.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/Proton.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "ab3beb31-2ef1-4756-b9a7-ccaa3113abe1",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
20
assets/Scripts/Root.ts
Normal file
@ -0,0 +1,20 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
import SoundManager from "./SoundsManager";
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
onLoad() {
|
||||
SoundManager.instance.preloadSounds();
|
||||
}
|
||||
}
|
||||
9
assets/Scripts/Root.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "1e5d4e80-8bcf-429f-89a2-2577f629aef5",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
||||
59
assets/Scripts/Settings.ts
Normal file
@ -0,0 +1,59 @@
|
||||
// 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
|
||||
|
||||
const {ccclass, property} = cc._decorator;
|
||||
import SoundManager from "./SoundsManager";
|
||||
import GameData from "./GameData";
|
||||
|
||||
@ccclass
|
||||
export default class NewClass extends cc.Component {
|
||||
|
||||
@property(cc.Label)
|
||||
soundLabel: cc.Label = null;
|
||||
|
||||
@property(cc.Label)
|
||||
musicLabel: cc.Label = null;
|
||||
|
||||
controlSound() {
|
||||
SoundManager.instance.playEffect('click');
|
||||
if(GameData.instance.soundEnabled) {
|
||||
this.soundLabel.string = 'OFF';
|
||||
} else {
|
||||
this.soundLabel.string = 'ON';
|
||||
}
|
||||
GameData.instance.setSoundEnabled(!GameData.instance.soundEnabled);
|
||||
}
|
||||
|
||||
controlMusic() {
|
||||
SoundManager.instance.playEffect('click');
|
||||
if(GameData.instance.musicEnabled) {
|
||||
this.musicLabel.string = 'OFF';
|
||||
GameData.instance.setMusicEnabled(!GameData.instance.musicEnabled);
|
||||
SoundManager.instance.stopMusic();
|
||||
} else {
|
||||
this.musicLabel.string = 'ON';
|
||||
GameData.instance.setMusicEnabled(!GameData.instance.musicEnabled);
|
||||
SoundManager.instance.playMusic('Judgement', true);
|
||||
}
|
||||
}
|
||||
|
||||
onLoad() {
|
||||
if(GameData.instance.soundEnabled) {
|
||||
this.soundLabel.string = 'ON';
|
||||
} else {
|
||||
this.soundLabel.string = 'OFF';
|
||||
}
|
||||
if(GameData.instance.musicEnabled) {
|
||||
this.musicLabel.string = 'ON';
|
||||
} else {
|
||||
this.musicLabel.string = 'OFF';
|
||||
}
|
||||
}
|
||||
}
|
||||