Commit ac24b9d1 authored by Nguyễn Quang Sáng's avatar Nguyễn Quang Sáng

10/10/23 commit

parent c2d02291
{
"__type__": "cc.AnimationClip",
"_name": "PopDown",
"_objFlags": 0,
"_native": "",
"_duration": 0.5,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"y": [
{
"frame": 0,
"value": 681.759
},
{
"frame": 0.5,
"value": 490
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "498f3067-72ca-41ad-abec-bf9bfb770af9",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "PopUp",
"_objFlags": 0,
"_native": "",
"_duration": 0.5,
"sample": 60,
"speed": 0.3,
"wrapMode": 1,
"curveData": {
"props": {
"y": [
{
"frame": 0,
"value": -693.105
},
{
"frame": 0.16666666666666666,
"value": -491.234
},
{
"frame": 0.3333333333333333,
"value": -491.234
},
{
"frame": 0.5,
"value": -691.718
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "3b2264fe-97b8-4d90-8f9d-55c821678b65",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "PullUp",
"_objFlags": 0,
"_native": "",
"_duration": 0.5,
"sample": 60,
"speed": 1,
"wrapMode": 1,
"curveData": {
"props": {
"y": [
{
"frame": 0,
"value": 490
},
{
"frame": 0.5,
"value": 681.759
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "7b4591ef-2c81-4f85-bb92-09bff861b0b2",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "9e2decdc-8554-4ff8-8af4-5e30b59162c7",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 623,
"height": 220,
"platformSettings": {},
"subMetas": {
"barBoostItem": {
"ver": "1.0.6",
"uuid": "ca03b522-6c02-4453-81ec-15dc2ea4bfe9",
"importer": "sprite-frame",
"rawTextureUuid": "9e2decdc-8554-4ff8-8af4-5e30b59162c7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 623,
"height": 220,
"rawWidth": 623,
"rawHeight": 220,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "b569bf88-22e6-49bd-97f5-2beea1e7bef6",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 175,
"height": 115,
"platformSettings": {},
"subMetas": {
"button": {
"ver": "1.0.6",
"uuid": "3bf0f14a-74c4-45dc-a3d4-d1c1f6cabdfb",
"importer": "sprite-frame",
"rawTextureUuid": "b569bf88-22e6-49bd-97f5-2beea1e7bef6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -1,
"trimX": 9,
"trimY": 11,
"width": 157,
"height": 95,
"rawWidth": 175,
"rawHeight": 115,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 46,
"borderRight": 44,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "b7c74ea3-fba5-42ff-82fb-8ee6cb066a2a",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 407,
"height": 217,
"platformSettings": {},
"subMetas": {
"buttonStart": {
"ver": "1.0.6",
"uuid": "7da626ca-3b1e-4896-953d-d4e4e44f19ea",
"importer": "sprite-frame",
"rawTextureUuid": "b7c74ea3-fba5-42ff-82fb-8ee6cb066a2a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 217,
"rawWidth": 407,
"rawHeight": 217,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.7", "ver": "2.3.7",
"uuid": "42e44b0c-6ff2-4a01-80fc-a54a97a47373", "uuid": "9c6ac572-6919-445d-b4e5-7350869ca4f8",
"importer": "texture", "importer": "texture",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
"height": 121, "height": 121,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"header": { "popdown": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "f06e40bc-cc5a-4ced-a739-503a3d09363f", "uuid": "1323014d-b880-46be-b7e4-60a434777c03",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "42e44b0c-6ff2-4a01-80fc-a54a97a47373", "rawTextureUuid": "9c6ac572-6919-445d-b4e5-7350869ca4f8",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
"rawWidth": 208, "rawWidth": 208,
"rawHeight": 121, "rawHeight": 121,
"borderTop": 0, "borderTop": 0,
"borderBottom": 60, "borderBottom": 61,
"borderLeft": 55, "borderLeft": 47,
"borderRight": 55, "borderRight": 48,
"subMetas": {} "subMetas": {}
} }
} }
......
{
"ver": "2.3.7",
"uuid": "4fc908d6-74bc-4eb9-afd5-4d55d8fbd547",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 208,
"height": 121,
"platformSettings": {},
"subMetas": {
"popup": {
"ver": "1.0.6",
"uuid": "34b7aaaa-54e0-499a-9fdf-18977ff89de6",
"importer": "sprite-frame",
"rawTextureUuid": "4fc908d6-74bc-4eb9-afd5-4d55d8fbd547",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 208,
"height": 121,
"rawWidth": 208,
"rawHeight": 121,
"borderTop": 60,
"borderBottom": 0,
"borderLeft": 49,
"borderRight": 54,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "593f2aea-6f48-4534-a2a5-6f5cfaec84eb",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 54,
"platformSettings": {},
"subMetas": {
"ads": {
"ver": "1.0.6",
"uuid": "5b2c4cea-6c15-4f45-9296-76285a5e9ba7",
"importer": "sprite-frame",
"rawTextureUuid": "593f2aea-6f48-4534-a2a5-6f5cfaec84eb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 54,
"rawWidth": 61,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "7c1724b5-912e-48dc-b74d-25336b8a37a2",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 79,
"height": 93,
"platformSettings": {},
"subMetas": {
"check": {
"ver": "1.0.6",
"uuid": "4ae598e3-8c6d-4e74-a878-493c3fcdf030",
"importer": "sprite-frame",
"rawTextureUuid": "7c1724b5-912e-48dc-b74d-25336b8a37a2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 79,
"height": 93,
"rawWidth": 79,
"rawHeight": 93,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -78,13 +78,13 @@ ...@@ -78,13 +78,13 @@
"__id__": 54 "__id__": 54
}, },
{ {
"__id__": 112 "__id__": 191
}, },
{ {
"__id__": 57 "__id__": 57
}, },
{ {
"__id__": 114 "__id__": 193
}, },
{ {
"__id__": 8 "__id__": 8
...@@ -92,20 +92,26 @@ ...@@ -92,20 +92,26 @@
{ {
"__id__": 42 "__id__": 42
}, },
{
"__id__": 161
},
{
"__id__": 159
},
{ {
"__id__": 66 "__id__": 66
}, },
{ {
"__id__": 68 "__id__": 90
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 195
}, },
{ {
"__id__": 117 "__id__": 196
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -404,6 +410,12 @@ ...@@ -404,6 +410,12 @@
"scoreLbl": { "scoreLbl": {
"__id__": 55 "__id__": 55
}, },
"coinLbl": {
"__id__": 95
},
"nextBlockSpf": {
"__id__": 179
},
"_id": "3fQVty34VNO4exzcgIvAU2" "_id": "3fQVty34VNO4exzcgIvAU2"
}, },
{ {
...@@ -3035,7 +3047,7 @@ ...@@ -3035,7 +3047,7 @@
}, },
"_enabled": true, "_enabled": true,
"highScoreLbl": { "highScoreLbl": {
"__id__": 96 "__id__": 172
}, },
"_id": "d8Bv+5C0pLG6PE5Rjyn81l" "_id": "d8Bv+5C0pLG6PE5Rjyn81l"
}, },
...@@ -3050,7 +3062,7 @@ ...@@ -3050,7 +3062,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 111 "__id__": 190
}, },
{ {
"__id__": 55 "__id__": 55
...@@ -3116,25 +3128,28 @@ ...@@ -3116,25 +3128,28 @@
"__id__": 58 "__id__": 58
}, },
{ {
"__id__": 92 "__id__": 168
}, },
{ {
"__id__": 94 "__id__": 170
}, },
{ {
"__id__": 96 "__id__": 172
}, },
{ {
"__id__": 98 "__id__": 174
}, },
{ {
"__id__": 56 "__id__": 56
}, },
{ {
"__id__": 100 "__id__": 176
}, },
{ {
"__id__": 104 "__id__": 178
},
{
"__id__": 182
} }
], ],
"_active": true, "_active": true,
...@@ -3534,14 +3549,14 @@ ...@@ -3534,14 +3549,14 @@
"__id__": 64 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"pauseBtn": { "pauseScreen": {
"__id__": 62
},
"shadow": {
"__id__": 66 "__id__": 66
}, },
"pauseScreen": { "startScreen": {
"__id__": 68 "__id__": 90
},
"shadow": {
"__id__": 159
}, },
"soundOffSpf": { "soundOffSpf": {
"__uuid__": "2fcf078b-37c9-4a22-9509-4602ff630f35" "__uuid__": "2fcf078b-37c9-4a22-9509-4602ff630f35"
...@@ -3550,103 +3565,15 @@ ...@@ -3550,103 +3565,15 @@
"__uuid__": "493e3e03-38bf-4522-9ed9-c352d790ad4b" "__uuid__": "493e3e03-38bf-4522-9ed9-c352d790ad4b"
}, },
"soundBtn": { "soundBtn": {
"__id__": 77 "__id__": 75
},
"_id": "2cdM3LFE9AAI82qX2pNxpL"
},
{
"__type__": "cc.Node",
"_name": "Shadow",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 67
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 1180
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d4ksVnZmZNs5vpHH+4FCWU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
}, },
"_enabled": true, "popup": {
"_materials": [ "__id__": 154
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
}, },
"_type": 0, "destroyBlockPopUp": {
"_sizeMode": 0, "__id__": 161
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_fillStart": 0, "_id": "2cdM3LFE9AAI82qX2pNxpL"
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6fpvVhsIFB14Rp/AQZvuw9"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -3657,16 +3584,16 @@ ...@@ -3657,16 +3584,16 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 69 "__id__": 67
}, },
{ {
"__id__": 71 "__id__": 69
}, },
{ {
"__id__": 77 "__id__": 75
}, },
{ {
"__id__": 83 "__id__": 81
} }
], ],
"_active": false, "_active": false,
...@@ -3724,13 +3651,13 @@ ...@@ -3724,13 +3651,13 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 68 "__id__": 66
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 70 "__id__": 68
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3786,7 +3713,7 @@ ...@@ -3786,7 +3713,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 69 "__id__": 67
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3821,17 +3748,17 @@ ...@@ -3821,17 +3748,17 @@
"_name": "TapResume", "_name": "TapResume",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 68 "__id__": 66
}, },
"_children": [ "_children": [
{ {
"__id__": 72 "__id__": 70
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 75 "__id__": 73
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3887,16 +3814,16 @@ ...@@ -3887,16 +3814,16 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 71 "__id__": 69
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 71
}, },
{ {
"__id__": 74 "__id__": 72
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3952,7 +3879,7 @@ ...@@ -3952,7 +3879,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 72 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"_defaultClip": { "_defaultClip": {
...@@ -3971,7 +3898,7 @@ ...@@ -3971,7 +3898,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 72 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4006,7 +3933,7 @@ ...@@ -4006,7 +3933,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 71 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4015,7 +3942,7 @@ ...@@ -4015,7 +3942,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 76 "__id__": 74
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4088,20 +4015,20 @@ ...@@ -4088,20 +4015,20 @@
"_name": "SoundBtn", "_name": "SoundBtn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 68 "__id__": 66
}, },
"_children": [ "_children": [
{ {
"__id__": 78 "__id__": 76
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 80 "__id__": 78
}, },
{ {
"__id__": 81 "__id__": 79
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4157,13 +4084,13 @@ ...@@ -4157,13 +4084,13 @@
"_name": "Icon", "_name": "Icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 77 "__id__": 75
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 79 "__id__": 77
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4219,7 +4146,7 @@ ...@@ -4219,7 +4146,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 78 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4251,7 +4178,7 @@ ...@@ -4251,7 +4178,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 77 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4283,7 +4210,7 @@ ...@@ -4283,7 +4210,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 77 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4292,7 +4219,7 @@ ...@@ -4292,7 +4219,7 @@
"zoomScale": 0.8, "zoomScale": 0.8,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 82 "__id__": 80
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4365,23 +4292,23 @@ ...@@ -4365,23 +4292,23 @@
"_name": "RestartBtn", "_name": "RestartBtn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 68 "__id__": 66
}, },
"_children": [ "_children": [
{ {
"__id__": 84 "__id__": 82
}, },
{ {
"__id__": 87 "__id__": 85
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 89 "__id__": 87
}, },
{ {
"__id__": 90 "__id__": 88
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4437,16 +4364,16 @@ ...@@ -4437,16 +4364,16 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 81
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 85 "__id__": 83
}, },
{ {
"__id__": 86 "__id__": 84
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4502,7 +4429,7 @@ ...@@ -4502,7 +4429,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4537,7 +4464,7 @@ ...@@ -4537,7 +4464,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 84 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"_color": { "_color": {
...@@ -4555,13 +4482,13 @@ ...@@ -4555,13 +4482,13 @@
"_name": "Icon", "_name": "Icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 83 "__id__": 81
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 86
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4617,7 +4544,7 @@ ...@@ -4617,7 +4544,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4649,7 +4576,7 @@ ...@@ -4649,7 +4576,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4681,7 +4608,7 @@ ...@@ -4681,7 +4608,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4690,7 +4617,7 @@ ...@@ -4690,7 +4617,7 @@
"zoomScale": 0.8, "zoomScale": 0.8,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 91 "__id__": 89
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4760,20 +4687,35 @@ ...@@ -4760,20 +4687,35 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "HighestBar", "_name": "StartScreen",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 57 "__id__": 2
}, },
"_children": [], "_children": [
"_active": true,
"_components": [
{ {
"__id__": 93 "__id__": 91
},
{
"__id__": 97
},
{
"__id__": 99
},
{
"__id__": 124
},
{
"__id__": 147
},
{
"__id__": 154
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 200, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -4783,8 +4725,8 @@ ...@@ -4783,8 +4725,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 166, "width": 640,
"height": 61 "height": 1180
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4795,8 +4737,8 @@ ...@@ -4795,8 +4737,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-176, 0,
461, 0,
0, 0,
0, 0,
0, 0,
...@@ -4818,15 +4760,3666 @@ ...@@ -4818,15 +4760,3666 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "fcnbUaI0hJDZvvMnqx6Tpi" "_id": "ecfoWwEQROuK2RI8I3ixIv"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "CoinBar",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 90
},
"_children": [
{
"__id__": 92 "__id__": 92
}, },
{
"__id__": 94
}
],
"_active": true,
"_components": [
{
"__id__": 96
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 73
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
179.104,
387.034,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "bc/nWVcOhEEqkrbCBMMahn"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-84.428,
-1.931,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "eeSw5FX1BJR4y3g7MJy06y"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "720e0100-c499-4026-be6d-7c5f0b9c4661"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "68sRRfsVxHqoDVHVjItNvg"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 233,
"g": 202,
"b": 37,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 25.69,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
30,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "842M051gNKaI3rkztso3b6"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0",
"_N$string": "0",
"_fontSize": 45,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "6f0d4d99-b207-4755-9233-a2544dc7a038"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "8c8brQ7e1BSouQZDkC8EDI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbb38f0b-46a8-4ddf-967b-41ce03e34ef3"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "57NeDew+VEqKNl8zcWav+C"
},
{
"__type__": "cc.Node",
"_name": "Title",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 430.03,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
279.491,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "74bgcEboFIg6yXohio2C/+"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Select Boost Items",
"_N$string": "Select Boost Items",
"_fontSize": 45,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "2b6115a2-5876-4aee-bb6f-e7b56ffdc7c4"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "18AID1G3JMGrlUohJ8Jlh4"
},
{
"__type__": "cc.Node",
"_name": "Item1",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [
{
"__id__": 100
},
{
"__id__": 104
},
{
"__id__": 107
},
{
"__id__": 115
},
{
"__id__": 121
}
],
"_active": true,
"_components": [
{
"__id__": 123
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 450,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
129.125,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3eDU5aPIZJO6cEbC0Ao0zn"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 99
},
"_children": [
{
"__id__": 101
}
],
"_active": true,
"_components": [
{
"__id__": 103
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 95,
"height": 95
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-140.833,
0.761,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3dPyu6cMxGurZCGpQ0eRyG"
},
{
"__type__": "cc.Node",
"_name": "X1",
"_objFlags": 0,
"_parent": {
"__id__": 100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48.63,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-41.49,
-43.546,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "91opBrfSlF5LRlllhC97cp"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "x1",
"_N$string": "x1",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "2b6115a2-5876-4aee-bb6f-e7b56ffdc7c4"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a5kdPmcjlP0a0XTLm3y7W/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "81ef1a32-d9e4-4392-a84f-4b05316292b1"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d9REEBdlhHlbinkwA6wq77"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 99
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 105
},
{
"__id__": 106
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 251.02,
"height": 60.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
60.115,
33.387,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "34dGwDqXtKhZvrY34LF0l2"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "At the start of the game,\nyou get the 512 block!",
"_N$string": "At the start of the game,\nyou get the 512 block!",
"_fontSize": 20,
"_lineHeight": 25,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "9bde507c-0766-4844-ae73-02962a0559d3"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "95HpO9XQpIzpataw3UbULv"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_width": 2,
"_id": "bahI0MZThA54z+W+2ioi2X"
},
{
"__type__": "cc.Node",
"_name": "BuyBtn",
"_objFlags": 0,
"_parent": {
"__id__": 99
},
"_children": [
{
"__id__": 108
},
{
"__id__": 110
}
],
"_active": true,
"_components": [
{
"__id__": 112
},
{
"__id__": 113
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 130,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-14.719,
-26.094,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a0uWvpQbpOH5KbQ0PPkFEN"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 107
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 109
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-31.491,
-1.121,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "76EBM00TNPoqqVlIceXC1K"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "720e0100-c499-4026-be6d-7c5f0b9c4661"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "53A90VBppK/rPHiG6xe3+U"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 107
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 228,
"g": 192,
"b": 80,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 46.1,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
19.846,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d6y1jWJJFCpa28Dh6Kck1n"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "100",
"_N$string": "100",
"_fontSize": 25,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "9bde507c-0766-4844-ae73-02962a0559d3"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "721GA1FnNMG6MJ6sdlHRBX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbb38f0b-46a8-4ddf-967b-41ce03e34ef3"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f6q7OWbsJGCpRww+syiQzv"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 0.8,
"clickEvents": [
{
"__id__": 114
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_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": "64EhUlHW5Ae7mlA23NG/eK"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 64
},
"component": "",
"_componentId": "88a0cSFKRpJK7RpoO4AdPHx",
"handler": "onClickBuy512Block",
"customEventData": ""
},
{
"__type__": "cc.Node",
"_name": "WatchAdsBtn",
"_objFlags": 0,
"_parent": {
"__id__": 99
},
"_children": [
{
"__id__": 116
},
{
"__id__": 118
}
],
"_active": true,
"_components": [
{
"__id__": 120
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 130,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
128.998,
-26.094,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "47EFWHQtVAhY9phTA/LgOu"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 117
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 41,
"height": 34
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
31.559,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97nxT2FthLyZ1kpN2ZdWeY"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b2c4cea-6c15-4f45-9296-76285a5e9ba7"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fa8oSUorNIAq9P1chSMf8Q"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 136,
"g": 157,
"b": 238,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54.38,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-22.284,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "838V2ZQJRI97L48Ecs8MFH"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "FREE",
"_N$string": "FREE",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "9bde507c-0766-4844-ae73-02962a0559d3"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "349vdtnKBPIpBOgia2GSZ8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbb38f0b-46a8-4ddf-967b-41ce03e34ef3"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d2KuPfLvBFd5Ng4/EI/ZI+"
},
{
"__type__": "cc.Node",
"_name": "Check",
"_objFlags": 0,
"_parent": {
"__id__": 99
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 122
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 69,
"height": 83
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
212.093,
49.842,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6c1Nzcxr9IVpNh9h1uexIP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4ae598e3-8c6d-4e74-a878-493c3fcdf030"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "42bAboVc9EOo4kkLp1PVc0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ca03b522-6c02-4453-81ec-15dc2ea4bfe9"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a5lFnwgv9Poa+AMZa38J/O"
},
{
"__type__": "cc.Node",
"_name": "Item2",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [
{
"__id__": 125
},
{
"__id__": 127
},
{
"__id__": 130
},
{
"__id__": 138
},
{
"__id__": 144
}
],
"_active": true,
"_components": [
{
"__id__": 146
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 450,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-40.036,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "801vLOnzFEkIuB3NnmFBzM"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 124
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-140.833,
0.761,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "03MkDxp+ROOY88aWyFxrII"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3e63b730-46cd-4cda-950c-45a8033248d1"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0fJOmBcydOW6SMZ2x3VL8o"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 124
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 128
},
{
"__id__": 129
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 256.88,
"height": 60.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
60.115,
33.387,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "759IUBe7BINrd0H27mMui8"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 127
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "You can preview the next\nupcoming block!",
"_N$string": "You can preview the next\nupcoming block!",
"_fontSize": 20,
"_lineHeight": 25,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "9bde507c-0766-4844-ae73-02962a0559d3"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "2dG4wDMaJBQZWLrijaHViD"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 127
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_width": 2,
"_id": "1eSw8cMENKXKKhF7m/0vAX"
},
{
"__type__": "cc.Node",
"_name": "BuyBtn",
"_objFlags": 0,
"_parent": {
"__id__": 124
},
"_children": [
{
"__id__": 131
},
{
"__id__": 133
}
],
"_active": true,
"_components": [
{
"__id__": 135
},
{
"__id__": 136
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 130,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-14.719,
-26.094,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c7fZTlJMZOWI4XlAC1eq0i"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 132
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-31.491,
-1.121,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b1HWXln9ZJbYNX7lBtyETp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "720e0100-c499-4026-be6d-7c5f0b9c4661"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c54GF/hRtIMLSVOVdFy4SZ"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 228,
"g": 192,
"b": 80,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 46.1,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
19.846,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c3xX5fH3hNXbpRh78Woc1s"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "100",
"_N$string": "100",
"_fontSize": 25,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "9bde507c-0766-4844-ae73-02962a0559d3"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "323yhKe/VF4rC2M5ecxoTs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbb38f0b-46a8-4ddf-967b-41ce03e34ef3"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d91yeDlDhGe6ky+BspmRYg"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 0.8,
"clickEvents": [
{
"__id__": 137
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_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": "5bDcvaGDNJrojN524jZMyf"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 64
},
"component": "",
"_componentId": "88a0cSFKRpJK7RpoO4AdPHx",
"handler": "onClickBuyNextBlock",
"customEventData": ""
},
{
"__type__": "cc.Node",
"_name": "WatchAdsBtn",
"_objFlags": 0,
"_parent": {
"__id__": 124
},
"_children": [
{
"__id__": 139
},
{
"__id__": 141
}
],
"_active": true,
"_components": [
{
"__id__": 143
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 130,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
128.998,
-26.094,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f2vf75jllIqqx11sNLQafS"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 138
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 140
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 41,
"height": 34
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
31.559,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a7mb6EQuRM4LlpNk7wRsYk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b2c4cea-6c15-4f45-9296-76285a5e9ba7"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b0NmhH2gZFCYIvk9gRVWLk"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 138
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 142
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 136,
"g": 157,
"b": 238,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54.38,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-22.284,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9e+zn8VFE0ZAeoEEahX5Y"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "FREE",
"_N$string": "FREE",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "9bde507c-0766-4844-ae73-02962a0559d3"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d3I4ZncdNLQppxSIepzVdd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 138
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dbb38f0b-46a8-4ddf-967b-41ce03e34ef3"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "eedVhpMjFAn7DxDJEd2ADW"
},
{
"__type__": "cc.Node",
"_name": "Check",
"_objFlags": 0,
"_parent": {
"__id__": 124
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 145
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 69,
"height": 83
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
212.093,
49.58,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9aKr4Gz69PdoigD6idVmXi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 144
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4ae598e3-8c6d-4e74-a878-493c3fcdf030"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "40vMjyqzdLXpSGzRyng7VL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ca03b522-6c02-4453-81ec-15dc2ea4bfe9"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "04ab7BmRFARL61dZAW8I/Q"
},
{
"__type__": "cc.Node",
"_name": "StartBtn",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [
{
"__id__": 148
}
],
"_active": true,
"_components": [
{
"__id__": 151
},
{
"__id__": 152
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 130
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-342.185,
0,
0,
0,
0,
1,
1,
1,
0
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "60A7U2yu1CbbAhH1ItB13h"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 147
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 149
},
{
"__id__": 150
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 191.24,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ffTQRm1j1GRaExbNBxaFnW"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "LET'S GO",
"_N$string": "LET'S GO",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "89306fe6-7b03-4ec8-a19a-68caafdc5504"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a57QGwMsVDtZhXDSWiq2il"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_width": 2,
"_id": "89eaY0nk5MUYP9X2mN9Fw8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7da626ca-3b1e-4896-953d-d4e4e44f19ea"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "bbcy2CNfZAj7f8YRTOeWDL"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 0.8,
"clickEvents": [
{
"__id__": 153
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 3,
"transition": 3,
"_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": "cfDNTHOqBJDJJhG91U5J6g"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 64
},
"component": "",
"_componentId": "88a0cSFKRpJK7RpoO4AdPHx",
"handler": "onClickStart",
"customEventData": ""
},
{
"__type__": "cc.Node",
"_name": "NotEnough",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [
{
"__id__": 155
}
],
"_active": true,
"_components": [
{
"__id__": 157
},
{
"__id__": 158
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-679.79,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "2eAI5YeeRJFJuw7XEBMmlH"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 154
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 156
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 341.35,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "70/oQyyedHt5CYHHoBxePR"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Not Enough Coin",
"_N$string": "Not Enough Coin",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "2b6115a2-5876-4aee-bb6f-e7b56ffdc7c4"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "c3NTRVkiREDK2qW4supXJ0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "34b7aaaa-54e0-499a-9fdf-18977ff89de6"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "09yxPSaSxL15DszWDG8ugJ"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "3b2264fe-97b8-4d90-8f9d-55c821678b65"
},
"_clips": [
{
"__uuid__": "3b2264fe-97b8-4d90-8f9d-55c821678b65"
}
],
"playOnLoad": false,
"_id": "97cFvO5dVJpb9Rim/FE0DJ"
},
{
"__type__": "cc.Node",
"_name": "Shadow",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
}
],
"_prefab": null,
"_opacity": 200,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 1180
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d4ksVnZmZNs5vpHH+4FCWU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6fpvVhsIFB14Rp/AQZvuw9"
},
{
"__type__": "cc.Node",
"_name": "DestroyBlockPopUp",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 162
},
{
"__id__": 164
}
],
"_active": true,
"_components": [
{
"__id__": 166
},
{
"__id__": 167
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
690,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "37Sz1jV2BKGonL9oKPRcTp"
},
{
"__type__": "cc.Node",
"_name": "Icon",
"_objFlags": 0,
"_parent": {
"__id__": 161
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 163
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 104
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-182,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4bLEEeAw5GBIupzdxu02RW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 162
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c8bfcc19-3ef5-473d-87ae-815666e2a409"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "30wbIohpVCHYXtf0KHdokC"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 161
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 165
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 336.6,
"height": 90.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
76.328,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c155DwqG5JT6S+gKQFMaFo"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 164
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Select a color to eliminate\nall blocks of that color",
"_N$string": "Select a color to eliminate\nall blocks of that color",
"_fontSize": 25,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "2b6115a2-5876-4aee-bb6f-e7b56ffdc7c4"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "e5c/NfEypOeqZg1Cag2wUf"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1323014d-b880-46be-b7e4-60a434777c03"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "be2QTFJmhIsp3VNJYOpuVz"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "498f3067-72ca-41ad-abec-bf9bfb770af9"
},
"_clips": [
{
"__uuid__": "498f3067-72ca-41ad-abec-bf9bfb770af9"
},
{
"__uuid__": "7b4591ef-2c81-4f85-bb92-09bff861b0b2"
}
],
"playOnLoad": false,
"_id": "1dVdGT0kJNtaWtbediAojy"
},
{
"__type__": "cc.Node",
"_name": "HighestBar",
"_objFlags": 0,
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 169
}
],
"_prefab": null,
"_opacity": 200,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 166,
"height": 61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-176,
461,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "fcnbUaI0hJDZvvMnqx6Tpi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 168
},
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
{ {
...@@ -4863,7 +8456,7 @@ ...@@ -4863,7 +8456,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 171
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4919,7 +8512,7 @@ ...@@ -4919,7 +8512,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 94 "__id__": 170
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4957,7 +8550,7 @@ ...@@ -4957,7 +8550,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 97 "__id__": 173
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5013,7 +8606,7 @@ ...@@ -5013,7 +8606,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 96 "__id__": 172
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5054,7 +8647,7 @@ ...@@ -5054,7 +8647,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 175
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5110,7 +8703,7 @@ ...@@ -5110,7 +8703,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 98 "__id__": 174
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5137,6 +8730,103 @@ ...@@ -5137,6 +8730,103 @@
"_atlas": null, "_atlas": null,
"_id": "38QCYPcGRAPKPS7Wr6kE8W" "_id": "38QCYPcGRAPKPS7Wr6kE8W"
}, },
{
"__type__": "cc.Node",
"_name": "NextLabel",
"_objFlags": 0,
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 177
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 131,
"g": 135,
"b": 221,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 65.48,
"height": 31.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
15.953,
444.965,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "36K54TigtI47PVLrZGWnWA"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "NEXT",
"_N$string": "NEXT",
"_fontSize": 25,
"_lineHeight": 0,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "6f0d4d99-b207-4755-9233-a2544dc7a038"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "7cyETRx+VH1I9L90q1TNHx"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "NextBlock", "_name": "NextBlock",
...@@ -5146,13 +8836,13 @@ ...@@ -5146,13 +8836,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 101 "__id__": 179
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 103 "__id__": 181
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5208,13 +8898,13 @@ ...@@ -5208,13 +8898,13 @@
"_name": "Icon", "_name": "Icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 100 "__id__": 178
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 180
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5270,7 +8960,7 @@ ...@@ -5270,7 +8960,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 101 "__id__": 179
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5302,7 +8992,7 @@ ...@@ -5302,7 +8992,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 100 "__id__": 178
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5338,19 +9028,19 @@ ...@@ -5338,19 +9028,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 105 "__id__": 183
}, },
{ {
"__id__": 107 "__id__": 185
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 109 "__id__": 187
}, },
{ {
"__id__": 110 "__id__": 188
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5406,13 +9096,13 @@ ...@@ -5406,13 +9096,13 @@
"_name": "Icon", "_name": "Icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 182
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 184
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5468,7 +9158,7 @@ ...@@ -5468,7 +9158,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 105 "__id__": 183
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5500,13 +9190,13 @@ ...@@ -5500,13 +9190,13 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 182
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 186
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5562,7 +9252,7 @@ ...@@ -5562,7 +9252,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 185
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5597,7 +9287,7 @@ ...@@ -5597,7 +9287,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 104 "__id__": 182
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5629,14 +9319,18 @@ ...@@ -5629,14 +9319,18 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 104 "__id__": 182
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
"_grayMaterial": null, "_grayMaterial": null,
"duration": 0.1, "duration": 0.1,
"zoomScale": 0.8, "zoomScale": 0.8,
"clickEvents": [], "clickEvents": [
{
"__id__": 189
}
],
"_N$interactable": true, "_N$interactable": true,
"_N$enableAutoGrayEffect": false, "_N$enableAutoGrayEffect": false,
"_N$transition": 3, "_N$transition": 3,
...@@ -5692,6 +9386,16 @@ ...@@ -5692,6 +9386,16 @@
"_N$target": null, "_N$target": null,
"_id": "c5mBk87JZJn7Xcn1SpLgkx" "_id": "c5mBk87JZJn7Xcn1SpLgkx"
}, },
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 64
},
"component": "",
"_componentId": "88a0cSFKRpJK7RpoO4AdPHx",
"handler": "onClickDestroyBlock",
"customEventData": ""
},
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
"_name": "", "_name": "",
...@@ -5738,7 +9442,7 @@ ...@@ -5738,7 +9442,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 113 "__id__": 192
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5794,7 +9498,7 @@ ...@@ -5794,7 +9498,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 191
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5832,7 +9536,7 @@ ...@@ -5832,7 +9536,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 115 "__id__": 194
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5888,7 +9592,7 @@ ...@@ -5888,7 +9592,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 114 "__id__": 193
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
......
import BlockData from "../Data/BlockData";
import LocalStorage from "../Data/LocalStorage"; import LocalStorage from "../Data/LocalStorage";
import GameController from "./GameController"; import GameController from "./GameController";
...@@ -5,39 +6,45 @@ const { ccclass, property } = cc._decorator; ...@@ -5,39 +6,45 @@ const { ccclass, property } = cc._decorator;
@ccclass @ccclass
export default class ButtonsController extends cc.Component { export default class ButtonsController extends cc.Component {
@property(cc.Button) pauseBtn: cc.Button = null;
@property(cc.Node) shadow: cc.Node = null;
@property(cc.Node) pauseScreen: cc.Node = null; @property(cc.Node) pauseScreen: cc.Node = null;
@property(cc.Node) startScreen: cc.Node = null;
@property(cc.Node) shadow: cc.Node = null;
@property(cc.SpriteFrame) soundOffSpf: cc.SpriteFrame = null; @property(cc.SpriteFrame) soundOffSpf: cc.SpriteFrame = null;
@property(cc.SpriteFrame) soundOnSpf: cc.SpriteFrame = null; @property(cc.SpriteFrame) soundOnSpf: cc.SpriteFrame = null;
@property(cc.Node) soundBtn: cc.Node = null; @property(cc.Node) soundBtn: cc.Node = null;
@property(cc.Node) popup: cc.Node = null;
@property(cc.Node) destroyBlockPopUp: cc.Node = null;
soundMode: boolean = true; currentSoundSpf: cc.SpriteFrame;
currentSoundSpf: cc.SpriteFrame = null;
protected onLoad(): void { protected onLoad(): void {
this.currentSoundSpf = this.soundBtn
.getChildByName("Icon")
.getComponent(cc.Sprite).spriteFrame;
if (LocalStorage.getMusic()) { if (LocalStorage.getMusic()) {
this.currentSoundSpf = this.soundOnSpf; this.currentSoundSpf = this.soundOnSpf;
this.soundMode = true;
} else { } else {
this.currentSoundSpf = this.soundOffSpf; this.currentSoundSpf = this.soundOffSpf;
this.soundMode = false; cc.audioEngine.setMusicVolume(0);
cc.audioEngine.setEffectsVolume(0);
} }
this.updateSoundBtnSpf();
}
onClickStart() {
GameController.instance.isGameStart = true;
this.startScreen.active = false;
this.shadow.active = false;
GameController.instance.node.emit("startGame");
} }
onClickPause() { onClickPause() {
if (!GameController.instance.isGameStart) return;
if (GameController.instance.isGamePaused) { if (GameController.instance.isGamePaused) {
GameController.instance.isGamePaused = false; GameController.instance.isGamePaused = false;
this.shadow.active = false;
this.pauseScreen.active = false; this.pauseScreen.active = false;
this.shadow.active = false;
} else { } else {
GameController.instance.isGamePaused = true; GameController.instance.isGamePaused = true;
this.shadow.active = true;
this.pauseScreen.active = true; this.pauseScreen.active = true;
this.shadow.active = true;
} }
} }
...@@ -46,16 +53,110 @@ export default class ButtonsController extends cc.Component { ...@@ -46,16 +53,110 @@ export default class ButtonsController extends cc.Component {
} }
onClickSound() { onClickSound() {
console.log(this.currentSoundSpf); if (this.currentSoundSpf === this.soundOnSpf) {
if (this.soundMode) {
this.currentSoundSpf = this.soundOffSpf; this.currentSoundSpf = this.soundOffSpf;
LocalStorage.setMusic(false); LocalStorage.setMusic(false);
this.soundMode = false;
} else { } else {
this.currentSoundSpf = this.soundOnSpf; this.currentSoundSpf = this.soundOnSpf;
LocalStorage.setMusic(true); LocalStorage.setMusic(true);
this.soundMode = true;
} }
this.updateSoundBtnSpf();
}
updateSoundBtnSpf() {
const sprite = this.soundBtn.getChildByName("Icon").getComponent(cc.Sprite);
sprite.spriteFrame = this.currentSoundSpf;
}
onClickBuy512Block() {
if (LocalStorage.getAllCoin() < 100) {
return this.popup.getComponent(cc.Animation).play("PopUp");
}
const item = this.startScreen.getChildByName("Item1");
item.getChildByName("Check").active = true;
item.getChildByName("BuyBtn").active = false;
item.getChildByName("WatchAdsBtn").active = false;
item.getChildByName("Label").y = 0;
LocalStorage.setAllCoin(LocalStorage.getAllCoin() - 100);
this.startScreen
.getChildByName("CoinBar")
.getChildByName("Label")
.getComponent(cc.Label).string = LocalStorage.getAllCoin().toString();
GameController.instance.isGet512Block = true;
}
onClickBuyNextBlock() {
if (LocalStorage.getAllCoin() < 100) {
return this.popup.getComponent(cc.Animation).play("PopUp");
}
const item = this.startScreen.getChildByName("Item2");
item.getChildByName("Check").active = true;
item.getChildByName("BuyBtn").active = false;
item.getChildByName("WatchAdsBtn").active = false;
item.getChildByName("Label").y = 0;
LocalStorage.setAllCoin(LocalStorage.getAllCoin() - 100);
this.startScreen
.getChildByName("CoinBar")
.getChildByName("Label")
.getComponent(cc.Label).string = LocalStorage.getAllCoin().toString();
GameController.instance.isPreviewNextBlock = true;
}
onClickDestroyBlock() {
const data = BlockData.instance.blockData;
let hasNonZeroValue = false;
for (let i = 0; i < data.length; i++) {
for (let j = 0; j < data[i].length; j++) {
if (data[i][j] !== 0) {
hasNonZeroValue = true;
break;
}
}
if (hasNonZeroValue) {
break;
}
}
if (!hasNonZeroValue) return;
GameController.instance.isGamePaused = true;
this.regEvents();
this.destroyBlockPopUp.getComponent(cc.Animation).play("PopDown");
}
regEvents() {
let childrens = GameController.instance.board.children;
childrens.forEach((child) => {
if (child.children.length > 0) {
child.on(cc.Node.EventType.TOUCH_START, this.onTouchDown, this);
}
});
}
onTouchDown(event: cc.Event.EventTouch) {
const data = BlockData.instance.blockData;
const childrens = GameController.instance.board.children;
const cell = event.currentTarget;
const cellIndex = cell.parent.children.indexOf(cell);
const row = Math.floor(cellIndex / 5);
const col = cellIndex % 5;
const value = BlockData.instance.getBlockValue(row, col);
for (let i = 0; i < data.length; i++) {
for (let j = 0; j < data[i].length; j++) {
if (data[i][j] == value) {
let cell = childrens[i * 5 + j];
BlockData.instance.setBlockValue(i, j, 0);
cell.children[0].destroy();
}
}
}
GameController.instance.checkEmptyCell();
this.destroyBlockPopUp.getComponent(cc.Animation).play("PullUp");
GameController.instance.isGamePaused = false;
} }
} }
import BlockData from "../Data/BlockData"; import BlockData from "../Data/BlockData";
import LocalStorage from "../Data/LocalStorage";
import Score from "../Data/Score"; import Score from "../Data/Score";
import Block from "../Objects/Block"; import Block from "../Objects/Block";
import Utils from "../Tools/Utils"; import Utils from "../Tools/Utils";
...@@ -12,6 +13,8 @@ export default class GameController extends cc.Component { ...@@ -12,6 +13,8 @@ export default class GameController extends cc.Component {
@property(cc.Node) spawnBar: cc.Node = null; @property(cc.Node) spawnBar: cc.Node = null;
@property(BlockData) blocksData: BlockData = null; @property(BlockData) blocksData: BlockData = null;
@property(Score) scoreLbl: Score = null; @property(Score) scoreLbl: Score = null;
@property(cc.Label) coinLbl: cc.Label = null;
@property(cc.Node) nextBlockSpf: cc.Node = null;
static instance: GameController; static instance: GameController;
...@@ -29,12 +32,25 @@ export default class GameController extends cc.Component { ...@@ -29,12 +32,25 @@ export default class GameController extends cc.Component {
cacheBlockToMerge = []; cacheBlockToMerge = [];
isGamePaused: boolean = false; isGamePaused: boolean = false;
isGameStart: boolean = false;
isGet512Block: boolean = false;
isPreviewNextBlock: boolean = false;
nextBlock: number = 0;
protected onLoad(): void { protected onLoad(): void {
GameController.instance = this; GameController.instance = this;
this.coinLbl.string = LocalStorage.getAllCoin().toString();
this.node.on("startGame", () => {
if (this.isGameStart) {
if (this.isGet512Block) {
this.spawnBlock(8);
} else {
this.spawnBlock(this.blocksData.generateNumber()); this.spawnBlock(this.blocksData.generateNumber());
} }
}
});
}
regEvents() { regEvents() {
let childrens = this.board.children; let childrens = this.board.children;
...@@ -58,9 +74,18 @@ export default class GameController extends cc.Component { ...@@ -58,9 +74,18 @@ export default class GameController extends cc.Component {
spawnBlock(index: number) { spawnBlock(index: number) {
if (this.blocksData.blockData.length > 0) { if (this.blocksData.blockData.length > 0) {
const hasNonZero = this.blocksData.blockData[0].some((e) => e !== 0); const isFull = this.blocksData.blockData[0].some((e) => e !== 0);
if (hasNonZero) return; if (isFull) return;
}
if (this.isPreviewNextBlock) {
this.nextBlock = this.blocksData.generateNumber();
this.nextBlockSpf.getComponent(cc.Sprite).spriteFrame =
this.blockPrefab.data.getComponent(Block).listSpriteBlocks[
this.nextBlock
];
} }
this.currentBlock = cc.instantiate(this.blockPrefab); this.currentBlock = cc.instantiate(this.blockPrefab);
this.currentBlock.parent = this.spawnBar.children[this.spawnColumn]; this.currentBlock.parent = this.spawnBar.children[this.spawnColumn];
this.currentBlock.getComponent(Block).setSpriteBlock(index); this.currentBlock.getComponent(Block).setSpriteBlock(index);
...@@ -71,7 +96,7 @@ export default class GameController extends cc.Component { ...@@ -71,7 +96,7 @@ export default class GameController extends cc.Component {
} }
onTouchDown(event: cc.Event.EventTouch) { onTouchDown(event: cc.Event.EventTouch) {
if (this.isGamePaused) return; if (this.isGamePaused || !this.isGameStart) return;
let touchTarget = event.currentTarget; let touchTarget = event.currentTarget;
this.dropPosX = touchTarget.x; this.dropPosX = touchTarget.x;
...@@ -88,7 +113,12 @@ export default class GameController extends cc.Component { ...@@ -88,7 +113,12 @@ export default class GameController extends cc.Component {
} }
onTouchMove(event: cc.Event.EventTouch) { onTouchMove(event: cc.Event.EventTouch) {
if (this.currentBlock == null || !this.isHolding || this.isGamePaused) { if (
this.currentBlock == null ||
!this.isHolding ||
this.isGamePaused ||
!this.isGameStart
) {
return; return;
} }
...@@ -108,7 +138,13 @@ export default class GameController extends cc.Component { ...@@ -108,7 +138,13 @@ export default class GameController extends cc.Component {
} }
onTouchEnd(event: cc.Event.EventTouch) { onTouchEnd(event: cc.Event.EventTouch) {
if (!this.currentBlock || !this.isHolding || this.isGamePaused) return; if (
!this.currentBlock ||
!this.isHolding ||
this.isGamePaused ||
!this.isGameStart
)
return;
this.dropColumn = Math.floor(this.dropPosX / BlockData.BLOCK_SIZE) + 2; this.dropColumn = Math.floor(this.dropPosX / BlockData.BLOCK_SIZE) + 2;
this.spawnColumn = this.dropColumn; this.spawnColumn = this.dropColumn;
...@@ -207,9 +243,14 @@ export default class GameController extends cc.Component { ...@@ -207,9 +243,14 @@ export default class GameController extends cc.Component {
this.currentBlock.getComponent(Block).isPlace = true; this.currentBlock.getComponent(Block).isPlace = true;
this.touched = false; this.touched = false;
this.currentBlock = null; this.currentBlock = null;
if (this.isPreviewNextBlock) {
this.spawnBlock(this.nextBlock);
} else {
this.spawnBlock(this.blocksData.generateNumber()); this.spawnBlock(this.blocksData.generateNumber());
} }
} }
}
checkAdjancentBlocks(row: number, col: number) { checkAdjancentBlocks(row: number, col: number) {
let mergedNumber = this.currentBlock.getComponent(Block).value; let mergedNumber = this.currentBlock.getComponent(Block).value;
......
...@@ -27,4 +27,16 @@ export default class LocalStorage extends cc.Component { ...@@ -27,4 +27,16 @@ export default class LocalStorage extends cc.Component {
} else } else
return JSON.parse(cc.sys.localStorage.getItem("DropAndMergeTheNumber - Music")); return JSON.parse(cc.sys.localStorage.getItem("DropAndMergeTheNumber - Music"));
} }
public static setAllCoin(value: number) {
cc.sys.localStorage.setItem("DropAndMergeTheNumber - AllCoin", value);
}
public static getAllCoin(): number {
if (cc.sys.localStorage.getItem("DropAndMergeTheNumber - AllCoin") == null) {
cc.sys.localStorage.setItem("DropAndMergeTheNumber - AllCoin", 0);
return 0;
} else
return JSON.parse(cc.sys.localStorage.getItem("DropAndMergeTheNumber - AllCoin"));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment