Commit 8e3ebdb4 authored by 章红平's avatar 章红平

提交

parent 59a6c521
{
"ver": "1.1.2",
"uuid": "ee181d6e-8581-49f5-8c02-306e27aacc00",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "12968a49-4824-4ebb-afae-2bc3f19d6ad6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"1-游戏介绍,点击start开始": {
"ver": "1.0.4",
"uuid": "7de5df05-cf29-4f0a-b809-6e9d0358559d",
"rawTextureUuid": "12968a49-4824-4ebb-afae-2bc3f19d6ad6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ae84e419-4862-472a-899e-5912cce1c9d5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"10-全部完成出现能量石提示,点击按钮重新开始": {
"ver": "1.0.4",
"uuid": "eb7f4ca2-8d3f-49f7-b589-769740b7da4f",
"rawTextureUuid": "ae84e419-4862-472a-899e-5912cce1c9d5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "081d53ed-e5e4-4fd1-9dd2-ea7bc8e87ddc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"11-5对布局": {
"ver": "1.0.4",
"uuid": "2eef3fb1-8fc7-4e7f-99fd-ed004adc1277",
"rawTextureUuid": "081d53ed-e5e4-4fd1-9dd2-ea7bc8e87ddc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3c3c90f2-6dbe-49e2-8494-2084489b7445",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"12-3对布局": {
"ver": "1.0.4",
"uuid": "822a276f-831b-4d6f-ac07-9280edce91f3",
"rawTextureUuid": "3c3c90f2-6dbe-49e2-8494-2084489b7445",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "322ad715-5e7a-459b-ae4e-c7f0b90eccb7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"13-2对布局": {
"ver": "1.0.4",
"uuid": "75493d3a-71fa-40cd-9bf6-f243fa382515",
"rawTextureUuid": "322ad715-5e7a-459b-ae4e-c7f0b90eccb7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cc703ffa-e88c-4aed-8ee8-a4cc3c9f3277",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"2-显示卡牌内容": {
"ver": "1.0.4",
"uuid": "b61a1d45-12ce-47b2-ba9e-5fab8823a4d2",
"rawTextureUuid": "cc703ffa-e88c-4aed-8ee8-a4cc3c9f3277",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "96004bc5-8bca-4aa9-a9f5-a047d6ddfc5c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"3-倒数3秒时出现数字提示": {
"ver": "1.0.4",
"uuid": "4a6a2d56-47c0-476d-a630-7eadce3a3847",
"rawTextureUuid": "96004bc5-8bca-4aa9-a9f5-a047d6ddfc5c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "137a116a-5b9a-4573-9be6-725b18ff0862",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"4-倒计时结束卡牌翻到背面,同时右上角开始倒计时": {
"ver": "1.0.4",
"uuid": "bda0137f-a4ec-4d8d-b1ff-df2e1acf95d6",
"rawTextureUuid": "137a116a-5b9a-4573-9be6-725b18ff0862",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f4854aeb-f5b5-45cd-9095-30e642d42416",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"5-点击任意一张牌,牌翻过来同时发音": {
"ver": "1.0.4",
"uuid": "6bd540a7-428d-474b-b795-a698ec23b12a",
"rawTextureUuid": "f4854aeb-f5b5-45cd-9095-30e642d42416",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9dfc2591-7f18-42f0-9efe-7fc95b7e0c13",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"6-配对正确,出现正确动效,两张牌消失": {
"ver": "1.0.4",
"uuid": "a621490c-1e14-4026-b1a4-640ab33caf1e",
"rawTextureUuid": "9dfc2591-7f18-42f0-9efe-7fc95b7e0c13",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "31b4e467-5f92-4b6c-a562-6babf0c7b3e7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"7-配对错误,两张牌同时翻过去": {
"ver": "1.0.4",
"uuid": "cbcbb609-a256-418e-a213-216a48be67ea",
"rawTextureUuid": "31b4e467-5f92-4b6c-a562-6babf0c7b3e7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a82523d4-55d0-4cb9-a0d1-7cea7451bba7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"8-倒计时还剩5秒时数字变红": {
"ver": "1.0.4",
"uuid": "701ae933-52da-470b-8711-ea44a1e2e0ec",
"rawTextureUuid": "a82523d4-55d0-4cb9-a0d1-7cea7451bba7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "02124b4d-ee32-447c-bdb4-b3aefef49820",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"9-倒计时结束直接弹出restart按钮,点击重新开始": {
"ver": "1.0.4",
"uuid": "418bb067-0898-47a7-a13e-590ec789636e",
"rawTextureUuid": "02124b4d-ee32-447c-bdb4-b3aefef49820",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "bd8f6c26-792b-4d76-b644-86d9748229c2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1873,
"height": 3349,
"platformSettings": {},
"subMetas": {
"全部": {
"ver": "1.0.4",
"uuid": "a5884135-b06c-4737-8c02-dc2e23c180ff",
"rawTextureUuid": "bd8f6c26-792b-4d76-b644-86d9748229c2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1873,
"height": 3349,
"rawWidth": 1873,
"rawHeight": 3349,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -78,25 +78,19 @@ ...@@ -78,25 +78,19 @@
"__id__": 9 "__id__": 9
}, },
{ {
"__id__": 100 "__id__": 115
},
{
"__id__": 122
},
{
"__id__": 124
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 126 "__id__": 139
}, },
{ {
"__id__": 127 "__id__": 140
}, },
{ {
"__id__": 128 "__id__": 141
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -456,12 +450,15 @@ ...@@ -456,12 +450,15 @@
}, },
{ {
"__id__": 87 "__id__": 87
},
{
"__id__": 100
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 114
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3632,16 +3629,16 @@ ...@@ -3632,16 +3629,16 @@
"__id__": 88 "__id__": 88
}, },
{ {
"__id__": 90 "__id__": 91
}, },
{ {
"__id__": 94 "__id__": 95
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 98 "__id__": 99
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3704,6 +3701,9 @@ ...@@ -3704,6 +3701,9 @@
"_components": [ "_components": [
{ {
"__id__": 89 "__id__": 89
},
{
"__id__": 90
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3717,8 +3717,8 @@ ...@@ -3717,8 +3717,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 3000, "width": 5000,
"height": 3000 "height": 5000
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -3786,6 +3786,16 @@ ...@@ -3786,6 +3786,16 @@
"_atlas": null, "_atlas": null,
"_id": "e3Yed2G8tG4rTUdRGr4MSH" "_id": "e3Yed2G8tG4rTUdRGr4MSH"
}, },
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_id": "dbATiTrMtJfJI7qTlsBhf7"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_tip", "_name": "bg_tip",
...@@ -3795,13 +3805,13 @@ ...@@ -3795,13 +3805,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 91 "__id__": 92
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 93 "__id__": 94
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3857,22 +3867,22 @@ ...@@ -3857,22 +3867,22 @@
"_name": "New Label", "_name": "New Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 91
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 92 "__id__": 93
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 246, "r": 252,
"g": 199, "g": 251,
"b": 166, "b": 228,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
...@@ -3919,7 +3929,7 @@ ...@@ -3919,7 +3929,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 92
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3954,7 +3964,7 @@ ...@@ -3954,7 +3964,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 91
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3992,10 +4002,10 @@ ...@@ -3992,10 +4002,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 96
}, },
{ {
"__id__": 96 "__id__": 97
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4051,7 +4061,7 @@ ...@@ -4051,7 +4061,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 94 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4083,7 +4093,7 @@ ...@@ -4083,7 +4093,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 94 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4092,7 +4102,7 @@ ...@@ -4092,7 +4102,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 97 "__id__": 98
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4187,32 +4197,12 @@ ...@@ -4187,32 +4197,12 @@
"_originalHeight": 370, "_originalHeight": 370,
"_id": "f0zHqN8m9O1b7HYVbbjr+i" "_id": "f0zHqN8m9O1b7HYVbbjr+i"
}, },
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "ceIoYgIt1CS75pul1hR8iG"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "res", "_name": "over",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 9
}, },
"_children": [ "_children": [
{ {
...@@ -4222,7 +4212,7 @@ ...@@ -4222,7 +4212,7 @@
"__id__": 104 "__id__": 104
}, },
{ {
"__id__": 111 "__id__": 109
} }
], ],
"_active": false, "_active": false,
...@@ -4273,35 +4263,38 @@ ...@@ -4273,35 +4263,38 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0aAzbH6R1E+6AmGRrkKa5O" "_id": "6eFVqisFFKJrgRYgW95WBd"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "font", "_name": "bg",
"_objFlags": 0, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 100 "__id__": 100
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 102 "__id__": 102
},
{
"__id__": 103
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 160,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 5000,
"height": 0 "height": 5000
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4335,104 +4328,53 @@ ...@@ -4335,104 +4328,53 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "9bLfcYeeNKrr524vzWchiM" "_id": "4cTSdgqINBhZFU4TvgqQPT"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Sprite",
"_name": "BRLNSDB", "_name": "",
"_objFlags": 512, "_objFlags": 0,
"_parent": { "node": {
"__id__": 101 "__id__": 101
}, },
"_children": [], "_enabled": true,
"_active": true, "_materials": [
"_components": [
{ {
"__id__": 103 "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
} }
], ],
"_prefab": null, "_srcBlendFactor": 770,
"_opacity": 255, "_dstBlendFactor": 771,
"_color": { "_spriteFrame": {
"__type__": "cc.Color", "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
}, },
"_anchorPoint": { "_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2", "__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, "x": 0,
"y": 0, "y": 0
"z": 0
}, },
"_skewX": 0, "_fillStart": 0,
"_skewY": 0, "_fillRange": 0,
"_is3DNode": false, "_isTrimmedMode": true,
"_groupIndex": 0, "_atlas": null,
"groupIndex": 0, "_id": "3foq58EgBNDKHzqNqFHxMw"
"_id": "cfMLGsq0BMhJARv+ySMAxS"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.BlockInputEvents",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 102 "__id__": 101
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_id": "15/ewr6k9J4oXRIG0miG27"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "04f7d634-c478-4c0d-9507-e1c26f55af97"
},
"_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": "9bNHNPu5lC7rQYyr8ai/sY"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "img", "_name": "suc",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 100 "__id__": 100
...@@ -4440,12 +4382,6 @@ ...@@ -4440,12 +4382,6 @@
"_children": [ "_children": [
{ {
"__id__": 105 "__id__": 105
},
{
"__id__": 107
},
{
"__id__": 109
} }
], ],
"_active": true, "_active": true,
...@@ -4496,11 +4432,11 @@ ...@@ -4496,11 +4432,11 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs" "_id": "8fI/5ygRpBF74yff88Zqwy"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "1", "_name": "btn_restart",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 104
...@@ -4510,6 +4446,9 @@ ...@@ -4510,6 +4446,9 @@
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 106
},
{
"__id__": 107
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4523,8 +4462,8 @@ ...@@ -4523,8 +4462,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 89, "width": 337,
"height": 159 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -4536,7 +4475,7 @@ ...@@ -4536,7 +4475,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
0, -255.335,
0, 0,
0, 0,
0, 0,
...@@ -4558,7 +4497,7 @@ ...@@ -4558,7 +4497,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5em6Lr5ehGsrPw2bxLOB3K" "_id": "84EUO+vgNJdY2dfC8K0JHN"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -4568,11 +4507,15 @@ ...@@ -4568,11 +4507,15 @@
"__id__": 105 "__id__": 105
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "8ad3fee6-f556-4daa-9496-a221702317e5" "__uuid__": "a3970e03-1759-4fea-b065-177b105dc010"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -4586,32 +4529,756 @@ ...@@ -4586,32 +4529,756 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "dcu6pSoU5GsqTibS+B2w8q" "_id": "1ahqEH4rdPz4GhUBuSjoQn"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Button",
"_name": "2", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 104 "__id__": 105
}, },
"_children": [], "_enabled": true,
"_active": true, "_normalMaterial": null,
"_components": [ "_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{ {
"__id__": 108 "__id__": 108
} }
], ],
"_prefab": null, "_N$interactable": true,
"_opacity": 255, "_N$enableAutoGrayEffect": false,
"_color": { "_N$transition": 3,
"transition": 3,
"_N$normalColor": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_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": "78ZABRNn5O2pMI5kvFhXTh"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "22df0m9x2xGZIH8Xt3tl8vY",
"handler": "onClickRestart",
"customEventData": ""
},
{
"__type__": "cc.Node",
"_name": "fail",
"_objFlags": 0,
"_parent": {
"__id__": 100
},
"_children": [
{
"__id__": 110
}
],
"_active": true,
"_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.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": "0aeL7VKUlPjJHxRZ0lh4BF"
},
{
"__type__": "cc.Node",
"_name": "btn_restart",
"_objFlags": 0,
"_parent": {
"__id__": 109
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
},
{
"__id__": 112
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 337,
"height": 100
},
"_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": "30q1g+QF1PsY9SvzPotiSt"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3970e03-1759-4fea-b065-177b105dc010"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "63kz6RjGJCrKn2il62BVOG"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 113
}
],
"_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": "ff8VPqLqVIgKrPBukzZanb"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "22df0m9x2xGZIH8Xt3tl8vY",
"handler": "onClickRestart",
"customEventData": ""
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "ceIoYgIt1CS75pul1hR8iG"
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 116
},
{
"__id__": 119
},
{
"__id__": 126
}
],
"_active": false,
"_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.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": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Node",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [
{
"__id__": 117
}
],
"_active": true,
"_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.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": "9bLfcYeeNKrr524vzWchiM"
},
{
"__type__": "cc.Node",
"_name": "BRLNSDB",
"_objFlags": 512,
"_parent": {
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 118
}
],
"_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
},
"_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": "cfMLGsq0BMhJARv+ySMAxS"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "04f7d634-c478-4c0d-9507-e1c26f55af97"
},
"_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": "9bNHNPu5lC7rQYyr8ai/sY"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [
{
"__id__": 120
},
{
"__id__": 122
},
{
"__id__": 124
}
],
"_active": true,
"_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.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": "53LUHHG2pEr79fyrvazXJs"
},
{
"__type__": "cc.Node",
"_name": "1",
"_objFlags": 0,
"_parent": {
"__id__": 119
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 89,
"height": 159
},
"_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": "5em6Lr5ehGsrPw2bxLOB3K"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8ad3fee6-f556-4daa-9496-a221702317e5"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dcu6pSoU5GsqTibS+B2w8q"
},
{
"__type__": "cc.Node",
"_name": "2",
"_objFlags": 0,
"_parent": {
"__id__": 119
},
"_children": [],
"_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", "__type__": "cc.Size",
"width": 93, "width": 93,
"height": 160 "height": 160
...@@ -4655,7 +5322,7 @@ ...@@ -4655,7 +5322,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 122
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -4683,13 +5350,13 @@ ...@@ -4683,13 +5350,13 @@
"_name": "3", "_name": "3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 119
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 110 "__id__": 125
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4745,7 +5412,7 @@ ...@@ -4745,7 +5412,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 109 "__id__": 124
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -4773,23 +5440,26 @@ ...@@ -4773,23 +5440,26 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 100 "__id__": 115
}, },
"_children": [ "_children": [
{ {
"__id__": 112 "__id__": 127
}, },
{ {
"__id__": 114 "__id__": 129
}, },
{ {
"__id__": 116 "__id__": 131
}, },
{ {
"__id__": 118 "__id__": 133
}, },
{ {
"__id__": 120 "__id__": 135
},
{
"__id__": 137
} }
], ],
"_active": true, "_active": true,
...@@ -4847,13 +5517,13 @@ ...@@ -4847,13 +5517,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 113 "__id__": 128
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4909,7 +5579,7 @@ ...@@ -4909,7 +5579,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 127
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -4928,13 +5598,13 @@ ...@@ -4928,13 +5598,13 @@
"_name": "time2", "_name": "time2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 115 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4990,7 +5660,7 @@ ...@@ -4990,7 +5660,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 114 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5009,13 +5679,13 @@ ...@@ -5009,13 +5679,13 @@
"_name": "time1", "_name": "time1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 132
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5071,7 +5741,7 @@ ...@@ -5071,7 +5741,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5090,13 +5760,13 @@ ...@@ -5090,13 +5760,13 @@
"_name": "false", "_name": "false",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 119 "__id__": 134
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5152,7 +5822,7 @@ ...@@ -5152,7 +5822,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 118 "__id__": 133
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5171,13 +5841,13 @@ ...@@ -5171,13 +5841,13 @@
"_name": "true", "_name": "true",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 121 "__id__": 136
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5233,7 +5903,7 @@ ...@@ -5233,7 +5903,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 120 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5249,110 +5919,16 @@ ...@@ -5249,110 +5919,16 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "1-游戏介绍,点击start开始", "_name": "suc",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 123
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-417.886,
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": "371ekryW1FwKiXrapGNTNi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7de5df05-cf29-4f0a-b809-6e9d0358559d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "97/iB2961M1JrrQqo97iIL"
},
{
"__type__": "cc.Node",
"_name": "middleLayer",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 125 "__id__": 138
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5367,7 +5943,7 @@ ...@@ -5367,7 +5943,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 0,
"height": 50.4 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5401,40 +5977,26 @@ ...@@ -5401,40 +5977,26 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a59n4Am5NDHbPEPSmZgspE" "_id": "016ADKC7dGy7A3fTPhcUSe"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 124 "__id__": 137
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_clip": {
{ "__uuid__": "e5d1e29e-804e-4680-9dba-f03b1a2f4d12"
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" },
} "_volume": 1,
], "_mute": false,
"_srcBlendFactor": 770, "_loop": false,
"_dstBlendFactor": 771, "_firstlyEnabled": true,
"_string": "", "playOnLoad": false,
"_N$string": "", "preload": false,
"_fontSize": 40, "_id": "3bZgP/mnVEOpID7a974WYx"
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "acmavZ9yVIJp8DPDqxu3JE"
}, },
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
...@@ -5498,7 +6060,7 @@ ...@@ -5498,7 +6060,7 @@
"__id__": 22 "__id__": 22
}, },
"tipLabel": { "tipLabel": {
"__id__": 92 "__id__": 93
}, },
"tipN": { "tipN": {
"__id__": 87 "__id__": 87
...@@ -5506,6 +6068,9 @@ ...@@ -5506,6 +6068,9 @@
"countDown": { "countDown": {
"__id__": 85 "__id__": 85
}, },
"overN": {
"__id__": 100
},
"_id": "eaTVUpqahPfZeO9+sUI7RP" "_id": "eaTVUpqahPfZeO9+sUI7RP"
} }
] ]
\ No newline at end of file
...@@ -27,6 +27,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -27,6 +27,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
clickNodeData1 = null clickNodeData1 = null
canTouch = false canTouch = false
completeNum = 0; completeNum = 0;
@property(cc.Node)
overN:cc.Node
...@@ -68,9 +70,15 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -68,9 +70,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.tittleLabel.string = this.data.title; this.tittleLabel.string = this.data.title;
this.tipLabel.string = this.data.questionText; this.tipLabel.string = this.data.questionText;
this.initCards() this.initCards()
// this.initTime(); this.initTime();
}
initGameData(){
this.clickNode1 = null;
this.clickNodeData1 = null
this.canTouch = false
this.completeNum = 0;
} }
initBg() { initBg() {
const bgNode = cc.find('Canvas/bg'); const bgNode = cc.find('Canvas/bg');
...@@ -153,13 +161,20 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -153,13 +161,20 @@ export default class SceneComponent extends MyCocosSceneComponent {
// cc.find("Canvas/uiP/top/timeN").active=true; // cc.find("Canvas/uiP/top/timeN").active=true;
let timeN = cc.find("Canvas/uiP/top/timeN/bg_time"); let timeN = cc.find("Canvas/uiP/top/timeN/bg_time");
let timeN1 = cc.find("Canvas/uiP/top/timeN/bg_time2"); let timeN1 = cc.find("Canvas/uiP/top/timeN/bg_time2");
this.watchTime = this.data.questions[0].watchTime; this.watchTime = this.data.questions[this.questionIndex].watchTime;
this.gameTime = this.data.questions[0].gameTime; this.gameTime = this.data.questions[this.questionIndex].gameTime;
let numTime = this.watchTime; let numTime = this.watchTime;
if (this.gameState == "game") numTime = this.gameTime; if (this.gameState == "game") numTime = this.gameTime;
console.log("numTime=======",numTime)
timeN.getComponentInChildren(cc.Label).string = numTime; timeN.getComponentInChildren(cc.Label).string = numTime;
timeN.active = true; timeN1.getComponentInChildren(cc.Label).string = numTime;
timeN.active = false;
timeN1.active = false; timeN1.active = false;
if(numTime>5){
timeN.active = true;
}else{
timeN.active = false;
}
} }
updateTime() { updateTime() {
let timeN = cc.find("Canvas/uiP/top/timeN/bg_time"); let timeN = cc.find("Canvas/uiP/top/timeN/bg_time");
...@@ -213,7 +228,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -213,7 +228,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
startWatch() { startWatch() {
this.canTouch = false this.canTouch = false
this.gameState == "watching" this.gameState = "watching"
this.clearntervals(); this.clearntervals();
this.initTime(); this.initTime();
this.watchInterval = setInterval(() => { this.watchInterval = setInterval(() => {
...@@ -240,8 +255,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -240,8 +255,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initTime(); this.initTime();
this.gameInterval = setInterval(() => { this.gameInterval = setInterval(() => {
this.gameTime--; this.gameTime--;
console.log("watchtime=====", this.gameTime) console.log("gametime=====", this.gameTime)
if (this.gameTime <= 0) { if (this.gameTime <= 0) {
this.gameOver(false);
this.clearntervals(); this.clearntervals();
} }
this.updateTime(); this.updateTime();
...@@ -277,6 +293,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -277,6 +293,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.completeNum == this.data.questions[this.questionIndex].options.length / 2) { if (this.completeNum == this.data.questions[this.questionIndex].options.length / 2) {
console.log("allTrue===") console.log("allTrue===")
this.clearntervals(); this.clearntervals();
if(this.questionIndex<(this.data.questions.length-1)){
this.questionIndex++
this.onClickRestart()
}else{
this.gameOver(true)
}
} }
console.log("allActionFish=====") console.log("allActionFish=====")
}) })
...@@ -316,88 +338,111 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -316,88 +338,111 @@ export default class SceneComponent extends MyCocosSceneComponent {
clearInterval(this.gameInterval); clearInterval(this.gameInterval);
} }
} }
gameOver(isSuc){
this.questionIndex=0;
this.overN.active=true;
initView() { let sucN=this.overN.getChildByName("suc")
this.initBg(); let failN=this.overN.getChildByName("fail")
this.initBtn(); if(isSuc){
this.initIcon(); sucN.active=true;
failN.active=false;
this.playAudioByUrl("suc")
onHomeworkFinish();
}else{
sucN.active=false;
failN.active=true;
} }
}
playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
})
}
onClickRestart(){
this.overN.active=false;
this.initGameData();
this.initCards();
this.onStartClick();
}
// initView() {
// this.initBg();
// this.initBtn();
// this.initIcon();
// }
pic1 = null;
pic2 = null;
initPic() {
const canvas = cc.find('Canvas');
const maxW = canvas.width * 0.7;
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
const picNode1 = sprNode;
picNode1.scale = maxW / picNode1.width;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1);
this.pic1 = picNode1;
const labelNode = new cc.Node();
labelNode.color = cc.Color.YELLOW;
const label = labelNode.addComponent(cc.Label);
label.string = this.data.text;
label.fontSize = 60;
label.lineHeight = 60;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
picNode1.addChild(labelNode);
});
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
const picNode2 = sprNode;
picNode2.scale = maxW / picNode2.width;
canvas.addChild(picNode2);
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x;
this.pic2 = picNode2;
const labelNode = new cc.Node();
const label = labelNode.addComponent(cc.RichText);
const size = 60
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>`
label.lineHeight = size;
picNode2.addChild(labelNode);
});
} // pic1 = null;
// pic2 = null;
// initPic() {
// const canvas = cc.find('Canvas');
// const maxW = canvas.width * 0.7;
// this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
// const picNode1 = sprNode;
// picNode1.scale = maxW / picNode1.width;
// picNode1.baseX = picNode1.x;
// canvas.addChild(picNode1);
// this.pic1 = picNode1;
// const labelNode = new cc.Node();
// labelNode.color = cc.Color.YELLOW;
// const label = labelNode.addComponent(cc.Label);
// label.string = this.data.text;
// label.fontSize = 60;
// label.lineHeight = 60;
// label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
// picNode1.addChild(labelNode);
// });
// this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
// const picNode2 = sprNode;
// picNode2.scale = maxW / picNode2.width;
// canvas.addChild(picNode2);
// picNode2.x = canvas.width;
// picNode2.baseX = picNode2.x;
// this.pic2 = picNode2;
// const labelNode = new cc.Node();
// const label = labelNode.addComponent(cc.RichText);
// const size = 60
// label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
// label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>`
// label.lineHeight = size;
// picNode2.addChild(labelNode);
// });
initIcon() { // }
const iconNode = this.getSprNode('icon');
iconNode.zIndex = 5;
iconNode.anchorX = 1;
iconNode.anchorY = 1;
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10;
iconNode.y = iconNode.parent.height / 2 - 10;
iconNode.on(cc.Node.EventType.TOUCH_START, () => { // initIcon() {
this.playAudioByUrl(this.data.audio_url); // const iconNode = this.getSprNode('icon');
}) // iconNode.zIndex = 5;
} // iconNode.anchorX = 1;
// iconNode.anchorY = 1;
// iconNode.parent = cc.find('Canvas');
// iconNode.x = iconNode.parent.width / 2 - 10;
// iconNode.y = iconNode.parent.height / 2 - 10;
// iconNode.on(cc.Node.EventType.TOUCH_START, () => {
// this.playAudioByUrl(this.data.audio_url);
// })
// }
initBtn() { // initBtn() {
} // }
// update (dt) {}, // // update (dt) {},
initListener() { // initListener() {
} // }
playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
})
}
} }
...@@ -56,9 +56,7 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -56,9 +56,7 @@ export class MyCocosSceneComponent extends cc.Component {
(<any>window).courseware.getData((data) => { (<any>window).courseware.getData((data) => {
this.log('data:' + data); this.log('data:' + data);
this.data = data || this.getDefaultData(); this.data = data || this.getDefaultData();
this.log('data1:' + data);
this.data = JSON.parse(JSON.stringify(this.data)); this.data = JSON.parse(JSON.stringify(this.data));
this.log('data2:' + data);
this.initData(); this.initData();
this.preloadItem(); this.preloadItem();
}) })
...@@ -114,16 +112,16 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -114,16 +112,16 @@ export class MyCocosSceneComponent extends cc.Component {
}); });
} }
log(str) { log (str) {
const node = cc.find('Canvas/middleLayer'); const node = cc.find('middleLayer');
if (node) { if(node){
node.getComponent(cc.Label).string=str; node.getComponent('middleLayer').log(str);
console.log(str); }else{
} else { cc.log(str);
console.log(str);
} }
} }
onLoadEnd() { onLoadEnd() {
} }
......
...@@ -4,7 +4,7 @@ export const defaultData = { ...@@ -4,7 +4,7 @@ export const defaultData = {
questionTextAudio: "http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3", questionTextAudio: "http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3",
questions: [{ questions: [{
watchTime: 10, // 看题时间(秒) watchTime: 10, // 看题时间(秒)
gameTime: 120, // 游戏时间(秒) gameTime: 30, // 游戏时间(秒)
options: [{ options: [{
pairIdx: 1, pairIdx: 1,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3", audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
...@@ -37,6 +37,8 @@ export const defaultData = { ...@@ -37,6 +37,8 @@ export const defaultData = {
type: "img" type: "img"
}] }]
}, { }, {
watchTime: 10, // 看题时间(秒)
gameTime: 50, // 游戏时间(秒)
options: [{ options: [{
pairIdx: 1, pairIdx: 1,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3", audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
...@@ -67,6 +69,100 @@ export const defaultData = { ...@@ -67,6 +69,100 @@ export const defaultData = {
image: "http://staging-teach.cdn.ireadabc.com/35cf0aaf4e68a1a8d5e456ff98915057.jpeg", image: "http://staging-teach.cdn.ireadabc.com/35cf0aaf4e68a1a8d5e456ff98915057.jpeg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3", audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img" type: "img"
},
{
pairIdx: 4,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "ccccc"
}, {
pairIdx: 4,
image: "http://staging-teach.cdn.ireadabc.com/35cf0aaf4e68a1a8d5e456ff98915057.jpeg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
},
{
pairIdx: 5,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "ccccc"
}, {
pairIdx: 5,
image: "http://staging-teach.cdn.ireadabc.com/35cf0aaf4e68a1a8d5e456ff98915057.jpeg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
}]
},
{
watchTime: 10, // 看题时间(秒)
gameTime: 40, // 游戏时间(秒)
options: [{
pairIdx: 1,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "aaaaa"
}, {
pairIdx: 1,
image: "http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
}, {
pairIdx: 2,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "bbbbb"
}, {
pairIdx: 2,
image: "http://staging-teach.cdn.ireadabc.com/98d6388099de7dcd945f39d9f74e226f.jpg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
}, {
pairIdx: 3,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "ccccc"
}, {
pairIdx: 3,
image: "http://staging-teach.cdn.ireadabc.com/35cf0aaf4e68a1a8d5e456ff98915057.jpeg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
},
{
pairIdx: 4,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "ccccc"
}, {
pairIdx: 4,
image: "http://staging-teach.cdn.ireadabc.com/35cf0aaf4e68a1a8d5e456ff98915057.jpeg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
},
]
},
{
watchTime: 10, // 看题时间(秒)
gameTime: 20, // 游戏时间(秒)
options: [{
pairIdx: 1,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "aaaaa"
}, {
pairIdx: 1,
image: "http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
}, {
pairIdx: 2,
audio: "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
type: "text",
text: "bbbbb"
}, {
pairIdx: 2,
image: "http://staging-teach.cdn.ireadabc.com/98d6388099de7dcd945f39d9f74e226f.jpg",
audio: "http://staging-teach.cdn.ireadabc.com/695bb2b2cda6c7efbacceabc89f1a031.mp3",
type: "img"
}] }]
}] }]
} }
\ No newline at end of file
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