Commit 131e02f3 authored by Tt's avatar Tt

修改点击

parent bf159242
......@@ -53,10 +53,4 @@ export default class ImgVoice extends cc.Component {
p2.active = false;
p3.active = false;
}
}
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "85bbc31f-4210-44bb-baa5-62d75887b2f3",
"uuid": "2473acff-be18-403b-ada4-4bc33b00ef35",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
......@@ -75,19 +75,19 @@
"__id__": 5
},
{
"__id__": 266
"__id__": 274
}
],
"_active": true,
"_components": [
{
"__id__": 288
"__id__": 296
},
{
"__id__": 289
"__id__": 297
},
{
"__id__": 290
"__id__": 298
}
],
"_prefab": null,
......@@ -257,13 +257,13 @@
"__id__": 33
},
{
"__id__": 150
"__id__": 154
}
],
"_active": true,
"_components": [
{
"__id__": 265
"__id__": 273
}
],
"_prefab": null,
......@@ -1461,14 +1461,14 @@
"_id": "22/eob941EvKk1jH3wWGDf"
},
{
"__type__": "85bbcMfQhBEu7qlYtdYh7Lz",
"__type__": "2473az/vhhAO62kS8M7AO81",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_id": "a9GBKpU7hOvYGb3o56tfrM"
"_id": "a9CiQOOA1KjrAUFp3tDToA"
},
{
"__type__": "cc.Node",
......@@ -1485,13 +1485,13 @@
"__id__": 38
},
{
"__id__": 66
"__id__": 67
},
{
"__id__": 94
"__id__": 96
},
{
"__id__": 122
"__id__": 125
}
],
"_active": true,
......@@ -1755,7 +1755,11 @@
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 66
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -1767,8 +1771,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3139,6 +3143,74 @@
"_atlas": null,
"_id": "9dapv9dONAF7SyKtTtduS3"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "eeqEA2Ie9EOYCif6OxX6Of"
},
{
"__type__": "cc.Node",
"_name": "item",
......@@ -3148,17 +3220,21 @@
},
"_children": [
{
"__id__": 67
"__id__": 68
},
{
"__id__": 72
"__id__": 73
},
{
"__id__": 89
"__id__": 90
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -3170,8 +3246,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3212,14 +3288,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [
{
"__id__": 68
"__id__": 69
},
{
"__id__": 70
"__id__": 71
}
],
"_active": true,
......@@ -3277,13 +3353,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 67
"__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 69
"__id__": 70
}
],
"_prefab": null,
......@@ -3339,7 +3415,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 69
},
"_enabled": true,
"_materials": [
......@@ -3371,13 +3447,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 67
"__id__": 68
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 72
}
],
"_prefab": null,
......@@ -3433,7 +3509,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3465,23 +3541,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [
{
"__id__": 73
"__id__": 74
},
{
"__id__": 77
"__id__": 78
},
{
"__id__": 81
"__id__": 82
}
],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 89
}
],
"_prefab": null,
......@@ -3537,17 +3613,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 73
},
"_children": [
{
"__id__": 74
"__id__": 75
}
],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 77
}
],
"_prefab": null,
......@@ -3603,13 +3679,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
"__id__": 76
}
],
"_prefab": null,
......@@ -3665,7 +3741,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3697,7 +3773,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 74
},
"_enabled": true,
"_materials": [
......@@ -3729,17 +3805,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 73
},
"_children": [
{
"__id__": 78
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 81
}
],
"_prefab": null,
......@@ -3795,13 +3871,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 77
"__id__": 78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 80
}
],
"_prefab": null,
......@@ -3857,7 +3933,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 79
},
"_enabled": true,
"_materials": [
......@@ -3892,7 +3968,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 78
},
"_enabled": true,
"_materials": [
......@@ -3924,17 +4000,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 73
},
"_children": [
{
"__id__": 82
"__id__": 83
},
{
"__id__": 84
"__id__": 85
},
{
"__id__": 86
"__id__": 87
}
],
"_active": true,
......@@ -3992,13 +4068,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
"__id__": 84
}
],
"_prefab": null,
......@@ -4054,7 +4130,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 83
},
"_enabled": true,
"_materials": [
......@@ -4086,13 +4162,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 86
}
],
"_prefab": null,
......@@ -4148,7 +4224,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 85
},
"_enabled": true,
"_materials": [
......@@ -4180,13 +4256,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 81
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 88
}
],
"_prefab": null,
......@@ -4242,7 +4318,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -4274,7 +4350,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -4294,14 +4370,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [
{
"__id__": 90
"__id__": 91
},
{
"__id__": 92
"__id__": 93
}
],
"_active": true,
......@@ -4359,13 +4435,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 89
"__id__": 90
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 91
"__id__": 92
}
],
"_prefab": null,
......@@ -4421,7 +4497,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 91
},
"_enabled": true,
"_materials": [
......@@ -4453,13 +4529,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 89
"__id__": 90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 94
}
],
"_prefab": null,
......@@ -4515,7 +4591,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -4542,6 +4618,74 @@
"_atlas": null,
"_id": "12e47H0kNNtqiQug9IlwSD"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "64CIr0VChAfr4NyJdQ2HOw"
},
{
"__type__": "cc.Node",
"_name": "item",
......@@ -4551,17 +4695,21 @@
},
"_children": [
{
"__id__": 95
"__id__": 97
},
{
"__id__": 100
"__id__": 102
},
{
"__id__": 117
"__id__": 119
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 124
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -4573,8 +4721,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4615,14 +4763,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 96
},
"_children": [
{
"__id__": 96
"__id__": 98
},
{
"__id__": 98
"__id__": 100
}
],
"_active": true,
......@@ -4680,13 +4828,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 95
"__id__": 97
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 97
"__id__": 99
}
],
"_prefab": null,
......@@ -4742,7 +4890,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -4774,13 +4922,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 95
"__id__": 97
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 99
"__id__": 101
}
],
"_prefab": null,
......@@ -4836,7 +4984,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 100
},
"_enabled": true,
"_materials": [
......@@ -4868,23 +5016,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 96
},
"_children": [
{
"__id__": 101
"__id__": 103
},
{
"__id__": 105
"__id__": 107
},
{
"__id__": 109
"__id__": 111
}
],
"_active": true,
"_components": [
{
"__id__": 116
"__id__": 118
}
],
"_prefab": null,
......@@ -4940,17 +5088,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 102
},
"_children": [
{
"__id__": 102
"__id__": 104
}
],
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 106
}
],
"_prefab": null,
......@@ -5006,13 +5154,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 101
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
"__id__": 105
}
],
"_prefab": null,
......@@ -5068,7 +5216,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 104
},
"_enabled": true,
"_materials": [
......@@ -5100,7 +5248,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 103
},
"_enabled": true,
"_materials": [
......@@ -5132,17 +5280,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 102
},
"_children": [
{
"__id__": 106
"__id__": 108
}
],
"_active": true,
"_components": [
{
"__id__": 108
"__id__": 110
}
],
"_prefab": null,
......@@ -5198,13 +5346,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 105
"__id__": 107
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
"__id__": 109
}
],
"_prefab": null,
......@@ -5260,7 +5408,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 108
},
"_enabled": true,
"_materials": [
......@@ -5295,7 +5443,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -5327,17 +5475,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 102
},
"_children": [
{
"__id__": 110
},
{
"__id__": 112
},
{
"__id__": 114
},
{
"__id__": 116
}
],
"_active": true,
......@@ -5395,13 +5543,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 109
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 111
"__id__": 113
}
],
"_prefab": null,
......@@ -5457,7 +5605,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 112
},
"_enabled": true,
"_materials": [
......@@ -5489,13 +5637,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 109
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 113
"__id__": 115
}
],
"_prefab": null,
......@@ -5551,7 +5699,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -5583,13 +5731,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 109
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 117
}
],
"_prefab": null,
......@@ -5645,7 +5793,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 116
},
"_enabled": true,
"_materials": [
......@@ -5677,7 +5825,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 102
},
"_enabled": true,
"_materials": [
......@@ -5697,14 +5845,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 96
},
"_children": [
{
"__id__": 118
"__id__": 120
},
{
"__id__": 120
"__id__": 122
}
],
"_active": true,
......@@ -5762,13 +5910,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 119
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 119
"__id__": 121
}
],
"_prefab": null,
......@@ -5824,7 +5972,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 120
},
"_enabled": true,
"_materials": [
......@@ -5856,13 +6004,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 119
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 123
}
],
"_prefab": null,
......@@ -5918,7 +6066,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 122
},
"_enabled": true,
"_materials": [
......@@ -5945,6 +6093,74 @@
"_atlas": null,
"_id": "ccap2hiDpNCpt9xNxsHpSh"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "16KhGTvHBCfoiXtWTot5xN"
},
{
"__type__": "cc.Node",
"_name": "item",
......@@ -5954,17 +6170,21 @@
},
"_children": [
{
"__id__": 123
"__id__": 126
},
{
"__id__": 128
"__id__": 131
},
{
"__id__": 145
"__id__": 148
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 153
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -5976,8 +6196,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6018,14 +6238,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [
{
"__id__": 124
"__id__": 127
},
{
"__id__": 126
"__id__": 129
}
],
"_active": true,
......@@ -6083,13 +6303,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 126
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 125
"__id__": 128
}
],
"_prefab": null,
......@@ -6145,7 +6365,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -6177,13 +6397,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 123
"__id__": 126
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 127
"__id__": 130
}
],
"_prefab": null,
......@@ -6239,7 +6459,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
"__id__": 129
},
"_enabled": true,
"_materials": [
......@@ -6271,23 +6491,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [
{
"__id__": 129
"__id__": 132
},
{
"__id__": 133
"__id__": 136
},
{
"__id__": 137
"__id__": 140
}
],
"_active": true,
"_components": [
{
"__id__": 144
"__id__": 147
}
],
"_prefab": null,
......@@ -6343,17 +6563,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 128
"__id__": 131
},
"_children": [
{
"__id__": 130
"__id__": 133
}
],
"_active": true,
"_components": [
{
"__id__": 132
"__id__": 135
}
],
"_prefab": null,
......@@ -6409,13 +6629,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 129
"__id__": 132
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 134
}
],
"_prefab": null,
......@@ -6471,7 +6691,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 133
},
"_enabled": true,
"_materials": [
......@@ -6503,7 +6723,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
"__id__": 132
},
"_enabled": true,
"_materials": [
......@@ -6535,17 +6755,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 128
"__id__": 131
},
"_children": [
{
"__id__": 134
"__id__": 137
}
],
"_active": true,
"_components": [
{
"__id__": 136
"__id__": 139
}
],
"_prefab": null,
......@@ -6601,13 +6821,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 133
"__id__": 136
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
"__id__": 138
}
],
"_prefab": null,
......@@ -6663,7 +6883,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 137
},
"_enabled": true,
"_materials": [
......@@ -6698,7 +6918,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 136
},
"_enabled": true,
"_materials": [
......@@ -6730,17 +6950,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 128
"__id__": 131
},
"_children": [
{
"__id__": 138
"__id__": 141
},
{
"__id__": 140
"__id__": 143
},
{
"__id__": 142
"__id__": 145
}
],
"_active": true,
......@@ -6798,13 +7018,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 137
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 139
"__id__": 142
}
],
"_prefab": null,
......@@ -6860,7 +7080,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 138
"__id__": 141
},
"_enabled": true,
"_materials": [
......@@ -6892,13 +7112,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 137
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 141
"__id__": 144
}
],
"_prefab": null,
......@@ -6954,7 +7174,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 143
},
"_enabled": true,
"_materials": [
......@@ -6986,13 +7206,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 137
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 143
"__id__": 146
}
],
"_prefab": null,
......@@ -7048,7 +7268,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
"__id__": 145
},
"_enabled": true,
"_materials": [
......@@ -7080,7 +7300,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 131
},
"_enabled": true,
"_materials": [
......@@ -7100,14 +7320,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [
{
"__id__": 146
"__id__": 149
},
{
"__id__": 148
"__id__": 151
}
],
"_active": true,
......@@ -7165,13 +7385,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 148
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 147
"__id__": 150
}
],
"_prefab": null,
......@@ -7227,7 +7447,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 149
},
"_enabled": true,
"_materials": [
......@@ -7259,13 +7479,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 145
"__id__": 148
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 149
"__id__": 152
}
],
"_prefab": null,
......@@ -7321,7 +7541,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
"__id__": 151
},
"_enabled": true,
"_materials": [
......@@ -7348,6 +7568,74 @@
"_atlas": null,
"_id": "951S5Wfv9Lkay4aoA6HX6h"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "0c0w27df1LAo9k48pk0WEN"
},
{
"__type__": "cc.Node",
"_name": "layout_down",
......@@ -7357,19 +7645,19 @@
},
"_children": [
{
"__id__": 151
"__id__": 155
},
{
"__id__": 153
"__id__": 157
},
{
"__id__": 181
"__id__": 186
},
{
"__id__": 209
"__id__": 215
},
{
"__id__": 237
"__id__": 244
}
],
"_active": true,
......@@ -7427,13 +7715,13 @@
"_name": "bg_shelf",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 154
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
"__id__": 156
}
],
"_prefab": null,
......@@ -7489,7 +7777,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
"__id__": 155
},
"_enabled": true,
"_materials": [
......@@ -7521,21 +7809,25 @@
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 154
},
"_children": [
{
"__id__": 154
"__id__": 158
},
{
"__id__": 159
"__id__": 163
},
{
"__id__": 176
"__id__": 180
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 185
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -7547,8 +7839,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7589,14 +7881,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 153
"__id__": 157
},
"_children": [
{
"__id__": 155
"__id__": 159
},
{
"__id__": 157
"__id__": 161
}
],
"_active": true,
......@@ -7654,13 +7946,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 156
"__id__": 160
}
],
"_prefab": null,
......@@ -7716,7 +8008,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
"__id__": 159
},
"_enabled": true,
"_materials": [
......@@ -7748,13 +8040,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 158
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 158
"__id__": 162
}
],
"_prefab": null,
......@@ -7810,7 +8102,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
"__id__": 161
},
"_enabled": true,
"_materials": [
......@@ -7842,23 +8134,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 153
"__id__": 157
},
"_children": [
{
"__id__": 160
},
{
"__id__": 164
},
{
"__id__": 168
},
{
"__id__": 172
}
],
"_active": true,
"_components": [
{
"__id__": 175
"__id__": 179
}
],
"_prefab": null,
......@@ -7914,17 +8206,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 159
"__id__": 163
},
"_children": [
{
"__id__": 161
"__id__": 165
}
],
"_active": true,
"_components": [
{
"__id__": 163
"__id__": 167
}
],
"_prefab": null,
......@@ -7980,13 +8272,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 160
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 162
"__id__": 166
}
],
"_prefab": null,
......@@ -8042,7 +8334,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
"__id__": 165
},
"_enabled": true,
"_materials": [
......@@ -8074,7 +8366,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
"__id__": 164
},
"_enabled": true,
"_materials": [
......@@ -8106,17 +8398,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 159
"__id__": 163
},
"_children": [
{
"__id__": 165
"__id__": 169
}
],
"_active": true,
"_components": [
{
"__id__": 167
"__id__": 171
}
],
"_prefab": null,
......@@ -8172,13 +8464,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 164
"__id__": 168
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
"__id__": 170
}
],
"_prefab": null,
......@@ -8234,7 +8526,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 169
},
"_enabled": true,
"_materials": [
......@@ -8269,7 +8561,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 164
"__id__": 168
},
"_enabled": true,
"_materials": [
......@@ -8301,17 +8593,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 159
"__id__": 163
},
"_children": [
{
"__id__": 169
"__id__": 173
},
{
"__id__": 171
"__id__": 175
},
{
"__id__": 173
"__id__": 177
}
],
"_active": true,
......@@ -8369,13 +8661,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 168
"__id__": 172
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 170
"__id__": 174
}
],
"_prefab": null,
......@@ -8431,7 +8723,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 169
"__id__": 173
},
"_enabled": true,
"_materials": [
......@@ -8463,13 +8755,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 168
"__id__": 172
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 172
"__id__": 176
}
],
"_prefab": null,
......@@ -8525,7 +8817,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
"__id__": 175
},
"_enabled": true,
"_materials": [
......@@ -8557,13 +8849,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 168
"__id__": 172
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
"__id__": 178
}
],
"_prefab": null,
......@@ -8619,7 +8911,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
"__id__": 177
},
"_enabled": true,
"_materials": [
......@@ -8651,7 +8943,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 163
},
"_enabled": true,
"_materials": [
......@@ -8671,14 +8963,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 153
"__id__": 157
},
"_children": [
{
"__id__": 177
"__id__": 181
},
{
"__id__": 179
"__id__": 183
}
],
"_active": true,
......@@ -8736,13 +9028,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 176
"__id__": 180
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 178
"__id__": 182
}
],
"_prefab": null,
......@@ -8798,7 +9090,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 177
"__id__": 181
},
"_enabled": true,
"_materials": [
......@@ -8830,13 +9122,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 176
"__id__": 180
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 180
"__id__": 184
}
],
"_prefab": null,
......@@ -8892,7 +9184,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
"__id__": 183
},
"_enabled": true,
"_materials": [
......@@ -8919,26 +9211,98 @@
"_atlas": null,
"_id": "2cglB9l31Ox6ipxWrW6eis"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "12XEVAb8pMG7vbzoiK2UtL"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 154
},
"_children": [
{
"__id__": 182
"__id__": 187
},
{
"__id__": 187
"__id__": 192
},
{
"__id__": 204
"__id__": 209
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 214
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -8950,8 +9314,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8992,14 +9356,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 186
},
"_children": [
{
"__id__": 183
"__id__": 188
},
{
"__id__": 185
"__id__": 190
}
],
"_active": true,
......@@ -9057,13 +9421,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 187
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 184
"__id__": 189
}
],
"_prefab": null,
......@@ -9119,7 +9483,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 183
"__id__": 188
},
"_enabled": true,
"_materials": [
......@@ -9151,13 +9515,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 187
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 186
"__id__": 191
}
],
"_prefab": null,
......@@ -9213,7 +9577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 185
"__id__": 190
},
"_enabled": true,
"_materials": [
......@@ -9245,23 +9609,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 186
},
"_children": [
{
"__id__": 188
"__id__": 193
},
{
"__id__": 192
"__id__": 197
},
{
"__id__": 196
"__id__": 201
}
],
"_active": true,
"_components": [
{
"__id__": 203
"__id__": 208
}
],
"_prefab": null,
......@@ -9317,17 +9681,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 192
},
"_children": [
{
"__id__": 189
"__id__": 194
}
],
"_active": true,
"_components": [
{
"__id__": 191
"__id__": 196
}
],
"_prefab": null,
......@@ -9383,13 +9747,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 193
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 190
"__id__": 195
}
],
"_prefab": null,
......@@ -9445,7 +9809,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 189
"__id__": 194
},
"_enabled": true,
"_materials": [
......@@ -9477,7 +9841,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 188
"__id__": 193
},
"_enabled": true,
"_materials": [
......@@ -9509,17 +9873,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 192
},
"_children": [
{
"__id__": 193
"__id__": 198
}
],
"_active": true,
"_components": [
{
"__id__": 195
"__id__": 200
}
],
"_prefab": null,
......@@ -9575,13 +9939,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 192
"__id__": 197
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 194
"__id__": 199
}
],
"_prefab": null,
......@@ -9637,7 +10001,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 198
},
"_enabled": true,
"_materials": [
......@@ -9672,7 +10036,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 192
"__id__": 197
},
"_enabled": true,
"_materials": [
......@@ -9704,17 +10068,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 192
},
"_children": [
{
"__id__": 197
"__id__": 202
},
{
"__id__": 199
"__id__": 204
},
{
"__id__": 201
"__id__": 206
}
],
"_active": true,
......@@ -9772,13 +10136,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 196
"__id__": 201
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 198
"__id__": 203
}
],
"_prefab": null,
......@@ -9834,7 +10198,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
"__id__": 202
},
"_enabled": true,
"_materials": [
......@@ -9866,13 +10230,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 196
"__id__": 201
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 200
"__id__": 205
}
],
"_prefab": null,
......@@ -9928,7 +10292,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 199
"__id__": 204
},
"_enabled": true,
"_materials": [
......@@ -9960,13 +10324,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 196
"__id__": 201
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 202
"__id__": 207
}
],
"_prefab": null,
......@@ -10022,7 +10386,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
"__id__": 206
},
"_enabled": true,
"_materials": [
......@@ -10054,7 +10418,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
"__id__": 192
},
"_enabled": true,
"_materials": [
......@@ -10074,14 +10438,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 186
},
"_children": [
{
"__id__": 205
"__id__": 210
},
{
"__id__": 207
"__id__": 212
}
],
"_active": true,
......@@ -10139,13 +10503,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 204
"__id__": 209
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 206
"__id__": 211
}
],
"_prefab": null,
......@@ -10201,7 +10565,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 205
"__id__": 210
},
"_enabled": true,
"_materials": [
......@@ -10233,13 +10597,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 204
"__id__": 209
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 208
"__id__": 213
}
],
"_prefab": null,
......@@ -10295,7 +10659,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 207
"__id__": 212
},
"_enabled": true,
"_materials": [
......@@ -10322,26 +10686,98 @@
"_atlas": null,
"_id": "7dSA4H8XxDtJbOVYjPvQ7A"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 186
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "e175nP9YRFaqslVawRCoDg"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 154
},
"_children": [
{
"__id__": 210
"__id__": 216
},
{
"__id__": 215
"__id__": 221
},
{
"__id__": 232
"__id__": 238
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 243
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -10353,8 +10789,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -10395,14 +10831,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 215
},
"_children": [
{
"__id__": 211
"__id__": 217
},
{
"__id__": 213
"__id__": 219
}
],
"_active": true,
......@@ -10460,13 +10896,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 210
"__id__": 216
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 212
"__id__": 218
}
],
"_prefab": null,
......@@ -10522,7 +10958,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 211
"__id__": 217
},
"_enabled": true,
"_materials": [
......@@ -10554,13 +10990,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 210
"__id__": 216
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 214
"__id__": 220
}
],
"_prefab": null,
......@@ -10616,7 +11052,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 213
"__id__": 219
},
"_enabled": true,
"_materials": [
......@@ -10648,23 +11084,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 215
},
"_children": [
{
"__id__": 216
"__id__": 222
},
{
"__id__": 220
"__id__": 226
},
{
"__id__": 224
"__id__": 230
}
],
"_active": true,
"_components": [
{
"__id__": 231
"__id__": 237
}
],
"_prefab": null,
......@@ -10720,17 +11156,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 215
"__id__": 221
},
"_children": [
{
"__id__": 217
"__id__": 223
}
],
"_active": true,
"_components": [
{
"__id__": 219
"__id__": 225
}
],
"_prefab": null,
......@@ -10786,13 +11222,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 216
"__id__": 222
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 218
"__id__": 224
}
],
"_prefab": null,
......@@ -10848,7 +11284,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 217
"__id__": 223
},
"_enabled": true,
"_materials": [
......@@ -10880,7 +11316,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 216
"__id__": 222
},
"_enabled": true,
"_materials": [
......@@ -10912,17 +11348,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 215
"__id__": 221
},
"_children": [
{
"__id__": 221
"__id__": 227
}
],
"_active": true,
"_components": [
{
"__id__": 223
"__id__": 229
}
],
"_prefab": null,
......@@ -10978,13 +11414,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 220
"__id__": 226
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 222
"__id__": 228
}
],
"_prefab": null,
......@@ -11040,7 +11476,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 221
"__id__": 227
},
"_enabled": true,
"_materials": [
......@@ -11075,7 +11511,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 220
"__id__": 226
},
"_enabled": true,
"_materials": [
......@@ -11107,17 +11543,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 215
"__id__": 221
},
"_children": [
{
"__id__": 225
"__id__": 231
},
{
"__id__": 227
"__id__": 233
},
{
"__id__": 229
"__id__": 235
}
],
"_active": true,
......@@ -11175,13 +11611,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 224
"__id__": 230
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 226
"__id__": 232
}
],
"_prefab": null,
......@@ -11237,7 +11673,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 225
"__id__": 231
},
"_enabled": true,
"_materials": [
......@@ -11269,13 +11705,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 224
"__id__": 230
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 228
"__id__": 234
}
],
"_prefab": null,
......@@ -11331,7 +11767,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 227
"__id__": 233
},
"_enabled": true,
"_materials": [
......@@ -11363,13 +11799,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 224
"__id__": 230
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 230
"__id__": 236
}
],
"_prefab": null,
......@@ -11425,7 +11861,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 229
"__id__": 235
},
"_enabled": true,
"_materials": [
......@@ -11457,7 +11893,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 215
"__id__": 221
},
"_enabled": true,
"_materials": [
......@@ -11477,14 +11913,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 215
},
"_children": [
{
"__id__": 233
"__id__": 239
},
{
"__id__": 235
"__id__": 241
}
],
"_active": true,
......@@ -11542,13 +11978,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 232
"__id__": 238
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 234
"__id__": 240
}
],
"_prefab": null,
......@@ -11604,7 +12040,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 233
"__id__": 239
},
"_enabled": true,
"_materials": [
......@@ -11636,13 +12072,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 232
"__id__": 238
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 236
"__id__": 242
}
],
"_prefab": null,
......@@ -11698,7 +12134,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 235
"__id__": 241
},
"_enabled": true,
"_materials": [
......@@ -11725,26 +12161,98 @@
"_atlas": null,
"_id": "c7XPyngBdLTY6glETdCjEG"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 215
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "61Y+VRhaxHmpMnbYgrk0NQ"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 150
"__id__": 154
},
"_children": [
{
"__id__": 238
"__id__": 245
},
{
"__id__": 243
"__id__": 250
},
{
"__id__": 260
"__id__": 267
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 272
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -11756,8 +12264,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 480,
"height": 480
"width": 420,
"height": 435
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -11798,14 +12306,14 @@
"_name": "bg_back",
"_objFlags": 0,
"_parent": {
"__id__": 237
"__id__": 244
},
"_children": [
{
"__id__": 239
"__id__": 246
},
{
"__id__": 241
"__id__": 248
}
],
"_active": true,
......@@ -11863,13 +12371,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 238
"__id__": 245
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 240
"__id__": 247
}
],
"_prefab": null,
......@@ -11925,7 +12433,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 239
"__id__": 246
},
"_enabled": true,
"_materials": [
......@@ -11957,13 +12465,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 238
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 242
"__id__": 249
}
],
"_prefab": null,
......@@ -12019,7 +12527,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 241
"__id__": 248
},
"_enabled": true,
"_materials": [
......@@ -12051,23 +12559,23 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 237
"__id__": 244
},
"_children": [
{
"__id__": 244
"__id__": 251
},
{
"__id__": 248
"__id__": 255
},
{
"__id__": 252
"__id__": 259
}
],
"_active": true,
"_components": [
{
"__id__": 259
"__id__": 266
}
],
"_prefab": null,
......@@ -12123,17 +12631,17 @@
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 243
"__id__": 250
},
"_children": [
{
"__id__": 245
"__id__": 252
}
],
"_active": true,
"_components": [
{
"__id__": 247
"__id__": 254
}
],
"_prefab": null,
......@@ -12189,13 +12697,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 244
"__id__": 251
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 246
"__id__": 253
}
],
"_prefab": null,
......@@ -12251,7 +12759,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 245
"__id__": 252
},
"_enabled": true,
"_materials": [
......@@ -12283,7 +12791,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 244
"__id__": 251
},
"_enabled": true,
"_materials": [
......@@ -12315,17 +12823,17 @@
"_name": "bg_word",
"_objFlags": 0,
"_parent": {
"__id__": 243
"__id__": 250
},
"_children": [
{
"__id__": 249
"__id__": 256
}
],
"_active": true,
"_components": [
{
"__id__": 251
"__id__": 258
}
],
"_prefab": null,
......@@ -12381,13 +12889,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 248
"__id__": 255
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 250
"__id__": 257
}
],
"_prefab": null,
......@@ -12443,7 +12951,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 249
"__id__": 256
},
"_enabled": true,
"_materials": [
......@@ -12478,7 +12986,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 248
"__id__": 255
},
"_enabled": true,
"_materials": [
......@@ -12510,17 +13018,17 @@
"_name": "img_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 243
"__id__": 250
},
"_children": [
{
"__id__": 253
"__id__": 260
},
{
"__id__": 255
"__id__": 262
},
{
"__id__": 257
"__id__": 264
}
],
"_active": true,
......@@ -12578,13 +13086,13 @@
"_name": "normal",
"_objFlags": 0,
"_parent": {
"__id__": 252
"__id__": 259
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 254
"__id__": 261
}
],
"_prefab": null,
......@@ -12640,7 +13148,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 253
"__id__": 260
},
"_enabled": true,
"_materials": [
......@@ -12672,13 +13180,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 252
"__id__": 259
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 256
"__id__": 263
}
],
"_prefab": null,
......@@ -12734,7 +13242,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 255
"__id__": 262
},
"_enabled": true,
"_materials": [
......@@ -12766,13 +13274,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 252
"__id__": 259
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 258
"__id__": 265
}
],
"_prefab": null,
......@@ -12828,7 +13336,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 257
"__id__": 264
},
"_enabled": true,
"_materials": [
......@@ -12860,7 +13368,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 243
"__id__": 250
},
"_enabled": true,
"_materials": [
......@@ -12880,14 +13388,14 @@
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 237
"__id__": 244
},
"_children": [
{
"__id__": 261
"__id__": 268
},
{
"__id__": 263
"__id__": 270
}
],
"_active": true,
......@@ -12945,13 +13453,13 @@
"_name": "vegetable",
"_objFlags": 0,
"_parent": {
"__id__": 260
"__id__": 267
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 262
"__id__": 269
}
],
"_prefab": null,
......@@ -13007,7 +13515,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 261
"__id__": 268
},
"_enabled": true,
"_materials": [
......@@ -13039,13 +13547,13 @@
"_name": "fruit",
"_objFlags": 0,
"_parent": {
"__id__": 260
"__id__": 267
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 264
"__id__": 271
}
],
"_prefab": null,
......@@ -13101,7 +13609,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 263
"__id__": 270
},
"_enabled": true,
"_materials": [
......@@ -13128,6 +13636,74 @@
"_atlas": null,
"_id": "f1Lrb5629F3oYKbAvt3fHS"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 244
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "b2NyWL/lRDTaf7ukwqIEJC"
},
{
"__type__": "cc.Widget",
"_name": "",
......@@ -13164,13 +13740,13 @@
},
"_children": [
{
"__id__": 267
"__id__": 275
},
{
"__id__": 270
"__id__": 278
},
{
"__id__": 273
"__id__": 281
}
],
"_active": false,
......@@ -13228,11 +13804,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 266
"__id__": 274
},
"_children": [
{
"__id__": 268
"__id__": 276
}
],
"_active": true,
......@@ -13290,13 +13866,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 267
"__id__": 275
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 269
"__id__": 277
}
],
"_prefab": null,
......@@ -13352,7 +13928,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 268
"__id__": 276
},
"_enabled": true,
"_materials": [],
......@@ -13383,11 +13959,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 266
"__id__": 274
},
"_children": [
{
"__id__": 271
"__id__": 279
}
],
"_active": true,
......@@ -13445,13 +14021,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 270
"__id__": 278
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 272
"__id__": 280
}
],
"_prefab": null,
......@@ -13507,7 +14083,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 271
"__id__": 279
},
"_enabled": true,
"_materials": [],
......@@ -13535,29 +14111,29 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 266
"__id__": 274
},
"_children": [
{
"__id__": 274
"__id__": 282
},
{
"__id__": 276
"__id__": 284
},
{
"__id__": 278
"__id__": 286
},
{
"__id__": 280
"__id__": 288
},
{
"__id__": 282
"__id__": 290
},
{
"__id__": 284
"__id__": 292
},
{
"__id__": 286
"__id__": 294
}
],
"_active": true,
......@@ -13615,13 +14191,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 275
"__id__": 283
}
],
"_prefab": null,
......@@ -13677,7 +14253,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 274
"__id__": 282
},
"_enabled": true,
"_clip": {
......@@ -13696,13 +14272,13 @@
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 277
"__id__": 285
}
],
"_prefab": null,
......@@ -13758,7 +14334,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 276
"__id__": 284
},
"_enabled": true,
"_clip": {
......@@ -13777,13 +14353,13 @@
"_name": "create",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 279
"__id__": 287
}
],
"_prefab": null,
......@@ -13839,7 +14415,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 278
"__id__": 286
},
"_enabled": true,
"_clip": {
......@@ -13858,13 +14434,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 281
"__id__": 289
}
],
"_prefab": null,
......@@ -13920,7 +14496,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 280
"__id__": 288
},
"_enabled": true,
"_clip": {
......@@ -13939,13 +14515,13 @@
"_name": "fly",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 283
"__id__": 291
}
],
"_prefab": null,
......@@ -14001,7 +14577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 282
"__id__": 290
},
"_enabled": true,
"_clip": {
......@@ -14020,13 +14596,13 @@
"_name": "countdown",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 285
"__id__": 293
}
],
"_prefab": null,
......@@ -14082,7 +14658,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 284
"__id__": 292
},
"_enabled": true,
"_clip": {
......@@ -14101,13 +14677,13 @@
"_name": "light",
"_objFlags": 0,
"_parent": {
"__id__": 273
"__id__": 281
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 287
"__id__": 295
}
],
"_prefab": null,
......@@ -14163,7 +14739,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 286
"__id__": 294
},
"_enabled": true,
"_clip": {
......@@ -14237,25 +14813,25 @@
"__id__": 38
},
{
"__id__": 66
"__id__": 67
},
{
"__id__": 94
"__id__": 96
},
{
"__id__": 122
"__id__": 125
},
{
"__id__": 153
"__id__": 157
},
{
"__id__": 181
"__id__": 186
},
{
"__id__": 209
"__id__": 215
},
{
"__id__": 237
"__id__": 244
}
],
"_id": "eaTVUpqahPfZeO9+sUI7RP"
......
import { asyncDelay, onHomeworkFinish } from "../script/util_sn14_dds";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_sn14_dds";
import pg from "./pg_sn14_dds";
import ImgVoice from "./ImgVoice_sn14_dds";
import ImgVoice from "./Voice_sn14_dds";
const { ccclass, property } = cc._decorator;
......@@ -109,7 +109,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.gameOver();
return;
}
this.canTouch = true;
//TODO: 需要增加总倒计时
this.currentQuestion.options = this.currentQuestion.options.map((op, i) => {
op.id = i;
......@@ -155,12 +155,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 点击泡泡
touchPaoPao(e: any) {
// 点击之后不能再次点击
if (!this.canTouch) return;
this.canTouch = false;
// 如果泡泡没有到指定位置不允许点击
let item = e.target;
let data = e.target.data;
if (data.right) {
this.rightList.push(data);
this.updatePaoPaoRight(item, data).then(() => {
this.canTouch = true;
if (this.rightList.length == this.currentRightList.length) {
this.freeArea.forEach((item) => {
this.udpatePaoPaoHide(item);
......@@ -173,7 +177,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else {
// 失败
pg.hw.playLocalAudio('error')
this.updatePaoPaoError(item, data)
this.updatePaoPaoError(item, data).then(() => {
this.canTouch = true;
})
}
}
udpatePaoPaoHide(item) {
......@@ -209,17 +215,17 @@ export default class SceneComponent extends MyCocosSceneComponent {
let defaultPicY = -170;
let outPicY = 105;
cc.Tween.stopAllByTarget(bg_pic);
cc.tween(bg_pic).delay(1).to(1, { y: defaultPicY }).start();
cc.tween(bg_pic).delay(1 / 3).to(1 / 3, { y: defaultPicY }).start();
} else {
let defaultPicY = -170;
let outPicY = 80;
cc.Tween.stopAllByTarget(bg_word);
cc.tween(bg_word).delay(1).to(1, { y: defaultPicY }).start();
cc.tween(bg_word).delay(1 / 3).to(1 / 3, { y: defaultPicY }).start();
}
let defaultMouseY = -110;
cc.Tween.stopAllByTarget(img_mouse);
cc.tween(img_mouse).delay(1).to(1, { y: defaultMouseY }).call(() => {
cc.tween(img_mouse).delay(1 / 3).to(1 / 3, { y: defaultMouseY }).call(() => {
this.itemList.push(item);
resolve("");
}).start();
......
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