Commit 3a4a1234 authored by Tt's avatar Tt

重复点击遮挡增加

parent e1791029
......@@ -81,25 +81,25 @@
"__id__": 64
},
{
"__id__": 86
"__id__": 79
},
{
"__id__": 131
"__id__": 124
},
{
"__id__": 170
"__id__": 163
}
],
"_active": true,
"_components": [
{
"__id__": 186
"__id__": 179
},
{
"__id__": 187
"__id__": 180
},
{
"__id__": 188
"__id__": 181
}
],
"_prefab": null,
......@@ -2564,18 +2564,16 @@
"__id__": 65
},
{
"__id__": 79
"__id__": 75
}
],
"_active": true,
"_components": [
{
"__id__": 84
"__id__": 78
}
],
"_prefab": {
"__id__": 85
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -2638,17 +2636,15 @@
"__id__": 69
},
{
"__id__": 72
"__id__": 71
},
{
"__id__": 75
"__id__": 73
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 78
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -2708,11 +2704,12 @@
"_components": [
{
"__id__": 67
},
{
"__id__": 68
}
],
"_prefab": {
"__id__": 68
},
"_prefab": null,
"_opacity": 102,
"_color": {
"__type__": "cc.Color",
......@@ -2793,15 +2790,14 @@
"_id": "beg+RX02dFLZFZFdJu8RRa"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"fileId": "adm8kBzH9HDL0yNTkOoNZO",
"sync": false
"_enabled": true,
"_id": "04m78Ke/JK2LbmzzHsLDbP"
},
{
"__type__": "cc.Node",
......@@ -2817,9 +2813,7 @@
"__id__": 70
}
],
"_prefab": {
"__id__": 71
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -2907,17 +2901,6 @@
"_N$enableBatch": false,
"_id": "29Q3+AoylA+IrVWgS2bkrL"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "63iyJKJbRIJ4rv8EKr2oF0",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "aniNode2",
......@@ -2929,12 +2912,10 @@
"_active": false,
"_components": [
{
"__id__": 73
"__id__": 72
}
],
"_prefab": {
"__id__": 74
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -2987,7 +2968,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3020,17 +3001,6 @@
"_N$enableBatch": false,
"_id": "7djXxMbABDi52Nqpbvz40f"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "c6Hl8henxOxrh4ppMincco",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "aniNode3",
......@@ -3042,12 +3012,10 @@
"_active": false,
"_components": [
{
"__id__": 76
"__id__": 74
}
],
"_prefab": {
"__id__": 77
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -3100,7 +3068,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -3135,28 +3103,6 @@
"_N$enableBatch": false,
"_id": "d2ewPXqh5InqlpKo2M/kZ1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "e1DhwVfNlC3Y7kDIyCry0m",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "a2tpK1wadIapdt6ho6M6te",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "res",
......@@ -3166,14 +3112,12 @@
},
"_children": [
{
"__id__": 80
"__id__": 76
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 83
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -3226,18 +3170,16 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 75
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 77
}
],
"_prefab": {
"__id__": 82
},
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -3290,7 +3232,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 76
},
"_enabled": true,
"_clip": {
......@@ -3304,28 +3246,6 @@
"preload": false,
"_id": "84+Rh5QA1BgYThgl8TGNBt"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "185tOCC+BKhYGnn4V3TEoT",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "e5iD0Y+fBOfr63Di1EJOwC",
"sync": false
},
{
"__type__": "72802EOwh1KuKnBHYcntgZY",
"_name": "",
......@@ -3336,17 +3256,6 @@
"_enabled": true,
"_id": "cd6KWWmAZF07b8wsLxTX4q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 64
},
"asset": {
"__uuid__": "a9b135f6-de46-4257-8be2-55dc863ce747"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layer_right",
......@@ -3356,29 +3265,29 @@
},
"_children": [
{
"__id__": 87
"__id__": 80
},
{
"__id__": 101
"__id__": 94
},
{
"__id__": 110
"__id__": 103
},
{
"__id__": 119
"__id__": 112
}
],
"_active": true,
"_components": [
{
"__id__": 128
"__id__": 121
},
{
"__id__": 129
"__id__": 122
}
],
"_prefab": {
"__id__": 130
"__id__": 123
},
"_opacity": 255,
"_color": {
......@@ -3432,26 +3341,26 @@
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 79
},
"_children": [
{
"__id__": 88
"__id__": 81
},
{
"__id__": 91
"__id__": 84
},
{
"__id__": 94
"__id__": 87
},
{
"__id__": 97
"__id__": 90
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 100
"__id__": 93
},
"_opacity": 255,
"_color": {
......@@ -3505,17 +3414,17 @@
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__": 87
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
"__id__": 82
}
],
"_prefab": {
"__id__": 90
"__id__": 83
},
"_opacity": 255,
"_color": {
......@@ -3569,7 +3478,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
"__id__": 81
},
"_enabled": true,
"_clip": {
......@@ -3586,7 +3495,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3599,17 +3508,17 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 87
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 92
"__id__": 85
}
],
"_prefab": {
"__id__": 93
"__id__": 86
},
"_opacity": 255,
"_color": {
......@@ -3663,7 +3572,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 84
},
"_enabled": true,
"_clip": {
......@@ -3680,7 +3589,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3693,17 +3602,17 @@
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 87
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 88
}
],
"_prefab": {
"__id__": 96
"__id__": 89
},
"_opacity": 255,
"_color": {
......@@ -3757,7 +3666,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 87
},
"_enabled": true,
"_clip": {
......@@ -3774,7 +3683,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3787,17 +3696,17 @@
"_name": "ani",
"_objFlags": 0,
"_parent": {
"__id__": 87
"__id__": 80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 91
}
],
"_prefab": {
"__id__": 99
"__id__": 92
},
"_opacity": 255,
"_color": {
......@@ -3851,7 +3760,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 90
},
"_enabled": true,
"_clip": {
......@@ -3868,7 +3777,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3879,7 +3788,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -3892,24 +3801,24 @@
"_name": "layout_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 79
},
"_children": [
{
"__id__": 102
"__id__": 95
},
{
"__id__": 105
"__id__": 98
}
],
"_active": false,
"_components": [
{
"__id__": 108
"__id__": 101
}
],
"_prefab": {
"__id__": 109
"__id__": 102
},
"_opacity": 255,
"_color": {
......@@ -3963,17 +3872,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 101
"__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 96
}
],
"_prefab": {
"__id__": 104
"__id__": 97
},
"_opacity": 150,
"_color": {
......@@ -4027,7 +3936,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 95
},
"_enabled": true,
"_materials": [
......@@ -4057,7 +3966,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4070,17 +3979,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 101
"__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 99
}
],
"_prefab": {
"__id__": 107
"__id__": 100
},
"_opacity": 255,
"_color": {
......@@ -4134,7 +4043,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -4172,7 +4081,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4185,7 +4094,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 94
},
"_enabled": true,
"alignMode": 1,
......@@ -4210,7 +4119,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4223,24 +4132,24 @@
"_name": "layout_good",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 79
},
"_children": [
{
"__id__": 111
"__id__": 104
},
{
"__id__": 114
"__id__": 107
}
],
"_active": false,
"_components": [
{
"__id__": 117
"__id__": 110
}
],
"_prefab": {
"__id__": 118
"__id__": 111
},
"_opacity": 255,
"_color": {
......@@ -4294,17 +4203,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 112
"__id__": 105
}
],
"_prefab": {
"__id__": 113
"__id__": 106
},
"_opacity": 150,
"_color": {
......@@ -4358,7 +4267,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 104
},
"_enabled": true,
"_materials": [
......@@ -4388,7 +4297,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4401,17 +4310,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 108
}
],
"_prefab": {
"__id__": 116
"__id__": 109
},
"_opacity": 255,
"_color": {
......@@ -4465,7 +4374,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -4503,7 +4412,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4516,7 +4425,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 103
},
"_enabled": true,
"alignMode": 1,
......@@ -4541,7 +4450,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4554,24 +4463,24 @@
"_name": "layout_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 79
},
"_children": [
{
"__id__": 120
"__id__": 113
},
{
"__id__": 123
"__id__": 116
}
],
"_active": false,
"_components": [
{
"__id__": 126
"__id__": 119
}
],
"_prefab": {
"__id__": 127
"__id__": 120
},
"_opacity": 255,
"_color": {
......@@ -4625,17 +4534,17 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 119
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 114
}
],
"_prefab": {
"__id__": 122
"__id__": 115
},
"_opacity": 150,
"_color": {
......@@ -4689,7 +4598,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 113
},
"_enabled": true,
"_materials": [
......@@ -4719,7 +4628,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4732,17 +4641,17 @@
"_name": "AniNode",
"_objFlags": 0,
"_parent": {
"__id__": 119
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 124
"__id__": 117
}
],
"_prefab": {
"__id__": 125
"__id__": 118
},
"_opacity": 255,
"_color": {
......@@ -4796,7 +4705,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 116
},
"_enabled": true,
"_materials": [
......@@ -4834,7 +4743,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4847,7 +4756,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
"__id__": 112
},
"_enabled": true,
"alignMode": 1,
......@@ -4872,7 +4781,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4885,7 +4794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 79
},
"_enabled": true,
"alignMode": 1,
......@@ -4912,7 +4821,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 79
},
"_enabled": true,
"_id": "dfyLCeykdLdarjf4IufXfR"
......@@ -4920,7 +4829,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 86
"__id__": 79
},
"asset": {
"__uuid__": "b4ac88a3-938b-460f-841e-8f69789677bc"
......@@ -4937,20 +4846,20 @@
},
"_children": [
{
"__id__": 132
"__id__": 125
},
{
"__id__": 163
"__id__": 156
}
],
"_active": true,
"_components": [
{
"__id__": 168
"__id__": 161
}
],
"_prefab": {
"__id__": 169
"__id__": 162
},
"_opacity": 255,
"_color": {
......@@ -5004,35 +4913,35 @@
"_name": "layer_center",
"_objFlags": 0,
"_parent": {
"__id__": 131
"__id__": 124
},
"_children": [
{
"__id__": 133
"__id__": 126
},
{
"__id__": 136
"__id__": 129
},
{
"__id__": 138
"__id__": 131
},
{
"__id__": 141
"__id__": 134
},
{
"__id__": 144
"__id__": 137
},
{
"__id__": 147
"__id__": 140
},
{
"__id__": 150
"__id__": 143
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 162
"__id__": 155
},
"_opacity": 255,
"_color": {
......@@ -5086,17 +4995,17 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
"__id__": 127
}
],
"_prefab": {
"__id__": 135
"__id__": 128
},
"_opacity": 102,
"_color": {
......@@ -5150,7 +5059,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 126
},
"_enabled": true,
"_materials": [
......@@ -5180,7 +5089,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5193,13 +5102,13 @@
"_name": "layer_middle",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 137
"__id__": 130
},
"_opacity": 255,
"_color": {
......@@ -5251,7 +5160,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5264,17 +5173,17 @@
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 139
"__id__": 132
}
],
"_prefab": {
"__id__": 140
"__id__": 133
},
"_opacity": 255,
"_color": {
......@@ -5328,7 +5237,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 138
"__id__": 131
},
"_enabled": true,
"_materials": [
......@@ -5358,7 +5267,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5371,17 +5280,17 @@
"_name": "bg_light",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 142
"__id__": 135
}
],
"_prefab": {
"__id__": 143
"__id__": 136
},
"_opacity": 255,
"_color": {
......@@ -5435,7 +5344,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
"__id__": 134
},
"_enabled": true,
"_materials": [
......@@ -5465,7 +5374,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5478,17 +5387,17 @@
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 145
"__id__": 138
}
],
"_prefab": {
"__id__": 146
"__id__": 139
},
"_opacity": 255,
"_color": {
......@@ -5542,7 +5451,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 144
"__id__": 137
},
"_enabled": true,
"_materials": [
......@@ -5580,7 +5489,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5593,17 +5502,17 @@
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 148
"__id__": 141
}
],
"_prefab": {
"__id__": 149
"__id__": 142
},
"_opacity": 255,
"_color": {
......@@ -5657,7 +5566,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
"__id__": 140
},
"_enabled": true,
"_materials": [
......@@ -5687,7 +5596,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5700,27 +5609,27 @@
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 132
"__id__": 125
},
"_children": [
{
"__id__": 151
"__id__": 144
},
{
"__id__": 154
"__id__": 147
},
{
"__id__": 157
"__id__": 150
}
],
"_active": true,
"_components": [
{
"__id__": 160
"__id__": 153
}
],
"_prefab": {
"__id__": 161
"__id__": 154
},
"_opacity": 255,
"_color": {
......@@ -5774,17 +5683,17 @@
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 143
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
"__id__": 145
}
],
"_prefab": {
"__id__": 153
"__id__": 146
},
"_opacity": 255,
"_color": {
......@@ -5838,7 +5747,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
"__id__": 144
},
"_enabled": true,
"_materials": [
......@@ -5869,7 +5778,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5882,17 +5791,17 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 143
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 155
"__id__": 148
}
],
"_prefab": {
"__id__": 156
"__id__": 149
},
"_opacity": 255,
"_color": {
......@@ -5946,7 +5855,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 147
},
"_enabled": true,
"_materials": [
......@@ -5976,7 +5885,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -5989,17 +5898,17 @@
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 143
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 158
"__id__": 151
}
],
"_prefab": {
"__id__": 159
"__id__": 152
},
"_opacity": 255,
"_color": {
......@@ -6053,7 +5962,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
"__id__": 150
},
"_enabled": true,
"_materials": [
......@@ -6084,7 +5993,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6097,7 +6006,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 150
"__id__": 143
},
"_enabled": true,
"_materials": [
......@@ -6127,7 +6036,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6138,7 +6047,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6151,17 +6060,17 @@
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 131
"__id__": 124
},
"_children": [
{
"__id__": 164
"__id__": 157
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 167
"__id__": 160
},
"_opacity": 255,
"_color": {
......@@ -6215,17 +6124,17 @@
"_name": "ending",
"_objFlags": 0,
"_parent": {
"__id__": 163
"__id__": 156
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 165
"__id__": 158
}
],
"_prefab": {
"__id__": 166
"__id__": 159
},
"_opacity": 255,
"_color": {
......@@ -6279,7 +6188,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 164
"__id__": 157
},
"_enabled": true,
"_clip": {
......@@ -6296,7 +6205,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6307,7 +6216,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6320,7 +6229,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 124
},
"_enabled": true,
"_id": "25ddaKAcdGSIz4meYgvtkV"
......@@ -6328,7 +6237,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 131
"__id__": 124
},
"asset": {
"__uuid__": "8944c192-3675-466f-9f94-8f824c68e822"
......@@ -6345,13 +6254,13 @@
},
"_children": [
{
"__id__": 171
"__id__": 164
},
{
"__id__": 174
"__id__": 167
},
{
"__id__": 177
"__id__": 170
}
],
"_active": false,
......@@ -6409,11 +6318,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 170
"__id__": 163
},
"_children": [
{
"__id__": 172
"__id__": 165
}
],
"_active": true,
......@@ -6471,13 +6380,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 171
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 173
"__id__": 166
}
],
"_prefab": null,
......@@ -6533,7 +6442,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 172
"__id__": 165
},
"_enabled": true,
"_materials": [],
......@@ -6564,11 +6473,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 170
"__id__": 163
},
"_children": [
{
"__id__": 175
"__id__": 168
}
],
"_active": true,
......@@ -6626,13 +6535,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 174
"__id__": 167
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 176
"__id__": 169
}
],
"_prefab": null,
......@@ -6688,7 +6597,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 175
"__id__": 168
},
"_enabled": true,
"_materials": [],
......@@ -6716,20 +6625,20 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 170
"__id__": 163
},
"_children": [
{
"__id__": 178
"__id__": 171
},
{
"__id__": 180
"__id__": 173
},
{
"__id__": 182
"__id__": 175
},
{
"__id__": 184
"__id__": 177
}
],
"_active": true,
......@@ -6787,13 +6696,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 170
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 179
"__id__": 172
}
],
"_prefab": null,
......@@ -6849,7 +6758,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 178
"__id__": 171
},
"_enabled": true,
"_clip": {
......@@ -6868,13 +6777,13 @@
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 170
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 181
"__id__": 174
}
],
"_prefab": null,
......@@ -6930,7 +6839,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 180
"__id__": 173
},
"_enabled": true,
"_clip": {
......@@ -6949,13 +6858,13 @@
"_name": "create",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 170
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 183
"__id__": 176
}
],
"_prefab": null,
......@@ -7011,7 +6920,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 182
"__id__": 175
},
"_enabled": true,
"_clip": {
......@@ -7030,13 +6939,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 177
"__id__": 170
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 185
"__id__": 178
}
],
"_prefab": null,
......@@ -7092,7 +7001,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
"__id__": 177
},
"_enabled": true,
"_clip": {
......
......@@ -64,6 +64,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.view.touchOn(this.btn_megaphone, this.onTouchMegaphone, this)
}
onTouchMegaphone() {
if (this.gameOverEnd) return;
if (!this.startCreate) return;
//发音
cc.audioEngine.stopAllEffects();
......@@ -86,6 +87,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
sendData(score) {
return new Promise(res => {
if (!cc.find('middleLayer')) return;
let upData: any = {
word_count: this.data.word_count || 0,
sentence_count: this.data.sentence_count || 0,
......@@ -104,16 +106,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
}
private gameOverEnd: boolean;
gameOver() {
// pg.event.once('layer_ending_touch_replay', () => {
// this.replay();
// })
// pg.event.emit('layer_ending_show', { coin: this.data.questions.length * 3 })
if (this.gameOverEnd) return;
this.gameOverEnd = true;
if (!cc.find('middleLayer')) return;
this.sendData(this.data.questions.length * 3).then(() => {
})
const middleLayer = cc.find('middleLayer').getComponent('middleLayer');
middleLayer.saveGolds(this.data.questions.length * 3); // 保存金币数量;num 是获得金币的数量,数字类型;
middleLayer.goNextPage(); // 跳转到下一页
})
}
private rightList: Array<any>;
private createCount: number;
......@@ -201,6 +203,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 点击泡泡
private touchForid: boolean;
touchPaoPao(e: any) {
console.log(this.gameOverEnd);
if (this.gameOverEnd) return;
if (this.touchForid) return;
this.touchForid = 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