Commit 204feca6 authored by Tt's avatar Tt

hy04修改完成

parent 1d755afa
......@@ -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')
......@@ -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": 1,
"_left": 0,
"_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": {
......
......@@ -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.onTouchNext();
// this.showLayer(data);
})
}
showLayer(data) {
......@@ -42,9 +43,12 @@ export default class LayerEnding extends cc.Component {
}
onTouchNext() {
pg.view.visible(this.layer_center, false)
console.log("下一题");
pg.view.visible(this.layer_center, false);
const middleLayer = cc.find('middleLayer');
if (!middleLayer) return;
const middleLayerComponent = middleLayer.getComponent('middleLayer');
if (!middleLayerComponent) return;
const { index, length } = middleLayerComponent.getPageInfo(); // 返回 length:有多少页; index: 当前第几页(从0开始)
if (index == length - 1) {
middleLayerComponent.goNextCross(); // 跳转到下一关卡
......
......@@ -87,28 +87,28 @@
"__id__": 282
},
{
"__id__": 306
"__id__": 311
},
{
"__id__": 328
"__id__": 333
},
{
"__id__": 373
"__id__": 378
},
{
"__id__": 412
"__id__": 417
}
],
"_active": true,
"_components": [
{
"__id__": 426
"__id__": 431
},
{
"__id__": 427
"__id__": 432
},
{
"__id__": 428
"__id__": 433
}
],
"_prefab": null,
......@@ -13196,7 +13196,7 @@
},
{
"__type__": "cc.Node",
"_name": "layer_back_hy01_danci",
"_name": "layer_back_hy04_pinci",
"_objFlags": 0,
"_parent": {
"__id__": 2
......@@ -13206,20 +13206,23 @@
"__id__": 283
},
{
"__id__": 288
"__id__": 287
},
{
"__id__": 292
}
],
"_active": true,
"_components": [
{
"__id__": 303
"__id__": 308
},
{
"__id__": 304
"__id__": 309
}
],
"_prefab": {
"__id__": 305
"__id__": 310
},
"_opacity": 255,
"_color": {
......@@ -13266,11 +13269,11 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "eeoS9/ccBEp4akryYGjVF3"
"_id": "97qCe9AkNAE7H67Z/OGp8S"
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_name": "bg_forbid",
"_objFlags": 0,
"_parent": {
"__id__": 282
......@@ -13283,13 +13286,128 @@
},
{
"__id__": 285
}
],
"_prefab": {
"__id__": 286
},
"_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": "866L5ukIdK07tve+ShDFqE"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 283
},
"_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": "1codwT45hLF6Z6awfmq47r"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 283
},
"_enabled": true,
"_id": "e796B9kKROOJzF0caJmpku"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 282
},
"asset": {
"__uuid__": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d"
},
"fileId": "07DTTDThBNdJCrgpsUtJSh",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 282
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 288
},
{
"__id__": 286
"__id__": 289
},
{
"__id__": 290
}
],
"_prefab": {
"__id__": 287
"__id__": 291
},
"_opacity": 255,
"_color": {
......@@ -13336,14 +13454,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "1fs/GNCd9BOaAimqGIYLOT"
"_id": "fdwq8uC4JETZMfx6stgN9g"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 283
"__id__": 287
},
"_enabled": true,
"_materials": [
......@@ -13368,14 +13486,14 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2dqlzgl45Bo67EJgkOQZfR"
"_id": "55/pAZE6RBpqRWglUHG0Xt"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 283
"__id__": 287
},
"_enabled": true,
"_normalMaterial": null,
......@@ -13436,14 +13554,14 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "c9Pj9VLeZPrJ/CXpolofc9"
"_id": "6eknF10mpGQI7SJXdeZ+Mu"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 283
"__id__": 287
},
"_enabled": true,
"alignMode": 1,
......@@ -13463,7 +13581,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "96UxygVipHmr1tUA5ZLAse"
"_id": "8dk4jiE0ZOhZCf/T7CuQm+"
},
{
"__type__": "cc.PrefabInfo",
......@@ -13485,17 +13603,20 @@
},
"_children": [
{
"__id__": 289
"__id__": 293
}
],
"_active": true,
"_components": [
{
"__id__": 301
"__id__": 305
},
{
"__id__": 306
}
],
"_prefab": {
"__id__": 302
"__id__": 307
},
"_opacity": 255,
"_color": {
......@@ -13542,34 +13663,34 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c2LyrpcUJJ97FMn5tpRolc"
"_id": "6bDz8yKCpBQoe/iAzQkY2c"
},
{
"__type__": "cc.Node",
"_name": "img_npc_voice",
"_objFlags": 0,
"_parent": {
"__id__": 288
"__id__": 292
},
"_children": [
{
"__id__": 290
"__id__": 294
},
{
"__id__": 293
"__id__": 297
},
{
"__id__": 296
"__id__": 300
}
],
"_active": true,
"_components": [
{
"__id__": 299
"__id__": 303
}
],
"_prefab": {
"__id__": 300
"__id__": 304
},
"_opacity": 255,
"_color": {
......@@ -13616,24 +13737,24 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4a4eH2DKRDU7aEcMEETEjn"
"_id": "b1lV20pzpDt5I/IszY/tLB"
},
{
"__type__": "cc.Node",
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 289
"__id__": 293
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 291
"__id__": 295
}
],
"_prefab": {
"__id__": 292
"__id__": 296
},
"_opacity": 255,
"_color": {
......@@ -13680,14 +13801,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "2aHRCyXnlO05etT23TPHja"
"_id": "4aGnXjr3BO7atK6JrAle8M"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 290
"__id__": 294
},
"_enabled": true,
"_materials": [
......@@ -13712,7 +13833,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "25iEExbKFOAaUQ23Z88Rua"
"_id": "e23qsNibpPGZO4a3P2tvgG"
},
{
"__type__": "cc.PrefabInfo",
......@@ -13730,17 +13851,17 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 289
"__id__": 293
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 294
"__id__": 298
}
],
"_prefab": {
"__id__": 295
"__id__": 299
},
"_opacity": 255,
"_color": {
......@@ -13787,14 +13908,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3enCoIsZxCR6L4m4fouTC3"
"_id": "a3x7UQdx5AEYu4w9PlWAa2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 293
"__id__": 297
},
"_enabled": true,
"_materials": [
......@@ -13819,7 +13940,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a6LaBhQ39OFrWdCdejcQnv"
"_id": "bfNHnNzjxHF58LB6BxAGZb"
},
{
"__type__": "cc.PrefabInfo",
......@@ -13837,17 +13958,17 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 289
"__id__": 293
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 297
"__id__": 301
}
],
"_prefab": {
"__id__": 298
"__id__": 302
},
"_opacity": 255,
"_color": {
......@@ -13894,14 +14015,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ceAuNCpCdGhJQRN7jCo7pi"
"_id": "6fOaPrBuhNUpu75c+8/rx6"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 296
"__id__": 300
},
"_enabled": true,
"_materials": [
......@@ -13926,7 +14047,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cdz27wTIBFQaEIUl+PQ/hL"
"_id": "9fxuXXnxhCvZSAp+JuXh0w"
},
{
"__type__": "cc.PrefabInfo",
......@@ -13944,7 +14065,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 289
"__id__": 293
},
"_enabled": true,
"alignMode": 2,
......@@ -13964,7 +14085,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "2d8sS/en5IOrvRsnKSNE2L"
"_id": "e0WDYEbGtF/JMx5ZFw0wLq"
},
{
"__type__": "cc.PrefabInfo",
......@@ -13982,7 +14103,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 288
"__id__": 292
},
"_enabled": true,
"_materials": [
......@@ -14010,7 +14131,34 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a1gXNJ9X5L1aTcBkoGMKqb"
"_id": "72/Bwz+6xE+LIJKpFF1KH+"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 292
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_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": "6cdUN94+hBYpu7mFP6EHws"
},
{
"__type__": "cc.PrefabInfo",
......@@ -14048,7 +14196,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "edajPn7kpJ06NI+B5cAbJV"
"_id": "fe4LUqkTdKEYF5fNAy625h"
},
{
"__type__": "7ab71itR/hJz4giCFo5yFB1",
......@@ -14058,7 +14206,7 @@
"__id__": 282
},
"_enabled": true,
"_id": "e8VhngPwNFP6zsmDvEN8I0"
"_id": "d2mm4NOYdOf4+QbPOPBKSx"
},
{
"__type__": "cc.PrefabInfo",
......@@ -14080,20 +14228,20 @@
},
"_children": [
{
"__id__": 307
"__id__": 312
},
{
"__id__": 321
"__id__": 326
}
],
"_active": true,
"_components": [
{
"__id__": 326
"__id__": 331
}
],
"_prefab": {
"__id__": 327
"__id__": 332
},
"_opacity": 255,
"_color": {
......@@ -14147,26 +14295,26 @@
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 306
"__id__": 311
},
"_children": [
{
"__id__": 308
"__id__": 313
},
{
"__id__": 311
"__id__": 316
},
{
"__id__": 314
"__id__": 319
},
{
"__id__": 317
"__id__": 322
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 320
"__id__": 325
},
"_opacity": 255,
"_color": {
......@@ -14220,17 +14368,17 @@
"_name": "bg_gray",
"_objFlags": 0,
"_parent": {
"__id__": 307
"__id__": 312
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 309
"__id__": 314
}
],
"_prefab": {
"__id__": 310
"__id__": 315
},
"_opacity": 102,
"_color": {
......@@ -14284,7 +14432,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 308
"__id__": 313
},
"_enabled": true,
"_materials": [
......@@ -14314,7 +14462,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14327,17 +14475,17 @@
"_name": "aniNode1",
"_objFlags": 0,
"_parent": {
"__id__": 307
"__id__": 312
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 312
"__id__": 317
}
],
"_prefab": {
"__id__": 313
"__id__": 318
},
"_opacity": 255,
"_color": {
......@@ -14391,7 +14539,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 311
"__id__": 316
},
"_enabled": true,
"_materials": [
......@@ -14429,7 +14577,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14442,17 +14590,17 @@
"_name": "aniNode2",
"_objFlags": 0,
"_parent": {
"__id__": 307
"__id__": 312
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 315
"__id__": 320
}
],
"_prefab": {
"__id__": 316
"__id__": 321
},
"_opacity": 255,
"_color": {
......@@ -14506,7 +14654,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 314
"__id__": 319
},
"_enabled": true,
"_materials": [
......@@ -14542,7 +14690,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14555,17 +14703,17 @@
"_name": "aniNode3",
"_objFlags": 0,
"_parent": {
"__id__": 307
"__id__": 312
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 318
"__id__": 323
}
],
"_prefab": {
"__id__": 319
"__id__": 324
},
"_opacity": 255,
"_color": {
......@@ -14619,7 +14767,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 317
"__id__": 322
},
"_enabled": true,
"_materials": [
......@@ -14657,7 +14805,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14668,7 +14816,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14681,17 +14829,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 306
"__id__": 311
},
"_children": [
{
"__id__": 322
"__id__": 327
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 325
"__id__": 330
},
"_opacity": 255,
"_color": {
......@@ -14745,17 +14893,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 321
"__id__": 326
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 323
"__id__": 328
}
],
"_prefab": {
"__id__": 324
"__id__": 329
},
"_opacity": 255,
"_color": {
......@@ -14809,7 +14957,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 322
"__id__": 327
},
"_enabled": true,
"_clip": {
......@@ -14826,7 +14974,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14837,7 +14985,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14850,7 +14998,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 306
"__id__": 311
},
"_enabled": true,
"_id": "b0BTVWz99P8p36r88KuKt4"
......@@ -14858,7 +15006,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 306
"__id__": 311
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
......@@ -14875,29 +15023,29 @@
},
"_children": [
{
"__id__": 329
"__id__": 334
},
{
"__id__": 343
"__id__": 348
},
{
"__id__": 352
"__id__": 357
},
{
"__id__": 361
"__id__": 366
}
],
"_active": true,
"_components": [
{
"__id__": 370
"__id__": 375
},
{
"__id__": 371
"__id__": 376
}
],
"_prefab": {
"__id__": 372
"__id__": 377
},
"_opacity": 255,
"_color": {
......@@ -14951,26 +15099,26 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 328
"__id__": 333
},
"_children": [
{
"__id__": 330
"__id__": 335
},
{
"__id__": 333
"__id__": 338
},
{
"__id__": 336
"__id__": 341
},
{
"__id__": 339
"__id__": 344
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 342
"__id__": 347
},
"_opacity": 255,
"_color": {
......@@ -15024,17 +15172,17 @@
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__": 329
"__id__": 334
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 331
"__id__": 336
}
],
"_prefab": {
"__id__": 332
"__id__": 337
},
"_opacity": 255,
"_color": {
......@@ -15088,7 +15236,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 330
"__id__": 335
},
"_enabled": true,
"_clip": {
......@@ -15105,7 +15253,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15118,17 +15266,17 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 329
"__id__": 334
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 334
"__id__": 339
}
],
"_prefab": {
"__id__": 335
"__id__": 340
},
"_opacity": 255,
"_color": {
......@@ -15182,7 +15330,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 333
"__id__": 338
},
"_enabled": true,
"_clip": {
......@@ -15199,7 +15347,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15212,17 +15360,17 @@
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 329
"__id__": 334
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 337
"__id__": 342
}
],
"_prefab": {
"__id__": 338
"__id__": 343
},
"_opacity": 255,
"_color": {
......@@ -15276,7 +15424,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 336
"__id__": 341
},
"_enabled": true,
"_clip": {
......@@ -15293,7 +15441,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15306,17 +15454,17 @@
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 329
"__id__": 334
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 340
"__id__": 345
}
],
"_prefab": {
"__id__": 341
"__id__": 346
},
"_opacity": 255,
"_color": {
......@@ -15370,7 +15518,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 339
"__id__": 344
},
"_enabled": true,
"_clip": {
......@@ -15387,7 +15535,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15398,7 +15546,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15411,24 +15559,24 @@
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 328
"__id__": 333
},
"_children": [
{
"__id__": 344
"__id__": 349
},
{
"__id__": 347
"__id__": 352
}
],
"_active": false,
"_components": [
{
"__id__": 350
"__id__": 355
}
],
"_prefab": {
"__id__": 351
"__id__": 356
},
"_opacity": 255,
"_color": {
......@@ -15482,17 +15630,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 343
"__id__": 348
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 345
"__id__": 350
}
],
"_prefab": {
"__id__": 346
"__id__": 351
},
"_opacity": 150,
"_color": {
......@@ -15546,7 +15694,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 344
"__id__": 349
},
"_enabled": true,
"_materials": [
......@@ -15576,7 +15724,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15589,17 +15737,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 343
"__id__": 348
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 348
"__id__": 353
}
],
"_prefab": {
"__id__": 349
"__id__": 354
},
"_opacity": 255,
"_color": {
......@@ -15653,7 +15801,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 347
"__id__": 352
},
"_enabled": true,
"_materials": [
......@@ -15691,7 +15839,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15704,7 +15852,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 343
"__id__": 348
},
"_enabled": true,
"alignMode": 1,
......@@ -15729,7 +15877,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15742,24 +15890,24 @@
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 328
"__id__": 333
},
"_children": [
{
"__id__": 353
"__id__": 358
},
{
"__id__": 356
"__id__": 361
}
],
"_active": false,
"_components": [
{
"__id__": 359
"__id__": 364
}
],
"_prefab": {
"__id__": 360
"__id__": 365
},
"_opacity": 255,
"_color": {
......@@ -15813,17 +15961,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 352
"__id__": 357
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 354
"__id__": 359
}
],
"_prefab": {
"__id__": 355
"__id__": 360
},
"_opacity": 150,
"_color": {
......@@ -15877,7 +16025,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 353
"__id__": 358
},
"_enabled": true,
"_materials": [
......@@ -15907,7 +16055,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -15920,17 +16068,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 352
"__id__": 357
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 357
"__id__": 362
}
],
"_prefab": {
"__id__": 358
"__id__": 363
},
"_opacity": 255,
"_color": {
......@@ -15984,7 +16132,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 356
"__id__": 361
},
"_enabled": true,
"_materials": [
......@@ -16022,7 +16170,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -16035,7 +16183,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 352
"__id__": 357
},
"_enabled": true,
"alignMode": 1,
......@@ -16060,7 +16208,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -16073,24 +16221,24 @@
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 328
"__id__": 333
},
"_children": [
{
"__id__": 362
"__id__": 367
},
{
"__id__": 365
"__id__": 370
}
],
"_active": false,
"_components": [
{
"__id__": 368
"__id__": 373
}
],
"_prefab": {
"__id__": 369
"__id__": 374
},
"_opacity": 255,
"_color": {
......@@ -16144,17 +16292,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 361
"__id__": 366
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 363
"__id__": 368
}
],
"_prefab": {
"__id__": 364
"__id__": 369
},
"_opacity": 150,
"_color": {
......@@ -16208,7 +16356,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 362
"__id__": 367
},
"_enabled": true,
"_materials": [
......@@ -16238,7 +16386,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -16251,17 +16399,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 361
"__id__": 366
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 366
"__id__": 371
}
],
"_prefab": {
"__id__": 367
"__id__": 372
},
"_opacity": 255,
"_color": {
......@@ -16315,7 +16463,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 365
"__id__": 370
},
"_enabled": true,
"_materials": [
......@@ -16353,7 +16501,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -16366,7 +16514,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 361
"__id__": 366
},
"_enabled": true,
"alignMode": 1,
......@@ -16391,7 +16539,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -16404,7 +16552,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 328
"__id__": 333
},
"_enabled": true,
"alignMode": 1,
......@@ -16431,7 +16579,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 328
"__id__": 333
},
"_enabled": true,
"_id": "2fD7utNxRJGaajEwcCQnP7"
......@@ -16439,7 +16587,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 328
"__id__": 333
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -16456,20 +16604,20 @@
},
"_children": [
{
"__id__": 374
"__id__": 379
},
{
"__id__": 405
"__id__": 410
}
],
"_active": true,
"_components": [
{
"__id__": 410
"__id__": 415
}
],
"_prefab": {
"__id__": 411
"__id__": 416
},
"_opacity": 255,
"_color": {
......@@ -16523,35 +16671,35 @@
"_name": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 373
"__id__": 378
},
"_children": [
{
"__id__": 375
"__id__": 380
},
{
"__id__": 378
"__id__": 383
},
{
"__id__": 380
"__id__": 385
},
{
"__id__": 383
"__id__": 388
},
{
"__id__": 386
"__id__": 391
},
{
"__id__": 389
"__id__": 394
},
{
"__id__": 392
"__id__": 397
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 404
"__id__": 409
},
"_opacity": 255,
"_color": {
......@@ -16605,17 +16753,17 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 376
"__id__": 381
}
],
"_prefab": {
"__id__": 377
"__id__": 382
},
"_opacity": 102,
"_color": {
......@@ -16669,7 +16817,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 375
"__id__": 380
},
"_enabled": true,
"_materials": [
......@@ -16699,7 +16847,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -16712,13 +16860,13 @@
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 379
"__id__": 384
},
"_opacity": 255,
"_color": {
......@@ -16770,7 +16918,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -16783,17 +16931,17 @@
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 381
"__id__": 386
}
],
"_prefab": {
"__id__": 382
"__id__": 387
},
"_opacity": 255,
"_color": {
......@@ -16847,7 +16995,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 380
"__id__": 385
},
"_enabled": true,
"_materials": [
......@@ -16877,7 +17025,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -16890,17 +17038,17 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 384
"__id__": 389
}
],
"_prefab": {
"__id__": 385
"__id__": 390
},
"_opacity": 255,
"_color": {
......@@ -16954,7 +17102,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 383
"__id__": 388
},
"_enabled": true,
"_materials": [
......@@ -16984,7 +17132,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -16997,17 +17145,17 @@
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 387
"__id__": 392
}
],
"_prefab": {
"__id__": 388
"__id__": 393
},
"_opacity": 255,
"_color": {
......@@ -17061,7 +17209,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 386
"__id__": 391
},
"_enabled": true,
"_materials": [
......@@ -17099,7 +17247,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17112,17 +17260,17 @@
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 390
"__id__": 395
}
],
"_prefab": {
"__id__": 391
"__id__": 396
},
"_opacity": 255,
"_color": {
......@@ -17176,7 +17324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 389
"__id__": 394
},
"_enabled": true,
"_materials": [
......@@ -17206,7 +17354,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17219,27 +17367,27 @@
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 374
"__id__": 379
},
"_children": [
{
"__id__": 393
"__id__": 398
},
{
"__id__": 396
"__id__": 401
},
{
"__id__": 399
"__id__": 404
}
],
"_active": true,
"_components": [
{
"__id__": 402
"__id__": 407
}
],
"_prefab": {
"__id__": 403
"__id__": 408
},
"_opacity": 255,
"_color": {
......@@ -17293,17 +17441,17 @@
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 392
"__id__": 397
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 394
"__id__": 399
}
],
"_prefab": {
"__id__": 395
"__id__": 400
},
"_opacity": 255,
"_color": {
......@@ -17357,7 +17505,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 393
"__id__": 398
},
"_enabled": true,
"_materials": [
......@@ -17388,7 +17536,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17401,17 +17549,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 392
"__id__": 397
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 397
"__id__": 402
}
],
"_prefab": {
"__id__": 398
"__id__": 403
},
"_opacity": 255,
"_color": {
......@@ -17465,7 +17613,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 396
"__id__": 401
},
"_enabled": true,
"_materials": [
......@@ -17495,7 +17643,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17508,17 +17656,17 @@
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 392
"__id__": 397
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 400
"__id__": 405
}
],
"_prefab": {
"__id__": 401
"__id__": 406
},
"_opacity": 255,
"_color": {
......@@ -17572,7 +17720,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 399
"__id__": 404
},
"_enabled": true,
"_materials": [
......@@ -17603,7 +17751,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17616,7 +17764,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 392
"__id__": 397
},
"_enabled": true,
"_materials": [
......@@ -17646,7 +17794,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17657,7 +17805,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17670,17 +17818,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 373
"__id__": 378
},
"_children": [
{
"__id__": 406
"__id__": 411
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 409
"__id__": 414
},
"_opacity": 255,
"_color": {
......@@ -17734,17 +17882,17 @@
"_name": "ending",
"_objFlags": 0,
"_parent": {
"__id__": 405
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 407
"__id__": 412
}
],
"_prefab": {
"__id__": 408
"__id__": 413
},
"_opacity": 255,
"_color": {
......@@ -17798,7 +17946,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 406
"__id__": 411
},
"_enabled": true,
"_clip": {
......@@ -17815,7 +17963,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17826,7 +17974,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17839,7 +17987,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 373
"__id__": 378
},
"_enabled": true,
"_id": "e4jQM+xfVAKIac2NCTYsGK"
......@@ -17847,7 +17995,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 373
"__id__": 378
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -17864,13 +18012,13 @@
},
"_children": [
{
"__id__": 413
"__id__": 418
},
{
"__id__": 416
"__id__": 421
},
{
"__id__": 419
"__id__": 424
}
],
"_active": false,
......@@ -17928,11 +18076,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 412
"__id__": 417
},
"_children": [
{
"__id__": 414
"__id__": 419
}
],
"_active": true,
......@@ -17990,13 +18138,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 413
"__id__": 418
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 415
"__id__": 420
}
],
"_prefab": null,
......@@ -18052,7 +18200,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 414
"__id__": 419
},
"_enabled": true,
"_materials": [
......@@ -18087,11 +18235,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 412
"__id__": 417
},
"_children": [
{
"__id__": 417
"__id__": 422
}
],
"_active": true,
......@@ -18149,13 +18297,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 416
"__id__": 421
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 418
"__id__": 423
}
],
"_prefab": null,
......@@ -18211,7 +18359,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 417
"__id__": 422
},
"_enabled": true,
"_materials": [
......@@ -18243,17 +18391,17 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 412
"__id__": 417
},
"_children": [
{
"__id__": 420
"__id__": 425
},
{
"__id__": 422
"__id__": 427
},
{
"__id__": 424
"__id__": 429
}
],
"_active": true,
......@@ -18311,13 +18459,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 419
"__id__": 424
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 421
"__id__": 426
}
],
"_prefab": null,
......@@ -18373,7 +18521,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 420
"__id__": 425
},
"_enabled": true,
"_clip": {
......@@ -18392,13 +18540,13 @@
"_name": "fail",
"_objFlags": 0,
"_parent": {
"__id__": 419
"__id__": 424
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 423
"__id__": 428
}
],
"_prefab": null,
......@@ -18454,7 +18602,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 422
"__id__": 427
},
"_enabled": true,
"_clip": {
......@@ -18473,13 +18621,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 419
"__id__": 424
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 425
"__id__": 430
}
],
"_prefab": null,
......@@ -18535,7 +18683,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 424
"__id__": 429
},
"_enabled": true,
"_clip": {
......
......@@ -36,12 +36,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initData();
this.initView();
this.initEvent()
this.showWord()
this.initEvent();
this.showWordInit();
pg.event.once('npc_voice_play_voice_end', () => {
this.showWordStart();
})
pg.event.emit('npc_layer_back_init', this.data)
}
// 一轮单词数量
private static Word_List_Len: number = 8;
private word_area: cc.Node;
private upper_shadow: cc.Node;
private lower_shadow: cc.Node;
......@@ -160,6 +163,19 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initWordBg();
this.initWord();
this.initQuestion();
this.initQuestionVoice();
}
showWordInit() {
this.wordBgList = [];
this.wordList = [];
this.successGroupIds = {};
pg.view.removChildren(this.word_area)
this.initWordBg();
this.initWord();
this.initQuestion();
}
showWordStart() {
this.initQuestionVoice();
}
private layer_question: cc.Node;
initQuestion() {
......@@ -171,6 +187,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
img_voice.active = this.CurrentWord.type != "img";
if (img_voice.active) {
pg.view.touchOn(img_voice, this.onTouchVoice, this);
}
}
initQuestionVoice() {
let img_voice = pg.view.find(this.layer_question, 'img_voice');
if (img_voice.active) {
this.onTouchVoice({ target: img_voice });
}
}
......
export const defaultData = {
"onlineFlg": false, "title": "", "questionText": "", "questionTextAudio": "",
export const defaultData =
{
"onlineFlg": false,
"title": "",
"questionText": "",
"questionTextAudio": "",
"questions": [
{
"questionAudio": "", "duration": 120, "type": "imgVideo", "image": "http://staging-teach.cdn.ireadabc.com/5e2fd05e37c3f6694201049d244c58f0.png", "audio": "http://staging-teach.cdn.ireadabc.com/5214110bd03ae60f70e44c2e930f85ca_l.mp3", "text": "", "right": false, "letterList": [{ "text": "t" }, { "text": "e" }, { "text": "st" }], "audioName": "create_hy11_paopao.mp3"
"questionAudio": "",
"duration": 120,
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/e184e067fc931d55fce93c9937a26c51.png",
"audio": "",
"text": "",
"right": false,
"letterList": [
{
"text": "m"
},
{
"text": "o"
},
{
"text": "n"
},
{
"text": "k"
},
{
"text": "e"
},
{
"text": "y"
}
]
},
{
"questionAudio": "", "duration": 120, "type": "imgVideo", "image": "http://staging-teach.cdn.ireadabc.com/84c53a0b9aac340ae396db7137847d51.png", "audio": "http://staging-teach.cdn.ireadabc.com/1cf4664096cae0d4fb534f66a3861b6c_l.mp3", "text": "", "right": false, "letterList": [{ "text": "f" }, { "text": "u" }, { "text": "nn" }, { "text": "y" }], "audioName": "error_hy11_paopao.mp3"
}], "bgAudio": "", "bgAudioName": "", "audioName": "", "titleTxt": "test", "undefined": "create_hy11_paopao.mp3", "titleAudio": "http://staging-teach.cdn.ireadabc.com/5214110bd03ae60f70e44c2e930f85ca_l.mp3", "npcTitle": "test", "npcAudio": "http://staging-teach.cdn.ireadabc.com/5214110bd03ae60f70e44c2e930f85ca_l.mp3", "npcAudioName": "create_hy11_paopao.mp3"
"questionAudio": "",
"duration": 120,
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/e921b21c9ac22a623497b79cf849a421.png",
"audio": "",
"text": "",
"right": false,
"letterList": [
{
"text": "b"
},
{
"text": "a"
},
{
"text": "d"
}
]
}
],
"bgAudio": "",
"bgAudioName": "",
"audioName": "",
"npcTitle": "",
"npcAudio": "",
"npcAudioName": ""
}
// {
// "onlineFlg": false, "title": "", "questionText": "", "questionTextAudio": "",
// "questions": [
// {
// "questionAudio": "", "duration": 120, "type": "imgVideo", "image": "http://staging-teach.cdn.ireadabc.com/5e2fd05e37c3f6694201049d244c58f0.png", "audio": "http://staging-teach.cdn.ireadabc.com/5214110bd03ae60f70e44c2e930f85ca_l.mp3", "text": "", "right": false, "letterList": [{ "text": "t" }, { "text": "e" }, { "text": "st" }], "audioName": "create_hy11_paopao.mp3"
// },
// {
// "questionAudio": "", "duration": 120, "type": "imgVideo", "image": "http://staging-teach.cdn.ireadabc.com/84c53a0b9aac340ae396db7137847d51.png", "audio": "http://staging-teach.cdn.ireadabc.com/1cf4664096cae0d4fb534f66a3861b6c_l.mp3", "text": "", "right": false, "letterList": [{ "text": "f" }, { "text": "u" }, { "text": "nn" }, { "text": "y" }], "audioName": "error_hy11_paopao.mp3"
// }], "bgAudio": "", "bgAudioName": "", "audioName": "", "titleTxt": "test", "undefined": "create_hy11_paopao.mp3", "titleAudio": "http://staging-teach.cdn.ireadabc.com/5214110bd03ae60f70e44c2e930f85ca_l.mp3", "npcTitle": "test", "npcAudio": "http://staging-teach.cdn.ireadabc.com/5214110bd03ae60f70e44c2e930f85ca_l.mp3", "npcAudioName": "create_hy11_paopao.mp3"
// }
// {
// "onlineFlg": false, "title": "钓鱼大作战", "questionText": "", "questionTextAudio": "http://staging-teach.cdn.ireadabc.com/e422c682ff3304a532937db64573caa4.mp3", "questions": [
......
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