Commit 7159b3e8 authored by yu's avatar yu

背景音乐

parent c50b5fbe
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 162, "height": 162,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1": { "1_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "64239ea1-64ac-4b1d-a057-c1aef63daa78", "uuid": "64239ea1-64ac-4b1d-a057-c1aef63daa78",
"rawTextureUuid": "104fcdb0-ca93-48e9-851a-7be61991ae7d", "rawTextureUuid": "104fcdb0-ca93-48e9-851a-7be61991ae7d",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 162, "height": 162,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"2": { "2_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "5947b8ea-32dd-4bdf-96b1-c0a3f4078b54", "uuid": "5947b8ea-32dd-4bdf-96b1-c0a3f4078b54",
"rawTextureUuid": "694a16fe-9586-4971-b69b-770579e00c12", "rawTextureUuid": "694a16fe-9586-4971-b69b-770579e00c12",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 162, "height": 162,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"3": { "3_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "393041ff-00e2-4ef3-97be-82e57154cfc9", "uuid": "393041ff-00e2-4ef3-97be-82e57154cfc9",
"rawTextureUuid": "b85f7d46-90f8-4112-8e92-bde93c1ebfe1", "rawTextureUuid": "b85f7d46-90f8-4112-8e92-bde93c1ebfe1",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 750, "height": 750,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_1": { "bg_1_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "4d2e721d-5a99-4895-b29c-1365abc2e99b", "uuid": "4d2e721d-5a99-4895-b29c-1365abc2e99b",
"rawTextureUuid": "d215adad-1d8d-4af6-89e2-0611bd733c09", "rawTextureUuid": "d215adad-1d8d-4af6-89e2-0611bd733c09",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 750, "height": 750,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_2": { "bg_2_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8598ba9d-9fd3-45ee-9acb-6b9d4a3326b7", "uuid": "8598ba9d-9fd3-45ee-9acb-6b9d4a3326b7",
"rawTextureUuid": "c3527267-be17-4637-8d72-0491d613645e", "rawTextureUuid": "c3527267-be17-4637-8d72-0491d613645e",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 275, "height": 275,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_card": { "bg_card_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "56034c3a-b8d7-4338-a610-baaf46c7ff07", "uuid": "56034c3a-b8d7-4338-a610-baaf46c7ff07",
"rawTextureUuid": "19d921cf-2185-4abc-b361-46fb632246f8", "rawTextureUuid": "19d921cf-2185-4abc-b361-46fb632246f8",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 275, "height": 275,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_crad-back": { "bg_cradback_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8cf59de8-161c-49b0-839a-5c75d8fe1f62", "uuid": "8cf59de8-161c-49b0-839a-5c75d8fe1f62",
"rawTextureUuid": "9b8e2f51-fecc-427e-bc08-e038341cd7ff", "rawTextureUuid": "9b8e2f51-fecc-427e-bc08-e038341cd7ff",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 78, "height": 78,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_left": { "bg_left_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "9728aa40-7608-46bd-888e-2acd417225bb", "uuid": "9728aa40-7608-46bd-888e-2acd417225bb",
"rawTextureUuid": "fdf0607a-8226-4f0f-b65c-0efa428dec03", "rawTextureUuid": "fdf0607a-8226-4f0f-b65c-0efa428dec03",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 192, "height": 192,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_right": { "bg_right_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ea953cb1-9e26-4c90-b9cf-6d8ecdce2161", "uuid": "ea953cb1-9e26-4c90-b9cf-6d8ecdce2161",
"rawTextureUuid": "a2e277a2-fc5f-4619-b7ed-97683f510604", "rawTextureUuid": "a2e277a2-fc5f-4619-b7ed-97683f510604",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 162, "height": 162,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_time2": { "bg_time2_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "276627a2-ebed-4885-8308-1433ebfb24f5", "uuid": "276627a2-ebed-4885-8308-1433ebfb24f5",
"rawTextureUuid": "fbf7af93-3cd7-433c-ab0e-3a79c68cdc2c", "rawTextureUuid": "fbf7af93-3cd7-433c-ab0e-3a79c68cdc2c",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 162, "height": 162,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_time": { "bg_time_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "6c68d460-fc18-4991-b61e-1a32a77efa1f", "uuid": "6c68d460-fc18-4991-b61e-1a32a77efa1f",
"rawTextureUuid": "b3a18e7c-4c9c-4616-b49a-173ffa4b72d2", "rawTextureUuid": "b3a18e7c-4c9c-4616-b49a-173ffa4b72d2",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 370, "height": 370,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_tip": { "bg_tip_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "a92f202f-40e1-4967-bcfd-7c67b36c5230", "uuid": "a92f202f-40e1-4967-bcfd-7c67b36c5230",
"rawTextureUuid": "1db0f660-34e5-4b4c-818f-5ba92b188376", "rawTextureUuid": "1db0f660-34e5-4b4c-818f-5ba92b188376",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 111, "height": 111,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_title": { "bg_title_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "f32598ac-4a6f-4e3b-a2d5-5804f656ce1e", "uuid": "f32598ac-4a6f-4e3b-a2d5-5804f656ce1e",
"rawTextureUuid": "d1cbff37-a335-4eb1-b69f-f77e46378e02", "rawTextureUuid": "d1cbff37-a335-4eb1-b69f-f77e46378e02",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 100, "height": 100,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_restart": { "btn_restart_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "f3c5c29c-c7b3-4110-9d49-307e08d42533", "uuid": "f3c5c29c-c7b3-4110-9d49-307e08d42533",
"rawTextureUuid": "bfdbe139-512d-4dff-a3b2-4345fbd47080", "rawTextureUuid": "bfdbe139-512d-4dff-a3b2-4345fbd47080",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 100, "height": 100,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_start": { "btn_start_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "4af2db97-1221-45e8-9267-c6d1d456a356", "uuid": "4af2db97-1221-45e8-9267-c6d1d456a356",
"rawTextureUuid": "eb530758-88e8-4c23-b00d-45c6ebddd4f6", "rawTextureUuid": "eb530758-88e8-4c23-b00d-45c6ebddd4f6",
......
{
"ver": "2.3.5",
"uuid": "f2cf16e7-c43f-41a8-b4c9-573595d4f00b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 78,
"height": 124,
"platformSettings": {},
"subMetas": {
"ddp_bg_audio_off_duiduipeng": {
"ver": "1.0.4",
"uuid": "f3d29815-dbef-4d4d-bc96-4a0205ec634e",
"rawTextureUuid": "f2cf16e7-c43f-41a8-b4c9-573595d4f00b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 78,
"height": 124,
"rawWidth": 78,
"rawHeight": 124,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b97d9afb-7320-44fe-8112-3d565dab3b8a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 78,
"height": 124,
"platformSettings": {},
"subMetas": {
"ddp_bg_audio_on_duiduipeng": {
"ver": "1.0.4",
"uuid": "fd4221f7-0062-4873-9668-184181e30506",
"rawTextureUuid": "b97d9afb-7320-44fe-8112-3d565dab3b8a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 78,
"height": 124,
"rawWidth": 78,
"rawHeight": 124,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -154,3 +154,4 @@ export default class card extends cc.Component { ...@@ -154,3 +154,4 @@ export default class card extends cc.Component {
// update (dt) {} // update (dt) {}
} }
...@@ -78,19 +78,19 @@ ...@@ -78,19 +78,19 @@
"__id__": 9 "__id__": 9
}, },
{ {
"__id__": 117 "__id__": 123
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 141 "__id__": 147
}, },
{ {
"__id__": 142 "__id__": 148
}, },
{ {
"__id__": 143 "__id__": 149
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -443,22 +443,22 @@ ...@@ -443,22 +443,22 @@
"__id__": 10 "__id__": 10
}, },
{ {
"__id__": 31 "__id__": 37
}, },
{ {
"__id__": 87 "__id__": 93
}, },
{ {
"__id__": 89 "__id__": 95
}, },
{ {
"__id__": 102 "__id__": 108
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 116 "__id__": 122
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -524,16 +524,22 @@ ...@@ -524,16 +524,22 @@
"__id__": 20 "__id__": 20
}, },
{ {
"__id__": 24 "__id__": 23
}, },
{ {
"__id__": 27 "__id__": 26
},
{
"__id__": 30
},
{
"__id__": 33
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 30 "__id__": 36
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1039,6 +1045,254 @@ ...@@ -1039,6 +1045,254 @@
"_atlas": null, "_atlas": null,
"_id": "66KZPZPslP5rkr0odXTf5o" "_id": "66KZPZPslP5rkr0odXTf5o"
}, },
{
"__type__": "cc.Node",
"_name": "ddp_bg_audio_off",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 21
},
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 78,
"height": 124
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
230.838,
-51.669,
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": "46CmTnGkNLQam1F02oBm79"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f3d29815-dbef-4d4d-bc96-4a0205ec634e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c8s9mAWepHFrlmai9ZJLdD"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": -10.331000000000003,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "70UC5cALZEn73+m0Kc2d36"
},
{
"__type__": "cc.Node",
"_name": "ddp_bg_audio_on",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 24
},
{
"__id__": 25
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 78,
"height": 124
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
230.838,
-51.669,
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": "27NU58hfFPXbjnFNDfKir+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fd4221f7-0062-4873-9668-184181e30506"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7c2m9Qt2dFnouLt8MJFhrK"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": -10.331000000000003,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "1bx92H6ldN646qloxKQjpa"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_title", "_name": "bg_title",
...@@ -1048,13 +1302,13 @@ ...@@ -1048,13 +1302,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 21 "__id__": 27
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 23 "__id__": 29
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1110,13 +1364,13 @@ ...@@ -1110,13 +1364,13 @@
"_name": "New Label", "_name": "New Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 20 "__id__": 26
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 22 "__id__": 28
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1172,7 +1426,7 @@ ...@@ -1172,7 +1426,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 21 "__id__": 27
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1207,7 +1461,7 @@ ...@@ -1207,7 +1461,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 20 "__id__": 26
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1245,10 +1499,10 @@ ...@@ -1245,10 +1499,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 25 "__id__": 31
}, },
{ {
"__id__": 26 "__id__": 32
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1304,7 +1558,7 @@ ...@@ -1304,7 +1558,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 24 "__id__": 30
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1336,7 +1590,7 @@ ...@@ -1336,7 +1590,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 24 "__id__": 30
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -1371,10 +1625,10 @@ ...@@ -1371,10 +1625,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 28 "__id__": 34
}, },
{ {
"__id__": 29 "__id__": 35
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1430,7 +1684,7 @@ ...@@ -1430,7 +1684,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 27 "__id__": 33
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1462,7 +1716,7 @@ ...@@ -1462,7 +1716,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 27 "__id__": 33
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -1524,19 +1778,19 @@ ...@@ -1524,19 +1778,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 32 "__id__": 38
}, },
{ {
"__id__": 43 "__id__": 49
}, },
{ {
"__id__": 54 "__id__": 60
}, },
{ {
"__id__": 65 "__id__": 71
}, },
{ {
"__id__": 76 "__id__": 82
} }
], ],
"_active": true, "_active": true,
...@@ -1594,23 +1848,23 @@ ...@@ -1594,23 +1848,23 @@
"_name": "card", "_name": "card",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 31 "__id__": 37
}, },
"_children": [ "_children": [
{ {
"__id__": 33 "__id__": 39
}, },
{ {
"__id__": 36 "__id__": 42
}, },
{ {
"__id__": 39 "__id__": 45
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 42 "__id__": 48
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1664,17 +1918,17 @@ ...@@ -1664,17 +1918,17 @@
"_name": "bg_card", "_name": "bg_card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 32 "__id__": 38
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 34 "__id__": 40
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 41
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1728,7 +1982,7 @@ ...@@ -1728,7 +1982,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 33 "__id__": 39
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1758,7 +2012,7 @@ ...@@ -1758,7 +2012,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 32 "__id__": 38
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -1771,17 +2025,17 @@ ...@@ -1771,17 +2025,17 @@
"_name": "bg_crad-back", "_name": "bg_crad-back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 32 "__id__": 38
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 43
} }
], ],
"_prefab": { "_prefab": {
"__id__": 38 "__id__": 44
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1835,7 +2089,7 @@ ...@@ -1835,7 +2089,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 36 "__id__": 42
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1865,7 +2119,7 @@ ...@@ -1865,7 +2119,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 32 "__id__": 38
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -1878,17 +2132,17 @@ ...@@ -1878,17 +2132,17 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 32 "__id__": 38
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 40 "__id__": 46
} }
], ],
"_prefab": { "_prefab": {
"__id__": 41 "__id__": 47
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1942,7 +2196,7 @@ ...@@ -1942,7 +2196,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 39 "__id__": 45
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1970,7 +2224,7 @@ ...@@ -1970,7 +2224,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 32 "__id__": 38
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -1981,7 +2235,7 @@ ...@@ -1981,7 +2235,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 32 "__id__": 38
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -1994,23 +2248,23 @@ ...@@ -1994,23 +2248,23 @@
"_name": "card", "_name": "card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 31 "__id__": 37
}, },
"_children": [ "_children": [
{ {
"__id__": 44 "__id__": 50
}, },
{ {
"__id__": 47 "__id__": 53
}, },
{ {
"__id__": 50 "__id__": 56
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 53 "__id__": 59
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2064,17 +2318,17 @@ ...@@ -2064,17 +2318,17 @@
"_name": "bg_card", "_name": "bg_card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 43 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 45 "__id__": 51
} }
], ],
"_prefab": { "_prefab": {
"__id__": 46 "__id__": 52
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2128,7 +2382,7 @@ ...@@ -2128,7 +2382,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 44 "__id__": 50
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2158,7 +2412,7 @@ ...@@ -2158,7 +2412,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 43 "__id__": 49
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2171,17 +2425,17 @@ ...@@ -2171,17 +2425,17 @@
"_name": "bg_crad-back", "_name": "bg_crad-back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 43 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 48 "__id__": 54
} }
], ],
"_prefab": { "_prefab": {
"__id__": 49 "__id__": 55
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2235,7 +2489,7 @@ ...@@ -2235,7 +2489,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 47 "__id__": 53
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2265,7 +2519,7 @@ ...@@ -2265,7 +2519,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 43 "__id__": 49
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2278,17 +2532,17 @@ ...@@ -2278,17 +2532,17 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 43 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 51 "__id__": 57
} }
], ],
"_prefab": { "_prefab": {
"__id__": 52 "__id__": 58
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2342,7 +2596,7 @@ ...@@ -2342,7 +2596,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 50 "__id__": 56
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2370,7 +2624,7 @@ ...@@ -2370,7 +2624,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 43 "__id__": 49
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2381,7 +2635,7 @@ ...@@ -2381,7 +2635,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 43 "__id__": 49
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2394,23 +2648,23 @@ ...@@ -2394,23 +2648,23 @@
"_name": "card", "_name": "card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 31 "__id__": 37
}, },
"_children": [ "_children": [
{ {
"__id__": 55 "__id__": 61
}, },
{ {
"__id__": 58 "__id__": 64
}, },
{ {
"__id__": 61 "__id__": 67
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 64 "__id__": 70
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2464,17 +2718,17 @@ ...@@ -2464,17 +2718,17 @@
"_name": "bg_card", "_name": "bg_card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 54 "__id__": 60
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 56 "__id__": 62
} }
], ],
"_prefab": { "_prefab": {
"__id__": 57 "__id__": 63
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2528,7 +2782,7 @@ ...@@ -2528,7 +2782,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 55 "__id__": 61
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2558,7 +2812,7 @@ ...@@ -2558,7 +2812,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 54 "__id__": 60
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2571,17 +2825,17 @@ ...@@ -2571,17 +2825,17 @@
"_name": "bg_crad-back", "_name": "bg_crad-back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 54 "__id__": 60
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 65
} }
], ],
"_prefab": { "_prefab": {
"__id__": 60 "__id__": 66
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2635,7 +2889,7 @@ ...@@ -2635,7 +2889,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 58 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2665,7 +2919,7 @@ ...@@ -2665,7 +2919,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 54 "__id__": 60
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2678,17 +2932,17 @@ ...@@ -2678,17 +2932,17 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 54 "__id__": 60
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 68
} }
], ],
"_prefab": { "_prefab": {
"__id__": 63 "__id__": 69
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2742,7 +2996,7 @@ ...@@ -2742,7 +2996,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 67
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2770,7 +3024,7 @@ ...@@ -2770,7 +3024,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 54 "__id__": 60
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2781,7 +3035,7 @@ ...@@ -2781,7 +3035,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 54 "__id__": 60
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2794,23 +3048,23 @@ ...@@ -2794,23 +3048,23 @@
"_name": "card", "_name": "card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 31 "__id__": 37
}, },
"_children": [ "_children": [
{ {
"__id__": 66 "__id__": 72
}, },
{ {
"__id__": 69 "__id__": 75
}, },
{ {
"__id__": 72 "__id__": 78
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 75 "__id__": 81
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2864,17 +3118,17 @@ ...@@ -2864,17 +3118,17 @@
"_name": "bg_card", "_name": "bg_card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 71
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 67 "__id__": 73
} }
], ],
"_prefab": { "_prefab": {
"__id__": 68 "__id__": 74
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2928,7 +3182,7 @@ ...@@ -2928,7 +3182,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 66 "__id__": 72
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2958,7 +3212,7 @@ ...@@ -2958,7 +3212,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 65 "__id__": 71
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -2971,17 +3225,17 @@ ...@@ -2971,17 +3225,17 @@
"_name": "bg_crad-back", "_name": "bg_crad-back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 71
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 70 "__id__": 76
} }
], ],
"_prefab": { "_prefab": {
"__id__": 71 "__id__": 77
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3035,7 +3289,7 @@ ...@@ -3035,7 +3289,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 69 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3065,7 +3319,7 @@ ...@@ -3065,7 +3319,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 65 "__id__": 71
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3078,17 +3332,17 @@ ...@@ -3078,17 +3332,17 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 71
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 79
} }
], ],
"_prefab": { "_prefab": {
"__id__": 74 "__id__": 80
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3142,7 +3396,7 @@ ...@@ -3142,7 +3396,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 72 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3170,7 +3424,7 @@ ...@@ -3170,7 +3424,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 65 "__id__": 71
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3181,7 +3435,7 @@ ...@@ -3181,7 +3435,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 65 "__id__": 71
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3194,23 +3448,23 @@ ...@@ -3194,23 +3448,23 @@
"_name": "card", "_name": "card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 31 "__id__": 37
}, },
"_children": [ "_children": [
{ {
"__id__": 77 "__id__": 83
}, },
{ {
"__id__": 80 "__id__": 86
}, },
{ {
"__id__": 83 "__id__": 89
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 86 "__id__": 92
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3264,17 +3518,17 @@ ...@@ -3264,17 +3518,17 @@
"_name": "bg_card", "_name": "bg_card",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 76 "__id__": 82
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 78 "__id__": 84
} }
], ],
"_prefab": { "_prefab": {
"__id__": 79 "__id__": 85
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3328,7 +3582,7 @@ ...@@ -3328,7 +3582,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 77 "__id__": 83
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3358,7 +3612,7 @@ ...@@ -3358,7 +3612,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 76 "__id__": 82
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3371,17 +3625,17 @@ ...@@ -3371,17 +3625,17 @@
"_name": "bg_crad-back", "_name": "bg_crad-back",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 76 "__id__": 82
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 87
} }
], ],
"_prefab": { "_prefab": {
"__id__": 82 "__id__": 88
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3435,7 +3689,7 @@ ...@@ -3435,7 +3689,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 80 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3465,7 +3719,7 @@ ...@@ -3465,7 +3719,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 76 "__id__": 82
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3478,17 +3732,17 @@ ...@@ -3478,17 +3732,17 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 76 "__id__": 82
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 84 "__id__": 90
} }
], ],
"_prefab": { "_prefab": {
"__id__": 85 "__id__": 91
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -3542,7 +3796,7 @@ ...@@ -3542,7 +3796,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3570,7 +3824,7 @@ ...@@ -3570,7 +3824,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 76 "__id__": 82
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3581,7 +3835,7 @@ ...@@ -3581,7 +3835,7 @@
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 76 "__id__": 82
}, },
"asset": { "asset": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
...@@ -3600,7 +3854,7 @@ ...@@ -3600,7 +3854,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 94
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3656,7 +3910,7 @@ ...@@ -3656,7 +3910,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 87 "__id__": 93
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3690,19 +3944,19 @@ ...@@ -3690,19 +3944,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 90 "__id__": 96
}, },
{ {
"__id__": 93 "__id__": 99
}, },
{ {
"__id__": 97 "__id__": 103
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 101 "__id__": 107
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3758,16 +4012,16 @@ ...@@ -3758,16 +4012,16 @@
"_name": "bg", "_name": "bg",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 89 "__id__": 95
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 91 "__id__": 97
}, },
{ {
"__id__": 92 "__id__": 98
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3823,7 +4077,7 @@ ...@@ -3823,7 +4077,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3855,7 +4109,7 @@ ...@@ -3855,7 +4109,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"_id": "dbATiTrMtJfJI7qTlsBhf7" "_id": "dbATiTrMtJfJI7qTlsBhf7"
...@@ -3865,17 +4119,17 @@ ...@@ -3865,17 +4119,17 @@
"_name": "bg_tip", "_name": "bg_tip",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 95
}, },
"_children": [ "_children": [
{ {
"__id__": 94 "__id__": 100
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 96 "__id__": 102
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3931,13 +4185,13 @@ ...@@ -3931,13 +4185,13 @@
"_name": "New Label", "_name": "New Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 93 "__id__": 99
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 95 "__id__": 101
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3993,7 +4247,7 @@ ...@@ -3993,7 +4247,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 94 "__id__": 100
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4028,7 +4282,7 @@ ...@@ -4028,7 +4282,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 93 "__id__": 99
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4060,16 +4314,16 @@ ...@@ -4060,16 +4314,16 @@
"_name": "btn_start", "_name": "btn_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 95
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 98 "__id__": 104
}, },
{ {
"__id__": 99 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4125,7 +4379,7 @@ ...@@ -4125,7 +4379,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4157,7 +4411,7 @@ ...@@ -4157,7 +4411,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4166,7 +4420,7 @@ ...@@ -4166,7 +4420,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 100 "__id__": 106
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4239,7 +4493,7 @@ ...@@ -4239,7 +4493,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 89 "__id__": 95
}, },
"_enabled": true, "_enabled": true,
"alignMode": 2, "alignMode": 2,
...@@ -4270,13 +4524,13 @@ ...@@ -4270,13 +4524,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 103 "__id__": 109
}, },
{ {
"__id__": 106 "__id__": 112
}, },
{ {
"__id__": 111 "__id__": 117
} }
], ],
"_active": false, "_active": false,
...@@ -4334,16 +4588,16 @@ ...@@ -4334,16 +4588,16 @@
"_name": "bg", "_name": "bg",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 102 "__id__": 108
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104 "__id__": 110
}, },
{ {
"__id__": 105 "__id__": 111
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4399,7 +4653,7 @@ ...@@ -4399,7 +4653,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 103 "__id__": 109
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4431,7 +4685,7 @@ ...@@ -4431,7 +4685,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 103 "__id__": 109
}, },
"_enabled": true, "_enabled": true,
"_id": "15/ewr6k9J4oXRIG0miG27" "_id": "15/ewr6k9J4oXRIG0miG27"
...@@ -4441,11 +4695,11 @@ ...@@ -4441,11 +4695,11 @@
"_name": "suc", "_name": "suc",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 102 "__id__": 108
}, },
"_children": [ "_children": [
{ {
"__id__": 107 "__id__": 113
} }
], ],
"_active": true, "_active": true,
...@@ -4503,16 +4757,16 @@ ...@@ -4503,16 +4757,16 @@
"_name": "btn_restart", "_name": "btn_restart",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 106 "__id__": 112
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 114
}, },
{ {
"__id__": 109 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4568,7 +4822,7 @@ ...@@ -4568,7 +4822,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 113
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4600,7 +4854,7 @@ ...@@ -4600,7 +4854,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 113
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4609,7 +4863,7 @@ ...@@ -4609,7 +4863,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 110 "__id__": 116
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4682,11 +4936,11 @@ ...@@ -4682,11 +4936,11 @@
"_name": "fail", "_name": "fail",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 102 "__id__": 108
}, },
"_children": [ "_children": [
{ {
"__id__": 112 "__id__": 118
} }
], ],
"_active": true, "_active": true,
...@@ -4744,16 +4998,16 @@ ...@@ -4744,16 +4998,16 @@
"_name": "btn_restart", "_name": "btn_restart",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 111 "__id__": 117
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 113 "__id__": 119
}, },
{ {
"__id__": 114 "__id__": 120
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4809,7 +5063,7 @@ ...@@ -4809,7 +5063,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 118
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4841,7 +5095,7 @@ ...@@ -4841,7 +5095,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 112 "__id__": 118
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4850,7 +5104,7 @@ ...@@ -4850,7 +5104,7 @@
"zoomScale": 1.2, "zoomScale": 1.2,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 115 "__id__": 121
} }
], ],
"_N$interactable": true, "_N$interactable": true,
...@@ -4947,13 +5201,13 @@ ...@@ -4947,13 +5201,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 118 "__id__": 124
}, },
{ {
"__id__": 121 "__id__": 127
}, },
{ {
"__id__": 128 "__id__": 134
} }
], ],
"_active": false, "_active": false,
...@@ -5011,11 +5265,11 @@ ...@@ -5011,11 +5265,11 @@
"_name": "font", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 117 "__id__": 123
}, },
"_children": [ "_children": [
{ {
"__id__": 119 "__id__": 125
} }
], ],
"_active": true, "_active": true,
...@@ -5073,13 +5327,13 @@ ...@@ -5073,13 +5327,13 @@
"_name": "BRLNSDB", "_name": "BRLNSDB",
"_objFlags": 512, "_objFlags": 512,
"_parent": { "_parent": {
"__id__": 118 "__id__": 124
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 120 "__id__": 126
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5135,7 +5389,7 @@ ...@@ -5135,7 +5389,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 119 "__id__": 125
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5166,17 +5420,17 @@ ...@@ -5166,17 +5420,17 @@
"_name": "img", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 117 "__id__": 123
}, },
"_children": [ "_children": [
{ {
"__id__": 122 "__id__": 128
}, },
{ {
"__id__": 124 "__id__": 130
}, },
{ {
"__id__": 126 "__id__": 132
} }
], ],
"_active": true, "_active": true,
...@@ -5234,13 +5488,13 @@ ...@@ -5234,13 +5488,13 @@
"_name": "1", "_name": "1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 127
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 123 "__id__": 129
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5296,7 +5550,7 @@ ...@@ -5296,7 +5550,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 122 "__id__": 128
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5324,13 +5578,13 @@ ...@@ -5324,13 +5578,13 @@
"_name": "2", "_name": "2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 127
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 125 "__id__": 131
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5386,7 +5640,7 @@ ...@@ -5386,7 +5640,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 124 "__id__": 130
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5414,13 +5668,13 @@ ...@@ -5414,13 +5668,13 @@
"_name": "3", "_name": "3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 121 "__id__": 127
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 127 "__id__": 133
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5476,7 +5730,7 @@ ...@@ -5476,7 +5730,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 126 "__id__": 132
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -5504,26 +5758,26 @@ ...@@ -5504,26 +5758,26 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 117 "__id__": 123
}, },
"_children": [ "_children": [
{ {
"__id__": 129 "__id__": 135
}, },
{ {
"__id__": 131 "__id__": 137
}, },
{ {
"__id__": 133 "__id__": 139
}, },
{ {
"__id__": 135 "__id__": 141
}, },
{ {
"__id__": 137 "__id__": 143
}, },
{ {
"__id__": 139 "__id__": 145
} }
], ],
"_active": true, "_active": true,
...@@ -5581,13 +5835,13 @@ ...@@ -5581,13 +5835,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 128 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 130 "__id__": 136
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5643,7 +5897,7 @@ ...@@ -5643,7 +5897,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 129 "__id__": 135
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5662,13 +5916,13 @@ ...@@ -5662,13 +5916,13 @@
"_name": "time2", "_name": "time2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 128 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 132 "__id__": 138
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5724,7 +5978,7 @@ ...@@ -5724,7 +5978,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 137
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5743,13 +5997,13 @@ ...@@ -5743,13 +5997,13 @@
"_name": "time1", "_name": "time1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 128 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 134 "__id__": 140
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5805,7 +6059,7 @@ ...@@ -5805,7 +6059,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 133 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5824,13 +6078,13 @@ ...@@ -5824,13 +6078,13 @@
"_name": "false", "_name": "false",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 128 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 136 "__id__": 142
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5886,7 +6140,7 @@ ...@@ -5886,7 +6140,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 135 "__id__": 141
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5905,13 +6159,13 @@ ...@@ -5905,13 +6159,13 @@
"_name": "true", "_name": "true",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 128 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 138 "__id__": 144
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5967,7 +6221,7 @@ ...@@ -5967,7 +6221,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 137 "__id__": 143
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -5986,13 +6240,13 @@ ...@@ -5986,13 +6240,13 @@
"_name": "suc", "_name": "suc",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 128 "__id__": 134
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 140 "__id__": 146
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6048,7 +6302,7 @@ ...@@ -6048,7 +6302,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 139 "__id__": 145
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -6115,25 +6369,31 @@ ...@@ -6115,25 +6369,31 @@
}, },
"_enabled": true, "_enabled": true,
"cardParentN": { "cardParentN": {
"__id__": 31 "__id__": 37
}, },
"cardP": { "cardP": {
"__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4" "__uuid__": "d4ad21fb-9d5b-40c3-8ac9-a0ade6fe01b4"
}, },
"tittleLabel": { "tittleLabel": {
"__id__": 22 "__id__": 28
}, },
"tipLabel": { "tipLabel": {
"__id__": 95 "__id__": 101
}, },
"tipN": { "tipN": {
"__id__": 89 "__id__": 95
}, },
"countDown": { "countDown": {
"__id__": 87 "__id__": 93
},
"btn_audio_off": {
"__id__": 20
},
"btn_audio_on": {
"__id__": 23
}, },
"overN": { "overN": {
"__id__": 102 "__id__": 108
}, },
"_id": "eaTVUpqahPfZeO9+sUI7RP" "_id": "eaTVUpqahPfZeO9+sUI7RP"
} }
......
import { asyncDelay, onHomeworkFinish } from "../script/util"; import { asyncDelay, onHomeworkFinish } from "../script/util_duiduipeng";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent"; import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_duiduipeng";
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
...@@ -17,6 +17,15 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -17,6 +17,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
tipN: cc.Node = null tipN: cc.Node = null
@property(cc.Node) @property(cc.Node)
countDown: cc.Node = null; countDown: cc.Node = null;
@property(cc.Node)
btn_audio_off: cc.Node = null;
@property(cc.Node)
btn_audio_on: cc.Node = null;
private isPlayBgAudio: boolean;
questionIndex = 0; questionIndex = 0;
gameState = "watching" gameState = "watching"
watchInterval = null; watchInterval = null;
...@@ -51,6 +60,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -51,6 +60,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
addPreloadAudio() { addPreloadAudio() {
// TODO 根据自己的配置预加载音频资源 // TODO 根据自己的配置预加载音频资源
// this._audioResList.push({ url: this.data.audio_url }); // this._audioResList.push({ url: this.data.audio_url });
this._audioResList.push({ url: this.data.bgAudio });
this._audioResList.push({ url: this.data.questionTextAudio });
} }
addPreloadAnima() { addPreloadAnima() {
...@@ -84,6 +95,32 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -84,6 +95,32 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.tipLabel.string = this.data.questionText; this.tipLabel.string = this.data.questionText;
this.initCards() this.initCards()
this.initTime(); this.initTime();
if (this.data.bgAudio && this.data.bgAudio != "") {
this.btn_audio_on.active = true;
}
this.btn_audio_off.on(cc.Node.EventType.TOUCH_END, this.onAudioOff, this);
this.btn_audio_on.on(cc.Node.EventType.TOUCH_END, this.onAudioOn, this);
}
private onAudioOn() {
this.btn_audio_off.active = true;
this.btn_audio_on.active = false;
this.isPlayBgAudio = false;
this.stopBgAudio();
}
private onAudioOff() {
this.btn_audio_on.active = true;
this.btn_audio_off.active = false;
this.isPlayBgAudio = true;
this.playBgAudio();
}
private playBgAudio() {
if (!this.isPlayBgAudio) return;
cc.audioEngine.resumeMusic();
}
private stopBgAudio() {
cc.audioEngine.pauseMusic();
} }
initGameData(){ initGameData(){
this.clickNode1 = null; this.clickNode1 = null;
...@@ -118,7 +155,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -118,7 +155,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else { } else {
card.y = +card.height / 2 + 10 card.y = +card.height / 2 + 10
} }
card.getComponent("card").initData(data[i], this) card.getComponent("card_duiduipeng").initData(data[i], this)
} }
} else if (col == 2) { } else if (col == 2) {
...@@ -137,7 +174,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -137,7 +174,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else { } else {
card.y = +card.height / 2 + 10 card.y = +card.height / 2 + 10
} }
card.getComponent("card").initData(data[i], this) card.getComponent("card_duiduipeng").initData(data[i], this)
} }
} else { } else {
...@@ -150,7 +187,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -150,7 +187,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else { } else {
card.y = +card.height / 2 + 10 card.y = +card.height / 2 + 10
} }
card.getComponent("card").initData(data[i], this) card.getComponent("card_duiduipeng").initData(data[i], this)
} }
} }
console.log(" this.cardParentN=====", this.cardParentN) console.log(" this.cardParentN=====", this.cardParentN)
...@@ -232,9 +269,10 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -232,9 +269,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
onStartClick() { onStartClick() {
this.tipN.active = false; this.tipN.active = false;
this.playLocalAudio("btn"); this.playLocalAudio("btn");
this.playBgAudioByUrl(this.data.bgAudio);
let children = this.cardParentN.children; let children = this.cardParentN.children;
for (let i = 0; i < children.length; i++) { for (let i = 0; i < children.length; i++) {
children[i].getComponent("card").asyncDoFlip(() => { children[i].getComponent("card_duiduipeng").asyncDoFlip(() => {
if (i == children.length - 1) this.startWatch(); if (i == children.length - 1) this.startWatch();
}) })
} }
...@@ -252,7 +290,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -252,7 +290,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.clearntervals(); this.clearntervals();
let children = this.cardParentN.children; let children = this.cardParentN.children;
for (let i = 0; i < children.length; i++) { for (let i = 0; i < children.length; i++) {
children[i].getComponent("card").asyncDoFlip(() => { children[i].getComponent("card_duiduipeng").asyncDoFlip(() => {
if (i == children.length - 1) this.startGame(); if (i == children.length - 1) this.startGame();
}) })
} }
...@@ -294,7 +332,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -294,7 +332,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (!this.clickNode1) { if (!this.clickNode1) {
this.clickNode1 = node; this.clickNode1 = node;
this.clickNodeData1 = data; this.clickNodeData1 = data;
this.clickNode1.getComponent("card").asyncDoFlip() this.clickNode1.getComponent("card_duiduipeng").asyncDoFlip()
this.asyncPlayAudioByUrl(this.clickNodeData1.audio); this.asyncPlayAudioByUrl(this.clickNodeData1.audio);
// this.asyncPlayAudioByUrl( this.data.questionTextAudio); // this.asyncPlayAudioByUrl( this.data.questionTextAudio);
...@@ -307,12 +345,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -307,12 +345,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.clickNodeData1.pairIdx == data.pairIdx) { if (this.clickNodeData1.pairIdx == data.pairIdx) {
// this.asyncPlayAudioByUrl(data.audio) // this.asyncPlayAudioByUrl(data.audio)
Promise Promise
.all([node.getComponent("card").asyncDoFlip(), this.asyncPlayAudioByUrl(data.audio)]) .all([node.getComponent("card_duiduipeng").asyncDoFlip(), this.asyncPlayAudioByUrl(data.audio)])
.then(() => { .then(() => {
this.playLocalAudio("true") this.playLocalAudio("true")
Promise.all([node.getComponent("card").playDragon(), this.clickNode1.getComponent("card").playDragon()]) Promise.all([node.getComponent("card_duiduipeng").playDragon(), this.clickNode1.getComponent("card_duiduipeng").playDragon()])
.then(() => { .then(() => {
Promise.all([node.getComponent("card").doHide(), this.clickNode1.getComponent("card").doHide()]) Promise.all([node.getComponent("card_duiduipeng").doHide(), this.clickNode1.getComponent("card_duiduipeng").doHide()])
.then(() => { .then(() => {
this.canTouch = true; this.canTouch = true;
this.clickNode1 = null this.clickNode1 = null
...@@ -340,12 +378,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -340,12 +378,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
) )
} else { } else {
Promise Promise
.all([node.getComponent("card").asyncDoFlip(), this.asyncPlayAudioByUrl(data.audio)]) .all([node.getComponent("card_duiduipeng").asyncDoFlip(), this.asyncPlayAudioByUrl(data.audio)])
.then(() => { .then(() => {
this.playLocalAudio("false") this.playLocalAudio("false")
// Promise.all([this.playLocalAudio("false")]) // Promise.all([this.playLocalAudio("false")])
// .then(() => { // .then(() => {
Promise.all([node.getComponent("card").asyncDoFlip(), this.clickNode1.getComponent("card").asyncDoFlip()]) Promise.all([node.getComponent("card_duiduipeng").asyncDoFlip(), this.clickNode1.getComponent("card_duiduipeng").asyncDoFlip()])
.then(() => { .then(() => {
this.canTouch = true; this.canTouch = true;
this.clickNode1 = null this.clickNode1 = null
...@@ -371,7 +409,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -371,7 +409,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.tipN.active = false; this.tipN.active = false;
let children = this.cardParentN.children; let children = this.cardParentN.children;
for (let i = 0; i < children.length; i++) { for (let i = 0; i < children.length; i++) {
children[i].getComponent("card").asyncDoFlip(() => { children[i].getComponent("card_duiduipeng").asyncDoFlip(() => {
if (i == children.length - 1) this.startWatch(); if (i == children.length - 1) this.startWatch();
}) })
} }
...@@ -403,7 +441,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -403,7 +441,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
playLocalAudio(audioName,stopAll=true) { playLocalAudio(audioName,stopAll=true) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource); const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if(stopAll) cc.audioEngine.stopAll(); // if(stopAll) cc.audioEngine.stopAll();
const id = cc.audioEngine.playEffect(audio.clip, false); const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => { cc.audioEngine.setFinishCallback(id, () => {
...@@ -497,3 +535,4 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -497,3 +535,4 @@ export default class SceneComponent extends MyCocosSceneComponent {
// } // }
} }
import { defaultData } from "../script/defaultData"; import { defaultData } from "../script/defaultData_duiduipeng";
export class MyCocosSceneComponent extends cc.Component { export class MyCocosSceneComponent extends cc.Component {
...@@ -179,7 +179,7 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -179,7 +179,7 @@ export class MyCocosSceneComponent extends cc.Component {
return new Promise((resole, reject) => { return new Promise((resole, reject) => {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => { cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
if(audioClip){ if(audioClip){
cc.audioEngine.stopAll(); // cc.audioEngine.stopAll();
const audioId = cc.audioEngine.play(audioClip, false, 0.8); const audioId = cc.audioEngine.play(audioClip, false, 0.8);
cc.audioEngine.setFinishCallback(audioId, () => { cc.audioEngine.setFinishCallback(audioId, () => {
if(cb)cb(); if(cb)cb();
...@@ -199,4 +199,37 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -199,4 +199,37 @@ export class MyCocosSceneComponent extends cc.Component {
return Promise.resolve(); return Promise.resolve();
} }
} }
playBgAudioByUrl(audio_url, cb = null, loadCb = null) {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(null);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
const audioId = cc.audioEngine.playMusic(audioClip, true);
cc.audioEngine.setFinishCallback(audioId, () => {
cb && cb();
});
loadCb && loadCb(audioId);
resolve(audioId);
});
});
}
playAudioByUrl(audio_url, cb = null) {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(null);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
cc.audioEngine.setFinishCallback(audioId, () => {
cb && cb(audioId);
});
resolve(audioId);
});
});
}
stopAudio(audioId) {
if (audioId < 0) return;
cc.audioEngine.stopEffect(audioId);
}
} }
...@@ -2,6 +2,7 @@ export const defaultData = { ...@@ -2,6 +2,7 @@ export const defaultData = {
title: "标题标题", title: "标题标题",
questionText: "题目说明题目说明题目说明题目说明题目说明题目说明题目说明", questionText: "题目说明题目说明题目说明题目说明题目说明题目说明题目说明",
questionTextAudio: "http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3", questionTextAudio: "http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3",
"bgAudio": "https://staging-teach.cdn.ireadabc.com/ed84c18cc5f696ceaaf488ff98c228fe_l.mp3",
questions: [{ questions: [{
watchTime: 5, // 看题时间(秒) watchTime: 5, // 看题时间(秒)
gameTime: 10, // 游戏时间(秒) gameTime: 10, // 游戏时间(秒)
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 336, "height": 336,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "1orange_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "dabca43b-c1a7-4172-81f6-ef6127d1dd35", "uuid": "dabca43b-c1a7-4172-81f6-ef6127d1dd35",
"rawTextureUuid": "2a7fbc19-7b67-4ead-92a2-085ff53094e6", "rawTextureUuid": "2a7fbc19-7b67-4ead-92a2-085ff53094e6",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 720, "height": 720,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ec2aeba2-b70b-41d2-b2b6-58f4bf81368d", "uuid": "ec2aeba2-b70b-41d2-b2b6-58f4bf81368d",
"rawTextureUuid": "ca696dc9-8fe6-466f-bb6b-56b09f6271b2", "rawTextureUuid": "ca696dc9-8fe6-466f-bb6b-56b09f6271b2",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 67, "height": 67,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_left": { "btn_left_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "83419c05-6392-4a36-874e-762af37e2b72", "uuid": "83419c05-6392-4a36-874e-762af37e2b72",
"rawTextureUuid": "d84c192c-6fe9-4d56-98ca-4e2abf793372", "rawTextureUuid": "d84c192c-6fe9-4d56-98ca-4e2abf793372",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 67, "height": 67,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_right": { "btn_right_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "e14c490d-6f87-43b4-a94c-3763988c64ed", "uuid": "e14c490d-6f87-43b4-a94c-3763988c64ed",
"rawTextureUuid": "2dbc95c5-7119-44ce-96d4-f90c9469fa32", "rawTextureUuid": "2dbc95c5-7119-44ce-96d4-f90c9469fa32",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 144, "height": 144,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"icon": { "icon_duiduipeng": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "68e4d708-b7c4-4d97-9231-9c7d00e4298c", "uuid": "68e4d708-b7c4-4d97-9231-9c7d00e4298c",
"rawTextureUuid": "1122742b-2a4c-4f5b-8107-485a9c122efb", "rawTextureUuid": "1122742b-2a4c-4f5b-8107-485a9c122efb",
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<div style="display:flex ;"> <div style="display:flex ;">
<div> <div>
<app-audio-recorder [audioUrl]="item.questionTextAudio" <app-audio-recorder [audioUrl]="item.questionTextAudio"
(audioUploaded)="onAudioUploadSuccess($event, 'questionTextAudio')"></app-audio-recorder> (audioUploaded)="onAudioUploadSuccess($event, 'questionTextAudio',item,'audioName')"></app-audio-recorder>
</div> </div>
<div style="margin: 5px"> <div style="margin: 5px">
<span>{{ item.audioName}}</span> <span>{{ item.audioName}}</span>
...@@ -92,6 +92,31 @@ ...@@ -92,6 +92,31 @@
</div> </div>
</div> </div>
<div class="border-dashed" style="margin: 20px;width: 1000px;">
<div class="word-input-title">
<div>
<span>游戏背景音乐: </span>
</div>
<div>
<span style="color:rgb(201, 200, 200);margin-left:5px;font-size: 10px;"> *可不传,不传既无背景音乐</span>
</div>
</div>
<div style="display:flex ;margin-top: 10px;">
<div>
<app-audio-recorder [audioUrl]="item.bgAudio"
(audioUploaded)="onAudioUploadSuccess($event, 'bgAudio',item,'bgAudioName')">
</app-audio-recorder>
</div>
<div style="margin: 5px">
<span>{{ item.bgAudioName}}</span>
</div>
<div style="margin: 5px">
<span style="color: #169BD5;text-decoration: underline;" type="button" nzDanger
(click)="deleteBgAudio()">删除背景音</span>
</div>
</div>
</div>
<div style="margin: 20px;width: 1100px;"> <div style="margin: 20px;width: 1100px;">
<div *ngFor="let question of item.questions; let i = index"> <div *ngFor="let question of item.questions; let i = index">
...@@ -151,7 +176,7 @@ ...@@ -151,7 +176,7 @@
<div style="display: flex"> <div style="display: flex">
<div> <div>
<app-audio-recorder [audioUrl]="option.audio" <app-audio-recorder [audioUrl]="option.audio"
(audioUploaded)="onAudioUploadSuccess($event, 'audio', option)"> (audioUploaded)="onAudioUploadSuccess($event, 'audio', option,'audioName')">
</app-audio-recorder> </app-audio-recorder>
</div> </div>
<div style="margin: 5px"> <div style="margin: 5px">
...@@ -192,7 +217,7 @@ ...@@ -192,7 +217,7 @@
<div style="display: flex"> <div style="display: flex">
<div> <div>
<app-audio-recorder [audioUrl]="question.options[j+1].audio" <app-audio-recorder [audioUrl]="question.options[j+1].audio"
(audioUploaded)="onAudioUploadSuccess($event, 'audio', question.options[j+1])"> (audioUploaded)="onAudioUploadSuccess($event, 'audio', question.options[j+1],'audioName')">
</app-audio-recorder> </app-audio-recorder>
</div> </div>
<div style="margin: 5px"> <div style="margin: 5px">
......
...@@ -91,6 +91,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -91,6 +91,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
questionText: "调皮的小猫将魔法卡牌打乱了顺序,快去整理魔法卡牌吧!你只需要将魔法卡牌配对成功,即可获得该对魔法卡牌。在规定的时间内,尽可能获得更多的魔法卡牌。游戏结束,根据获得的魔法卡牌的数量,你将获得相应的能量石奖励哟!开始挑战吧!", questionText: "调皮的小猫将魔法卡牌打乱了顺序,快去整理魔法卡牌吧!你只需要将魔法卡牌配对成功,即可获得该对魔法卡牌。在规定的时间内,尽可能获得更多的魔法卡牌。游戏结束,根据获得的魔法卡牌的数量,你将获得相应的能量石奖励哟!开始挑战吧!",
questionTextAudio: "http://staging-teach.cdn.ireadabc.com/cdff4df1edf580c26dcede1a9a1fd9db.mp3", questionTextAudio: "http://staging-teach.cdn.ireadabc.com/cdff4df1edf580c26dcede1a9a1fd9db.mp3",
questions: [], questions: [],
bgAudio: "",
bgAudioName: "",
audioName: "" audioName: ""
}; };
...@@ -144,20 +146,34 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -144,20 +146,34 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
it[key] = e.url; it[key] = e.url;
this.save(); this.save();
} }
deleteBgAudio() {
this.item.bgAudio = "";
this.item.bgAudioName = "";
this.save();
}
/** onAudioUploadSuccess(e, key, it = this.item,audioName) {
* 储存音频数据
* @param e
*/
onAudioUploadSuccess(e, key, it = this.item) {
let url = e.url; let url = e.url;
let sp = url.split(".mp3"); let sp = url.split(".mp3");
let u = sp[0] + "_l.mp3"; let u = sp[0] + "_l.mp3";
it[key] = u; it[key] = u;
it["audioName"] = e.name || ""; it[audioName] = e.name || "";
this.save(); this.save();
} }
/**
* 储存音频数据
* @param e
*/
// onAudioUploadSuccess(e, key, it = this.item) {
// let url = e.url;
// let sp = url.split(".mp3");
// let u = sp[0] + "_l.mp3";
// it[key] = u;
// it["audioName"] = e.name || "";
// this.save();
// }
/** /**
* 储存数据 * 储存数据
*/ */
......
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