Commit 3cbc3878 authored by Tt's avatar Tt

处理bug

parent c54a1d89
......@@ -89,9 +89,6 @@
{
"__id__": 75
},
{
"__id__": 110
},
{
"__id__": 112
},
......@@ -100,18 +97,21 @@
},
{
"__id__": 116
},
{
"__id__": 118
}
],
"_active": true,
"_components": [
{
"__id__": 136
"__id__": 138
},
{
"__id__": 137
"__id__": 139
},
{
"__id__": 138
"__id__": 140
}
],
"_prefab": null,
......@@ -3635,16 +3635,16 @@
"__id__": 76
},
{
"__id__": 104
"__id__": 106
},
{
"__id__": 107
"__id__": 109
}
],
"_active": true,
"_components": [
{
"__id__": 109
"__id__": 111
}
],
"_prefab": null,
......@@ -3710,7 +3710,7 @@
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 105
}
],
"_prefab": null,
......@@ -3773,16 +3773,16 @@
"__id__": 78
},
{
"__id__": 91
"__id__": 92
},
{
"__id__": 95
"__id__": 97
}
],
"_active": true,
"_components": [
{
"__id__": 102
"__id__": 104
}
],
"_prefab": null,
......@@ -3849,6 +3849,9 @@
"_components": [
{
"__id__": 90
},
{
"__id__": 91
}
],
"_prefab": null,
......@@ -4518,6 +4521,16 @@
"_N$inverted": false,
"_id": "47to5rp15ChI6m++PlmOmD"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"_id": "5dXYFz7wNAV4VXwSR8ERF0"
},
{
"__type__": "cc.Node",
"_name": "bg",
......@@ -4527,10 +4540,71 @@
},
"_children": [
{
"__id__": 92
"__id__": 93
},
{
"__id__": 95
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 187,
"height": 191
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-11.989,
53,
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": "40i0XmOhxAt4MEZracszf8"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
......@@ -4559,8 +4633,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-11.989,
53,
0,
0,
0,
0,
0,
......@@ -4582,20 +4656,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "40i0XmOhxAt4MEZracszf8"
"_id": "3cQUu2h29Gjr/nYL/6pbe0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "49ca0e50-030e-4c6e-a6a1-dd379cbca6e2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c6uv/la2JKAJHeH5W5VX8j"
},
{
"__type__": "cc.Node",
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 91
"__id__": 92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 93
"__id__": 96
}
],
"_prefab": null,
......@@ -4651,7 +4757,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 95
},
"_enabled": true,
"_materials": [
......@@ -4686,38 +4792,6 @@
"_N$enableBatch": false,
"_id": "d4+y3SH21BnIUihQoB7w/n"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "49ca0e50-030e-4c6e-a6a1-dd379cbca6e2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "49k0aHrO1BPIf1zVqh/uPt"
},
{
"__type__": "cc.Node",
"_name": "img_voice",
......@@ -4727,19 +4801,19 @@
},
"_children": [
{
"__id__": 96
"__id__": 98
},
{
"__id__": 97
"__id__": 99
},
{
"__id__": 99
"__id__": 101
}
],
"_active": false,
"_components": [
{
"__id__": 101
"__id__": 103
}
],
"_prefab": null,
......@@ -4795,7 +4869,7 @@
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 95
"__id__": 97
},
"_children": [],
"_active": true,
......@@ -4853,13 +4927,13 @@
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 95
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 100
}
],
"_prefab": null,
......@@ -4915,7 +4989,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -4947,13 +5021,13 @@
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 95
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
"__id__": 102
}
],
"_prefab": null,
......@@ -5009,7 +5083,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 101
},
"_enabled": true,
"_materials": [
......@@ -5041,7 +5115,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
"__id__": 97
},
"_enabled": true,
"_id": "1b37Xp6IVLg6RciXLxM7OU"
......@@ -5108,13 +5182,13 @@
"__id__": 75
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 105
"__id__": 107
},
{
"__id__": 106
"__id__": 108
}
],
"_prefab": null,
......@@ -5141,7 +5215,7 @@
"ctor": "Float64Array",
"array": [
0,
-457.315,
-414.489,
0,
0,
0,
......@@ -5170,7 +5244,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
"__id__": 106
},
"_enabled": true,
"_materials": [
......@@ -5205,7 +5279,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
"__id__": 106
},
"_enabled": true,
"alignMode": 1,
......@@ -5214,7 +5288,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 32.285000000000025,
"_bottom": 75.11100000000005,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
......@@ -5238,7 +5312,7 @@
"_active": false,
"_components": [
{
"__id__": 108
"__id__": 110
}
],
"_prefab": null,
......@@ -5294,7 +5368,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 109
},
"_enabled": true,
"_materials": [
......@@ -5367,7 +5441,7 @@
"_active": true,
"_components": [
{
"__id__": 111
"__id__": 113
}
],
"_prefab": null,
......@@ -5423,7 +5497,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 112
},
"_enabled": true,
"_materials": [
......@@ -5461,7 +5535,7 @@
"_active": true,
"_components": [
{
"__id__": 113
"__id__": 115
}
],
"_prefab": null,
......@@ -5517,7 +5591,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -5555,7 +5629,7 @@
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 117
}
],
"_prefab": null,
......@@ -5611,7 +5685,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 116
},
"_enabled": true,
"_materials": [
......@@ -5647,13 +5721,13 @@
},
"_children": [
{
"__id__": 117
"__id__": 119
},
{
"__id__": 120
"__id__": 122
},
{
"__id__": 123
"__id__": 125
}
],
"_active": false,
......@@ -5711,11 +5785,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 116
"__id__": 118
},
"_children": [
{
"__id__": 118
"__id__": 120
}
],
"_active": true,
......@@ -5773,13 +5847,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 119
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 121
}
],
"_prefab": null,
......@@ -5835,7 +5909,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 120
},
"_enabled": true,
"_materials": [],
......@@ -5866,11 +5940,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 116
"__id__": 118
},
"_children": [
{
"__id__": 121
"__id__": 123
}
],
"_active": true,
......@@ -5928,13 +6002,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 122
"__id__": 124
}
],
"_prefab": null,
......@@ -5990,7 +6064,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
"__id__": 123
},
"_enabled": true,
"_materials": [],
......@@ -6018,12 +6092,9 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 116
"__id__": 118
},
"_children": [
{
"__id__": 124
},
{
"__id__": 126
},
......@@ -6038,6 +6109,9 @@
},
{
"__id__": 134
},
{
"__id__": 136
}
],
"_active": true,
......@@ -6095,13 +6169,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 125
"__id__": 127
}
],
"_prefab": null,
......@@ -6157,7 +6231,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
"__id__": 126
},
"_enabled": true,
"_clip": {
......@@ -6176,13 +6250,13 @@
"_name": "tip",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 127
"__id__": 129
}
],
"_prefab": null,
......@@ -6238,7 +6312,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
"__id__": 128
},
"_enabled": true,
"_clip": {
......@@ -6257,13 +6331,13 @@
"_name": "tosmall",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 131
}
],
"_prefab": null,
......@@ -6319,7 +6393,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 130
},
"_enabled": true,
"_clip": {
......@@ -6338,13 +6412,13 @@
"_name": "pagenext",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 133
}
],
"_prefab": null,
......@@ -6400,7 +6474,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 132
},
"_enabled": true,
"_clip": {
......@@ -6419,13 +6493,13 @@
"_name": "arrow",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 133
"__id__": 135
}
],
"_prefab": null,
......@@ -6481,7 +6555,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
"__id__": 134
},
"_enabled": true,
"_clip": {
......@@ -6500,13 +6574,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
"__id__": 137
}
],
"_prefab": null,
......@@ -6562,7 +6636,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 136
},
"_enabled": true,
"_clip": {
......@@ -6644,10 +6718,10 @@
"__id__": 13
},
"label_word": {
"__id__": 104
"__id__": 106
},
"ani_good": {
"__id__": 107
"__id__": 109
},
"ani_npc": {
"__id__": 72
......
......@@ -210,14 +210,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 展示点击效果
async showRecordWait() {
pg.view.find(this.btn_record, 'bg/bg').active = false;
pg.view.find(this.btn_record, 'bg/ani').active = true;
}
async showRecordWaitEnd() {
pg.view.find(this.btn_record, 'bg/bg').active = true;
pg.view.find(this.btn_record, 'bg/ani').active = false;
}
showRecordHide() {
this.showRecordWaitEnd();
this.readyNext = false;
this.readyTime = 999999;
this.img_npc.active = false;
this.showLastNext = 3;// 3秒显示时间
let img_voice = pg.view.find(this.btn_record, "img_voice");
......@@ -397,6 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.readyNext = false;
this.readyTime = 999999;
this.showNpcAudioPlayEnd();
this.CurrentData.npcPlay = false
this.showNpcAudioPlay().then(() => {
this.showNpcAudioPlayEnd();
this.readyNext = true;
......
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