Commit 3ce0f3f5 authored by Tt's avatar Tt

修改提交

parent 3cbb15a6
......@@ -11,6 +11,7 @@ const { ccclass, property } = cc._decorator;
export default class LayerBack extends cc.Component {
private btn_back: cc.Node;
private img_npc_voice: cc.Node;
private bg_forbid: cc.Node;
onLoad() {
this.initView();
this.initEvent();
......@@ -19,6 +20,7 @@ export default class LayerBack extends cc.Component {
initView() {
this.bg_forbid = pg.view.find(this, 'bg_forbid')
this.btn_back = pg.view.find(this, 'btn_back')
this.label_title = pg.view.find(this, 'label_title')
this.img_npc_voice = pg.view.find(this.label_title, 'img_npc_voice')
......@@ -27,8 +29,8 @@ export default class LayerBack extends cc.Component {
private npcTitle: string;
private npcAudio: string;
updateView(data) {
this.npcTitle = data.npcTitle || '';
this.npcAudio = data.npcAudio || '';
this.npcTitle = data.npcTitle
this.npcAudio = data.npcAudio
pg.view.visible(this.img_npc_voice, this.npcAudio)
pg.view.visible(this.label_title, this.npcTitle)
pg.view.setString(this.label_title, this.npcTitle);
......@@ -38,6 +40,7 @@ export default class LayerBack extends cc.Component {
pg.event.on('npc_layer_back_init', (data) => {
this.updateView(data);
if (!this.npcAudio) {
pg.view.visible(this.bg_forbid, false)
pg.event.emit('npc_voice_play_voice_end');
} else {
this.playVoiceStart();
......@@ -55,6 +58,7 @@ export default class LayerBack extends cc.Component {
this.schedule(this.playVoiceRunning, 0.3)
pg.audio.playAudioByUrl(this.npcAudio, () => {
this.playVoiceEnd();
pg.view.visible(this.bg_forbid, false)
pg.event.emit('npc_voice_play_voice_end')
}, (audioId) => {
this.audioId = audioId;
......
......@@ -21,20 +21,23 @@
"__id__": 2
},
{
"__id__": 7
"__id__": 6
},
{
"__id__": 11
}
],
"_active": true,
"_components": [
{
"__id__": 22
"__id__": 27
},
{
"__id__": 23
"__id__": 28
}
],
"_prefab": {
"__id__": 24
"__id__": 29
},
"_opacity": 255,
"_color": {
......@@ -85,7 +88,7 @@
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_name": "bg_forbid",
"_objFlags": 0,
"_parent": {
"__id__": 1
......@@ -98,13 +101,128 @@
},
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "07DTTDThBNdJCrgpsUtJSh",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
},
{
"__id__": 8
},
{
"__id__": 5
"__id__": 9
}
],
"_prefab": {
"__id__": 6
"__id__": 10
},
"_opacity": 255,
"_color": {
......@@ -158,7 +276,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 6
},
"_enabled": true,
"_materials": [
......@@ -190,7 +308,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 6
},
"_enabled": true,
"_normalMaterial": null,
......@@ -258,7 +376,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 6
},
"_enabled": true,
"alignMode": 1,
......@@ -300,17 +418,20 @@
},
"_children": [
{
"__id__": 8
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 24
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 21
"__id__": 26
},
"_opacity": 255,
"_color": {
......@@ -364,27 +485,27 @@
"_name": "img_npc_voice",
"_objFlags": 0,
"_parent": {
"__id__": 7
"__id__": 11
},
"_children": [
{
"__id__": 9
"__id__": 13
},
{
"__id__": 12
"__id__": 16
},
{
"__id__": 15
"__id__": 19
}
],
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 22
}
],
"_prefab": {
"__id__": 19
"__id__": 23
},
"_opacity": 255,
"_color": {
......@@ -438,17 +559,17 @@
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
"__id__": 14
}
],
"_prefab": {
"__id__": 11
"__id__": 15
},
"_opacity": 255,
"_color": {
......@@ -502,7 +623,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
"__id__": 13
},
"_enabled": true,
"_materials": [
......@@ -545,17 +666,17 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 12
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 13
"__id__": 17
}
],
"_prefab": {
"__id__": 14
"__id__": 18
},
"_opacity": 255,
"_color": {
......@@ -609,7 +730,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 16
},
"_enabled": true,
"_materials": [
......@@ -652,17 +773,17 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 8
"__id__": 12
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 16
"__id__": 20
}
],
"_prefab": {
"__id__": 17
"__id__": 21
},
"_opacity": 255,
"_color": {
......@@ -716,7 +837,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
"__id__": 19
},
"_enabled": true,
"_materials": [
......@@ -759,7 +880,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
"__id__": 12
},
"_enabled": true,
"alignMode": 2,
......@@ -797,7 +918,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
"__id__": 11
},
"_enabled": true,
"_materials": [
......@@ -827,6 +948,33 @@
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 274.52700000000004,
"_right": 0,
"_top": 67.39999999999998,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
......
......@@ -11,7 +11,7 @@
"height": 117,
"platformSettings": {},
"subMetas": {
"back_hy11_paopao": {
"back_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "92327074-92fd-4d4a-a8aa-32f7ed514ab1",
"rawTextureUuid": "d3006e79-2315-4059-8aee-8e7a4d56121f",
......
......@@ -11,7 +11,7 @@
"height": 70,
"platformSettings": {},
"subMetas": {
"pic_icon_tiger1_hy11_paopao": {
"pic_icon_tiger1_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "008bbd55-b1e7-4e82-bf54-f6cf40ebb738",
"rawTextureUuid": "593366d0-c41f-40dd-8cfa-72e2fbdb78b8",
......
......@@ -11,7 +11,7 @@
"height": 70,
"platformSettings": {},
"subMetas": {
"pic_icon_tiger2_hy11_paopao": {
"pic_icon_tiger2_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "603d0882-deba-4173-8432-b9da5e547d20",
"rawTextureUuid": "f6f170f4-59de-40e0-b666-1ddaf58a6997",
......
......@@ -11,7 +11,7 @@
"height": 70,
"platformSettings": {},
"subMetas": {
"pic_icon_tiger_hy11_paopao": {
"pic_icon_tiger_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "5d214bcc-ae6a-48b2-8e3e-693089d66911",
"rawTextureUuid": "ffa50fcc-6561-4673-8e93-5e4abf03d963",
......
......@@ -21,7 +21,8 @@ export default class LayerEnding extends cc.Component {
pg.view.touchOn(this.replay_btn, this.onTouchReplay, this)
pg.view.touchOn(this.next_btn, this.onTouchNext, this)
pg.event.on('layer_ending_show', (data) => {
this.showLayer(data);
// this.showLayer(data);
this.onTouchNext();
})
}
showLayer(data) {
......
......@@ -78,28 +78,28 @@
"__id__": 35
},
{
"__id__": 59
"__id__": 64
},
{
"__id__": 81
"__id__": 86
},
{
"__id__": 126
"__id__": 131
},
{
"__id__": 165
"__id__": 170
}
],
"_active": true,
"_components": [
{
"__id__": 181
"__id__": 186
},
{
"__id__": 182
"__id__": 187
},
{
"__id__": 183
"__id__": 188
}
],
"_prefab": null,
......@@ -1539,20 +1539,23 @@
"__id__": 36
},
{
"__id__": 41
"__id__": 40
},
{
"__id__": 45
}
],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 61
},
{
"__id__": 57
"__id__": 62
}
],
"_prefab": {
"__id__": 58
"__id__": 63
},
"_opacity": 255,
"_color": {
......@@ -1599,11 +1602,11 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "79nIB1961PQ48PxADsSduY"
"_id": "c63iPk9SZGZb009K2qDTU1"
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_name": "bg_forbid",
"_objFlags": 0,
"_parent": {
"__id__": 35
......@@ -1616,13 +1619,128 @@
},
{
"__id__": 38
}
],
"_prefab": {
"__id__": 39
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "7aoyeKMrRLopH5TuXiizkN"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "17bzpySIlEGa9AmJeWOJaV"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"_id": "3au4f4pJlISJR1OhCxDirb"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 35
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "07DTTDThBNdJCrgpsUtJSh",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 42
},
{
"__id__": 39
"__id__": 43
}
],
"_prefab": {
"__id__": 40
"__id__": 44
},
"_opacity": 255,
"_color": {
......@@ -1669,14 +1787,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "eesNu3oy1CjZHTvJYCgNep"
"_id": "ee/E0smIlFRIT3XgK6A+Wl"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 40
},
"_enabled": true,
"_materials": [
......@@ -1701,14 +1819,14 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "52GMkYokpJaopDa9i42FxY"
"_id": "d7P9OHk4tECLuVdDILt+xu"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 40
},
"_enabled": true,
"_normalMaterial": null,
......@@ -1769,14 +1887,14 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "31/0JEZlZF7peYZwXHr3YN"
"_id": "b2lMeiXBdJjqufJdxmcyH/"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 40
},
"_enabled": true,
"alignMode": 1,
......@@ -1796,7 +1914,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "dcoWotHiBPJr56Gs5lrQVB"
"_id": "09/48kinRK8rcTJd/G+Rpq"
},
{
"__type__": "cc.PrefabInfo",
......@@ -1818,17 +1936,20 @@
},
"_children": [
{
"__id__": 42
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 58
},
{
"__id__": 59
}
],
"_prefab": {
"__id__": 55
"__id__": 60
},
"_opacity": 255,
"_color": {
......@@ -1840,7 +1961,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150.74,
"width": 152.6,
"height": 63
},
"_anchorPoint": {
......@@ -1875,34 +1996,34 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7b+lqItfhFsos9WyhXrCFc"
"_id": "92WnWVEYBPWLkdPtFdBaEm"
},
{
"__type__": "cc.Node",
"_name": "img_npc_voice",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 45
},
"_children": [
{
"__id__": 43
"__id__": 47
},
{
"__id__": 46
"__id__": 50
},
{
"__id__": 49
"__id__": 53
}
],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 56
}
],
"_prefab": {
"__id__": 53
"__id__": 57
},
"_opacity": 255,
"_color": {
......@@ -1926,7 +2047,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
208.95399999999995,
210.81399999999996,
0,
0,
0,
......@@ -1949,24 +2070,24 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "78zLKRGrBOPZ6y2czhpL7E"
"_id": "6aN2XRfilBGp5gapXvqSqm"
},
{
"__type__": "cc.Node",
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 48
}
],
"_prefab": {
"__id__": 45
"__id__": 49
},
"_opacity": 255,
"_color": {
......@@ -2013,14 +2134,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3f2SpucrVBhYdakul8LpDa"
"_id": "32KIIv++FEr6pUGHPsDiTd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 47
},
"_enabled": true,
"_materials": [
......@@ -2045,7 +2166,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9bQAklXClLQq8an9277r8D"
"_id": "e5qq2UXupIopYjaRezmrHa"
},
{
"__type__": "cc.PrefabInfo",
......@@ -2063,17 +2184,17 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 46
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 47
"__id__": 51
}
],
"_prefab": {
"__id__": 48
"__id__": 52
},
"_opacity": 255,
"_color": {
......@@ -2120,14 +2241,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8dshvskj1Eo5Azg+UrkInM"
"_id": "8eXxKBsxNITqiYOGsPZuPu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 50
},
"_enabled": true,
"_materials": [
......@@ -2152,7 +2273,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8c8edOyEhO0p3OwK37Zssc"
"_id": "971QmBPwxJC61e/xvWLs1O"
},
{
"__type__": "cc.PrefabInfo",
......@@ -2170,17 +2291,17 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 46
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 50
"__id__": 54
}
],
"_prefab": {
"__id__": 51
"__id__": 55
},
"_opacity": 255,
"_color": {
......@@ -2227,14 +2348,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "74CETPpCZLlbjaNzTwSXX0"
"_id": "985HlOvGNPv4/fhx03b+PA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
"__id__": 53
},
"_enabled": true,
"_materials": [
......@@ -2259,7 +2380,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2f/vxRXxRLx50zgy8nV+uO"
"_id": "3bzQVlbzxLDLXP0XEJcWpr"
},
{
"__type__": "cc.PrefabInfo",
......@@ -2277,7 +2398,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 46
},
"_enabled": true,
"alignMode": 2,
......@@ -2297,7 +2418,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "edmBYEjt9Cbbr2aCH7Ud6w"
"_id": "88EJYatgJAf4ZW7ezrAUp3"
},
{
"__type__": "cc.PrefabInfo",
......@@ -2315,7 +2436,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 45
},
"_enabled": true,
"_materials": [
......@@ -2343,7 +2464,34 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "efaGp8Vm5EuIR11zLf8EEh"
"_id": "f038HFWHBELYAGrxtF0EdI"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 274.52700000000004,
"_right": 0,
"_top": 67.39999999999998,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "abVLg4bndBSof8tA3F4k6a"
},
{
"__type__": "cc.PrefabInfo",
......@@ -2381,7 +2529,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "eek6OAfeJCeLiojmQYTB4S"
"_id": "9fg3DfNjxNX4tqU83wHarN"
},
{
"__type__": "7ab71itR/hJz4giCFo5yFB1",
......@@ -2391,7 +2539,7 @@
"__id__": 35
},
"_enabled": true,
"_id": "70AthmXTNKdpGRbsDMbn3b"
"_id": "f2D/Do/7lHUrGqfG3iPZXb"
},
{
"__type__": "cc.PrefabInfo",
......@@ -2413,20 +2561,20 @@
},
"_children": [
{
"__id__": 60
"__id__": 65
},
{
"__id__": 74
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 84
}
],
"_prefab": {
"__id__": 80
"__id__": 85
},
"_opacity": 255,
"_color": {
......@@ -2480,26 +2628,26 @@
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 64
},
"_children": [
{
"__id__": 61
"__id__": 66
},
{
"__id__": 64
"__id__": 69
},
{
"__id__": 67
"__id__": 72
},
{
"__id__": 70
"__id__": 75
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 73
"__id__": 78
},
"_opacity": 255,
"_color": {
......@@ -2553,17 +2701,17 @@
"_name": "bg_gray",
"_objFlags": 0,
"_parent": {
"__id__": 60
"__id__": 65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
"__id__": 67
}
],
"_prefab": {
"__id__": 63
"__id__": 68
},
"_opacity": 102,
"_color": {
......@@ -2617,7 +2765,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
"__id__": 66
},
"_enabled": true,
"_materials": [
......@@ -2647,7 +2795,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -2660,17 +2808,17 @@
"_name": "aniNode1",
"_objFlags": 0,
"_parent": {
"__id__": 60
"__id__": 65
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 65
"__id__": 70
}
],
"_prefab": {
"__id__": 66
"__id__": 71
},
"_opacity": 255,
"_color": {
......@@ -2724,7 +2872,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 69
},
"_enabled": true,
"_materials": [
......@@ -2762,7 +2910,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -2775,17 +2923,17 @@
"_name": "aniNode2",
"_objFlags": 0,
"_parent": {
"__id__": 60
"__id__": 65
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 68
"__id__": 73
}
],
"_prefab": {
"__id__": 69
"__id__": 74
},
"_opacity": 255,
"_color": {
......@@ -2839,7 +2987,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 72
},
"_enabled": true,
"_materials": [
......@@ -2875,7 +3023,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -2888,17 +3036,17 @@
"_name": "aniNode3",
"_objFlags": 0,
"_parent": {
"__id__": 60
"__id__": 65
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 71
"__id__": 76
}
],
"_prefab": {
"__id__": 72
"__id__": 77
},
"_opacity": 255,
"_color": {
......@@ -2952,7 +3100,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -2990,7 +3138,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -3001,7 +3149,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -3014,17 +3162,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 64
},
"_children": [
{
"__id__": 75
"__id__": 80
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 78
"__id__": 83
},
"_opacity": 255,
"_color": {
......@@ -3078,17 +3226,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 74
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 81
}
],
"_prefab": {
"__id__": 77
"__id__": 82
},
"_opacity": 255,
"_color": {
......@@ -3142,7 +3290,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 80
},
"_enabled": true,
"_clip": {
......@@ -3159,7 +3307,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -3170,7 +3318,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -3183,7 +3331,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 64
},
"_enabled": true,
"_id": "cd6KWWmAZF07b8wsLxTX4q"
......@@ -3191,7 +3339,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 59
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -3208,29 +3356,29 @@
},
"_children": [
{
"__id__": 82
"__id__": 87
},
{
"__id__": 96
"__id__": 101
},
{
"__id__": 105
"__id__": 110
},
{
"__id__": 114
"__id__": 119
}
],
"_active": true,
"_components": [
{
"__id__": 123
"__id__": 128
},
{
"__id__": 124
"__id__": 129
}
],
"_prefab": {
"__id__": 125
"__id__": 130
},
"_opacity": 255,
"_color": {
......@@ -3284,26 +3432,26 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 86
},
"_children": [
{
"__id__": 83
"__id__": 88
},
{
"__id__": 86
"__id__": 91
},
{
"__id__": 89
"__id__": 94
},
{
"__id__": 92
"__id__": 97
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 95
"__id__": 100
},
"_opacity": 255,
"_color": {
......@@ -3357,17 +3505,17 @@
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
"__id__": 89
}
],
"_prefab": {
"__id__": 85
"__id__": 90
},
"_opacity": 255,
"_color": {
......@@ -3421,7 +3569,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 88
},
"_enabled": true,
"_clip": {
......@@ -3438,7 +3586,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3451,17 +3599,17 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 92
}
],
"_prefab": {
"__id__": 88
"__id__": 93
},
"_opacity": 255,
"_color": {
......@@ -3515,7 +3663,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 91
},
"_enabled": true,
"_clip": {
......@@ -3532,7 +3680,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3545,17 +3693,17 @@
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 95
}
],
"_prefab": {
"__id__": 91
"__id__": 96
},
"_opacity": 255,
"_color": {
......@@ -3609,7 +3757,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 94
},
"_enabled": true,
"_clip": {
......@@ -3626,7 +3774,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3639,17 +3787,17 @@
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 82
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 98
}
],
"_prefab": {
"__id__": 94
"__id__": 99
},
"_opacity": 255,
"_color": {
......@@ -3703,7 +3851,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 97
},
"_enabled": true,
"_clip": {
......@@ -3720,7 +3868,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3731,7 +3879,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3744,24 +3892,24 @@
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 86
},
"_children": [
{
"__id__": 97
"__id__": 102
},
{
"__id__": 100
"__id__": 105
}
],
"_active": false,
"_components": [
{
"__id__": 103
"__id__": 108
}
],
"_prefab": {
"__id__": 104
"__id__": 109
},
"_opacity": 255,
"_color": {
......@@ -3815,17 +3963,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 96
"__id__": 101
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 103
}
],
"_prefab": {
"__id__": 99
"__id__": 104
},
"_opacity": 150,
"_color": {
......@@ -3879,7 +4027,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 102
},
"_enabled": true,
"_materials": [
......@@ -3909,7 +4057,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3922,17 +4070,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 96
"__id__": 101
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 106
}
],
"_prefab": {
"__id__": 102
"__id__": 107
},
"_opacity": 255,
"_color": {
......@@ -3986,7 +4134,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -4024,7 +4172,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4037,7 +4185,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 101
},
"_enabled": true,
"alignMode": 1,
......@@ -4062,7 +4210,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4075,24 +4223,24 @@
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 86
},
"_children": [
{
"__id__": 106
"__id__": 111
},
{
"__id__": 109
"__id__": 114
}
],
"_active": false,
"_components": [
{
"__id__": 112
"__id__": 117
}
],
"_prefab": {
"__id__": 113
"__id__": 118
},
"_opacity": 255,
"_color": {
......@@ -4146,17 +4294,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 105
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
"__id__": 112
}
],
"_prefab": {
"__id__": 108
"__id__": 113
},
"_opacity": 150,
"_color": {
......@@ -4210,7 +4358,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 111
},
"_enabled": true,
"_materials": [
......@@ -4240,7 +4388,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4253,17 +4401,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 105
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
"__id__": 115
}
],
"_prefab": {
"__id__": 111
"__id__": 116
},
"_opacity": 255,
"_color": {
......@@ -4317,7 +4465,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -4355,7 +4503,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4368,7 +4516,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 110
},
"_enabled": true,
"alignMode": 1,
......@@ -4393,7 +4541,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4406,24 +4554,24 @@
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 86
},
"_children": [
{
"__id__": 115
"__id__": 120
},
{
"__id__": 118
"__id__": 123
}
],
"_active": false,
"_components": [
{
"__id__": 121
"__id__": 126
}
],
"_prefab": {
"__id__": 122
"__id__": 127
},
"_opacity": 255,
"_color": {
......@@ -4477,17 +4625,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 114
"__id__": 119
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 116
"__id__": 121
}
],
"_prefab": {
"__id__": 117
"__id__": 122
},
"_opacity": 150,
"_color": {
......@@ -4541,7 +4689,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
"__id__": 120
},
"_enabled": true,
"_materials": [
......@@ -4571,7 +4719,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4584,17 +4732,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 114
"__id__": 119
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 124
}
],
"_prefab": {
"__id__": 120
"__id__": 125
},
"_opacity": 255,
"_color": {
......@@ -4648,7 +4796,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 123
},
"_enabled": true,
"_materials": [
......@@ -4686,7 +4834,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4699,7 +4847,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 119
},
"_enabled": true,
"alignMode": 1,
......@@ -4724,7 +4872,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4737,7 +4885,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 86
},
"_enabled": true,
"alignMode": 1,
......@@ -4764,7 +4912,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 86
},
"_enabled": true,
"_id": "dfyLCeykdLdarjf4IufXfR"
......@@ -4772,7 +4920,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 81
"__id__": 86
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4789,20 +4937,20 @@
},
"_children": [
{
"__id__": 127
"__id__": 132
},
{
"__id__": 158
"__id__": 163
}
],
"_active": true,
"_components": [
{
"__id__": 163
"__id__": 168
}
],
"_prefab": {
"__id__": 164
"__id__": 169
},
"_opacity": 255,
"_color": {
......@@ -4856,35 +5004,35 @@
"_name": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 126
"__id__": 131
},
"_children": [
{
"__id__": 128
"__id__": 133
},
{
"__id__": 131
"__id__": 136
},
{
"__id__": 133
"__id__": 138
},
{
"__id__": 136
"__id__": 141
},
{
"__id__": 139
"__id__": 144
},
{
"__id__": 142
"__id__": 147
},
{
"__id__": 145
"__id__": 150
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 157
"__id__": 162
},
"_opacity": 255,
"_color": {
......@@ -4938,17 +5086,17 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 134
}
],
"_prefab": {
"__id__": 130
"__id__": 135
},
"_opacity": 102,
"_color": {
......@@ -5002,7 +5150,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 133
},
"_enabled": true,
"_materials": [
......@@ -5032,7 +5180,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5045,13 +5193,13 @@
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 132
"__id__": 137
},
"_opacity": 255,
"_color": {
......@@ -5103,7 +5251,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5116,17 +5264,17 @@
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
"__id__": 139
}
],
"_prefab": {
"__id__": 135
"__id__": 140
},
"_opacity": 255,
"_color": {
......@@ -5180,7 +5328,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 138
},
"_enabled": true,
"_materials": [
......@@ -5210,7 +5358,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5223,17 +5371,17 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 137
"__id__": 142
}
],
"_prefab": {
"__id__": 138
"__id__": 143
},
"_opacity": 255,
"_color": {
......@@ -5287,7 +5435,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
"__id__": 141
},
"_enabled": true,
"_materials": [
......@@ -5317,7 +5465,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5330,17 +5478,17 @@
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 140
"__id__": 145
}
],
"_prefab": {
"__id__": 141
"__id__": 146
},
"_opacity": 255,
"_color": {
......@@ -5394,7 +5542,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
"__id__": 144
},
"_enabled": true,
"_materials": [
......@@ -5432,7 +5580,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5445,17 +5593,17 @@
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 143
"__id__": 148
}
],
"_prefab": {
"__id__": 144
"__id__": 149
},
"_opacity": 255,
"_color": {
......@@ -5509,7 +5657,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
"__id__": 147
},
"_enabled": true,
"_materials": [
......@@ -5539,7 +5687,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5552,27 +5700,27 @@
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 127
"__id__": 132
},
"_children": [
{
"__id__": 146
"__id__": 151
},
{
"__id__": 149
"__id__": 154
},
{
"__id__": 152
"__id__": 157
}
],
"_active": true,
"_components": [
{
"__id__": 155
"__id__": 160
}
],
"_prefab": {
"__id__": 156
"__id__": 161
},
"_opacity": 255,
"_color": {
......@@ -5626,17 +5774,17 @@
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 150
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 147
"__id__": 152
}
],
"_prefab": {
"__id__": 148
"__id__": 153
},
"_opacity": 255,
"_color": {
......@@ -5690,7 +5838,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 151
},
"_enabled": true,
"_materials": [
......@@ -5721,7 +5869,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5734,17 +5882,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 150
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 150
"__id__": 155
}
],
"_prefab": {
"__id__": 151
"__id__": 156
},
"_opacity": 255,
"_color": {
......@@ -5798,7 +5946,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 149
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -5828,7 +5976,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5841,17 +5989,17 @@
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 150
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
"__id__": 158
}
],
"_prefab": {
"__id__": 154
"__id__": 159
},
"_opacity": 255,
"_color": {
......@@ -5905,7 +6053,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 157
},
"_enabled": true,
"_materials": [
......@@ -5936,7 +6084,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5949,7 +6097,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
"__id__": 150
},
"_enabled": true,
"_materials": [
......@@ -5979,7 +6127,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5990,7 +6138,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6003,17 +6151,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 126
"__id__": 131
},
"_children": [
{
"__id__": 159
"__id__": 164
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 162
"__id__": 167
},
"_opacity": 255,
"_color": {
......@@ -6067,17 +6215,17 @@
"_name": "ending",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 163
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
"__id__": 165
}
],
"_prefab": {
"__id__": 161
"__id__": 166
},
"_opacity": 255,
"_color": {
......@@ -6131,7 +6279,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 164
},
"_enabled": true,
"_clip": {
......@@ -6148,7 +6296,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6159,7 +6307,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6172,7 +6320,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
"__id__": 131
},
"_enabled": true,
"_id": "25ddaKAcdGSIz4meYgvtkV"
......@@ -6180,7 +6328,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 126
"__id__": 131
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6197,13 +6345,13 @@
},
"_children": [
{
"__id__": 166
"__id__": 171
},
{
"__id__": 169
"__id__": 174
},
{
"__id__": 172
"__id__": 177
}
],
"_active": false,
......@@ -6261,11 +6409,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 170
},
"_children": [
{
"__id__": 167
"__id__": 172
}
],
"_active": true,
......@@ -6323,13 +6471,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 166
"__id__": 171
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 168
"__id__": 173
}
],
"_prefab": null,
......@@ -6385,7 +6533,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 167
"__id__": 172
},
"_enabled": true,
"_materials": [],
......@@ -6416,11 +6564,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 170
},
"_children": [
{
"__id__": 170
"__id__": 175
}
],
"_active": true,
......@@ -6478,13 +6626,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 169
"__id__": 174
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 171
"__id__": 176
}
],
"_prefab": null,
......@@ -6540,7 +6688,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 170
"__id__": 175
},
"_enabled": true,
"_materials": [],
......@@ -6568,20 +6716,20 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 170
},
"_children": [
{
"__id__": 173
"__id__": 178
},
{
"__id__": 175
"__id__": 180
},
{
"__id__": 177
"__id__": 182
},
{
"__id__": 179
"__id__": 184
}
],
"_active": true,
......@@ -6639,13 +6787,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
"__id__": 179
}
],
"_prefab": null,
......@@ -6701,7 +6849,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
"__id__": 178
},
"_enabled": true,
"_clip": {
......@@ -6720,13 +6868,13 @@
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 176
"__id__": 181
}
],
"_prefab": null,
......@@ -6782,7 +6930,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 175
"__id__": 180
},
"_enabled": true,
"_clip": {
......@@ -6801,13 +6949,13 @@
"_name": "create",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 178
"__id__": 183
}
],
"_prefab": null,
......@@ -6863,7 +7011,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 177
"__id__": 182
},
"_enabled": true,
"_clip": {
......@@ -6882,13 +7030,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 180
"__id__": 185
}
],
"_prefab": null,
......@@ -6944,7 +7092,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
"__id__": 184
},
"_enabled": true,
"_clip": {
......
......@@ -13,8 +13,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
addPreloadAudio() {
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.audio_url });
let audios = [];
function checkAudio(obj) {
for (let idx in obj) {
if (typeof obj[idx] == "object") {
checkAudio(obj[idx]);
} else if (typeof obj[idx] == "string") {
if (obj[idx].indexOf(".mp3") > -1) audios.push(obj[idx]);
}
}
}
checkAudio(this.data)
this._audioResList = audios;
}
addPreloadAnima() {
......@@ -188,7 +198,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.hw.playLocalAudio('error')
// 失败 泡泡左右微晃两次
cc.tween(pg.view.find(item, 'bubble'))
.to(0.1, { x: -5 }).to(0.1, { x: 0 }).to(0.1, { x: 5 }).to(0.1, { x: 0 })
.to(0.1, { x: -15 })
.to(0.1, { x: 0 })
.to(0.1, { x: 15 })
.to(0.1, { x: 0 })
.start()
}
}
......
export const defaultData =
{
"onlineFlg": false,
"title": "钓鱼大作战", "questionText": "海洋里有很多鱼,每条鱼身上都藏着魔法信息!亲爱的小玩家,请仔细听游戏指令,找到含有正确魔法信息的鱼,快速完成钓鱼。 在本次的游戏中,你将和其他玩家进行PK,游戏结束,钓鱼数量最多的玩家,将获得胜利。最后根据钓鱼的数量,你将获得相应的能量石奖励!开始挑战吧!", "questionTextAudio": "http://staging-teach.cdn.ireadabc.com/e422c682ff3304a532937db64573caa4.mp3", "questions": [{
"questionAudio": "http://staging-teach.cdn.ireadabc.com/c9db9c8f9c256b928a7f0e1498963404_l.mp3", "duration": 120,
"options": [
{
"type": "img", "image": "http://staging-teach.cdn.ireadabc.com/7782399d0ad0b9578b2109c620d64465.png", "audio": "", "text": "", "right": true
},
{
"type": "img", "image": "http://staging-teach.cdn.ireadabc.com/e283a9417dbb578b83c05c5969b4865b.png", "audio": "", "text": "", "right": true
}], "audioName": "ready go.mp3"
},
{
"questionAudio": "http://staging-teach.cdn.ireadabc.com/cb76dbc838567b58e2af36e2d2faa923_l.mp3", "duration": 120, "options": [{ "type": "txt", "image": "", "audio": "", "text": "push", "right": false }, { "type": "txt", "image": "", "audio": "", "text": "monkey", "right": true }, { "type": "txt", "image": "", "audio": "", "text": "book", "right": true }, { "type": "txt", "image": "", "audio": "", "text": "bee", "right": false }
], "audioName": "图片卡片出现.mp3"
}], "bgAudio": "", "bgAudioName": "", "audioName": ""
"recordFlag": false,
"title": "",
"questionText": "",
"questionTextAudio": "",
"questions": [
{
"questionAudio": "http://staging-teach.cdn.ireadabc.com/172fad3743476ac9c668eb8a82d5eca1_l.mp3",
"duration": 120,
"options": [
{
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/e921b21c9ac22a623497b79cf849a421.png",
"audio": "",
"text": "",
"duration": "",
"content": "",
"right": true
},
{
"type": "txt",
"image": "",
"audio": "",
"text": "bad",
"duration": "",
"content": "",
"right": true
},
{
"type": "txt",
"image": "",
"audio": "",
"text": "old",
"duration": "",
"content": "",
"right": false
},
{
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/a56eecb3dd57ef0aca8c52c721717ed5.png",
"audio": "",
"text": "",
"duration": "",
"content": "",
"right": false
},
{
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/e184e067fc931d55fce93c9937a26c51.png",
"audio": "",
"text": "",
"duration": "",
"content": "",
"right": false
},
{
"type": "txt",
"image": "",
"audio": "",
"text": "Beijing Opera",
"duration": "",
"content": "",
"right": false
}
],
"audioName": "bad.mp3"
},
{
"questionAudio": "http://staging-teach.cdn.ireadabc.com/81c8ea51c42136db0fd61e78c38de7c9_l.mp3",
"duration": 120,
"options": [
{
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/a56eecb3dd57ef0aca8c52c721717ed5.png",
"audio": "",
"text": "",
"duration": "",
"content": "",
"right": true
},
{
"type": "txt",
"image": "",
"audio": "",
"text": "Beijing Opera",
"duration": "",
"content": "",
"right": true
},
{
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/b5f8a61a803e3d7b26b767959ff21e6b.png",
"audio": "",
"text": "",
"duration": "",
"content": "",
"right": false
},
{
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/e184e067fc931d55fce93c9937a26c51.png",
"audio": "",
"text": "",
"duration": "",
"content": "",
"right": false
},
{
"type": "txt",
"image": "",
"audio": "",
"text": "somersault",
"duration": "",
"content": "",
"right": false
},
{
"type": "txt",
"image": "",
"audio": "",
"text": "bad",
"duration": "",
"content": "",
"right": false
}
],
"audioName": "Beijing Opera.mp3"
}
],
"bgAudio": "",
"bgAudioName": "",
"audioName": "",
"npcTitle": "Warm UP",
"npcAudio": "http://staging-teach.cdn.ireadabc.com/cd8faccc65b1b6f89badcc87898a0559_l.mp3",
"npcAudioName": "HY11欢乐泡泡-听音并选择你认为正确的答案.mp3"
}
// {
// "onlineFlg": false,
// "title": "钓鱼大作战", "questionText": "海洋里有很多鱼,每条鱼身上都藏着魔法信息!亲爱的小玩家,请仔细听游戏指令,找到含有正确魔法信息的鱼,快速完成钓鱼。 在本次的游戏中,你将和其他玩家进行PK,游戏结束,钓鱼数量最多的玩家,将获得胜利。最后根据钓鱼的数量,你将获得相应的能量石奖励!开始挑战吧!", "questionTextAudio": "http://staging-teach.cdn.ireadabc.com/e422c682ff3304a532937db64573caa4.mp3", "questions": [{
// "questionAudio": "http://staging-teach.cdn.ireadabc.com/c9db9c8f9c256b928a7f0e1498963404_l.mp3", "duration": 120,
// "options": [
// {
// "type": "img", "image": "http://staging-teach.cdn.ireadabc.com/7782399d0ad0b9578b2109c620d64465.png", "audio": "", "text": "", "right": true
// },
// {
// "type": "img", "image": "http://staging-teach.cdn.ireadabc.com/e283a9417dbb578b83c05c5969b4865b.png", "audio": "", "text": "", "right": true
// }], "audioName": "ready go.mp3"
// },
// {
// "questionAudio": "http://staging-teach.cdn.ireadabc.com/cb76dbc838567b58e2af36e2d2faa923_l.mp3", "duration": 120, "options": [{ "type": "txt", "image": "", "audio": "", "text": "push", "right": false }, { "type": "txt", "image": "", "audio": "", "text": "monkey", "right": true }, { "type": "txt", "image": "", "audio": "", "text": "book", "right": true }, { "type": "txt", "image": "", "audio": "", "text": "bee", "right": false }
// ], "audioName": "图片卡片出现.mp3"
// }], "bgAudio": "", "bgAudioName": "", "audioName": ""
// }
// {
// "recordFlag": true,
// "title": "test",
......
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