Commit 5ce350d8 authored by Tt's avatar Tt

效果调整

parent c7c9e3c5
{
"ver": "2.3.5",
"uuid": "63b857a9-da4c-47b7-bdc3-e4cd19b60f0b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 200,
"height": 142,
"platformSettings": {},
"subMetas": {
"img_jili_03大": {
"ver": "1.0.4",
"uuid": "5283c4c3-1c25-4d0a-b870-0feb5eaf51fc",
"rawTextureUuid": "63b857a9-da4c-47b7-bdc3-e4cd19b60f0b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": -0.5,
"trimX": 4,
"trimY": 1,
"width": 194,
"height": 141,
"rawWidth": 200,
"rawHeight": 142,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -78,31 +78,31 @@
"__id__": 25
},
{
"__id__": 73
"__id__": 77
},
{
"__id__": 98
"__id__": 104
},
{
"__id__": 103
"__id__": 109
},
{
"__id__": 117
"__id__": 123
},
{
"__id__": 129
"__id__": 135
}
],
"_active": true,
"_components": [
{
"__id__": 150
"__id__": 157
},
{
"__id__": 151
"__id__": 158
},
{
"__id__": 152
"__id__": 159
}
],
"_prefab": null,
......@@ -1236,17 +1236,21 @@
"__id__": 26
},
{
"__id__": 28
"__id__": 29
},
{
"__id__": 69
"__id__": 70
},
{
"__id__": 71
"__id__": 73
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -1258,8 +1262,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1307,6 +1311,9 @@
"_components": [
{
"__id__": 27
},
{
"__id__": 28
}
],
"_prefab": null,
......@@ -1376,7 +1383,7 @@
"__uuid__": "c8abb90b-22a1-4b32-88b5-5cee6a2a0339"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -1389,6 +1396,33 @@
"_atlas": null,
"_id": "c3F29Z7EhEzqPwUDSLsQRK"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "fdcdlhi7BPmpbhFc3IMeLR"
},
{
"__type__": "cc.Node",
"_name": "bg_card",
......@@ -1398,34 +1432,34 @@
},
"_children": [
{
"__id__": 29
"__id__": 30
},
{
"__id__": 31
"__id__": 32
},
{
"__id__": 35
"__id__": 36
},
{
"__id__": 36
"__id__": 37
},
{
"__id__": 41
"__id__": 42
},
{
"__id__": 58
"__id__": 59
},
{
"__id__": 64
"__id__": 65
},
{
"__id__": 66
"__id__": 67
}
],
"_active": true,
"_components": [
{
"__id__": 68
"__id__": 69
}
],
"_prefab": null,
......@@ -1481,13 +1515,13 @@
"_name": "mouse_out",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 31
}
],
"_prefab": null,
......@@ -1543,7 +1577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 30
},
"_enabled": true,
"_materials": [
......@@ -1575,17 +1609,17 @@
"_name": "page",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [
{
"__id__": 32
"__id__": 33
}
],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 35
}
],
"_prefab": null,
......@@ -1641,13 +1675,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 31
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
"__id__": 34
}
],
"_prefab": null,
......@@ -1703,7 +1737,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
"__id__": 33
},
"_enabled": true,
"_materials": [
......@@ -1736,7 +1770,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"__id__": 32
},
"_enabled": true,
"_materials": [
......@@ -1768,7 +1802,7 @@
"_name": "layout_card",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [],
"_active": true,
......@@ -1826,14 +1860,14 @@
"_name": "layout_card_result",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [
{
"__id__": 37
"__id__": 38
},
{
"__id__": 39
"__id__": 40
}
],
"_active": true,
......@@ -1891,13 +1925,13 @@
"_name": "card_result",
"_objFlags": 0,
"_parent": {
"__id__": 36
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 39
}
],
"_prefab": null,
......@@ -1953,7 +1987,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
"__id__": 38
},
"_enabled": true,
"_materials": [
......@@ -1985,13 +2019,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 36
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 41
}
],
"_prefab": null,
......@@ -2047,7 +2081,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
"__id__": 40
},
"_enabled": true,
"_materials": [
......@@ -2079,29 +2113,29 @@
"_name": "card_up",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [
{
"__id__": 42
"__id__": 43
},
{
"__id__": 44
"__id__": 45
},
{
"__id__": 46
"__id__": 47
},
{
"__id__": 49
"__id__": 50
},
{
"__id__": 52
"__id__": 53
}
],
"_active": false,
"_components": [
{
"__id__": 57
"__id__": 58
}
],
"_prefab": null,
......@@ -2157,13 +2191,13 @@
"_name": "light_blue",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 43
"__id__": 44
}
],
"_prefab": null,
......@@ -2219,7 +2253,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 43
},
"_enabled": true,
"_materials": [
......@@ -2251,13 +2285,13 @@
"_name": "light_orange",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 45
"__id__": 46
}
],
"_prefab": null,
......@@ -2313,7 +2347,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 45
},
"_enabled": true,
"_materials": [
......@@ -2345,11 +2379,11 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [
{
"__id__": 47
"__id__": 48
}
],
"_active": true,
......@@ -2407,13 +2441,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 46
"__id__": 47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
"__id__": 49
}
],
"_prefab": null,
......@@ -2469,7 +2503,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
"__id__": 48
},
"_enabled": true,
"_materials": [
......@@ -2502,11 +2536,11 @@
"_name": "pic",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [
{
"__id__": 50
"__id__": 51
}
],
"_active": true,
......@@ -2564,13 +2598,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 49
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 52
}
],
"_prefab": null,
......@@ -2626,7 +2660,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 51
},
"_enabled": true,
"_materials": [
......@@ -2658,14 +2692,14 @@
"_name": "picText",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [
{
"__id__": 53
"__id__": 54
},
{
"__id__": 55
"__id__": 56
}
],
"_active": true,
......@@ -2723,13 +2757,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 55
}
],
"_prefab": null,
......@@ -2785,7 +2819,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 54
},
"_enabled": true,
"_materials": [
......@@ -2817,13 +2851,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 52
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 57
}
],
"_prefab": null,
......@@ -2879,7 +2913,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 56
},
"_enabled": true,
"_materials": [
......@@ -2912,7 +2946,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 42
},
"_enabled": true,
"_materials": [
......@@ -2944,20 +2978,20 @@
"_name": "card_down",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [
{
"__id__": 59
"__id__": 60
},
{
"__id__": 61
"__id__": 62
}
],
"_active": false,
"_components": [
{
"__id__": 63
"__id__": 64
}
],
"_prefab": null,
......@@ -3013,13 +3047,13 @@
"_name": "highlight_orange",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 59
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 60
"__id__": 61
}
],
"_prefab": null,
......@@ -3075,7 +3109,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 60
},
"_enabled": true,
"_materials": [
......@@ -3107,13 +3141,13 @@
"_name": "highlight_blue",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 59
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 62
"__id__": 63
}
],
"_prefab": null,
......@@ -3169,7 +3203,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
"__id__": 62
},
"_enabled": true,
"_materials": [
......@@ -3201,7 +3235,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
"__id__": 59
},
"_enabled": true,
"_materials": [
......@@ -3233,13 +3267,13 @@
"_name": "btn_check_grey",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
"__id__": 66
}
],
"_prefab": null,
......@@ -3295,7 +3329,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 65
},
"_enabled": true,
"_materials": [
......@@ -3327,13 +3361,13 @@
"_name": "btn_check",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 67
"__id__": 68
}
],
"_prefab": null,
......@@ -3389,7 +3423,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 67
},
"_enabled": true,
"_materials": [
......@@ -3421,7 +3455,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
"__id__": 29
},
"_enabled": true,
"_materials": [
......@@ -3459,7 +3493,10 @@
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 71
},
{
"__id__": 72
}
],
"_prefab": null,
......@@ -3486,7 +3523,7 @@
"ctor": "Float64Array",
"array": [
-447.593,
-239.307,
-239.30700000000002,
0,
0,
0,
......@@ -3515,7 +3552,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -3542,6 +3579,33 @@
"_atlas": null,
"_id": "dfa7HV0HFGW44fqmG9IPPi"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 1.6929999999999836,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "41idbi+ZJE85x/UJn6vl65"
},
{
"__type__": "cc.Node",
"_name": "bg_flower_right",
......@@ -3553,7 +3617,10 @@
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 74
},
{
"__id__": 75
}
],
"_prefab": null,
......@@ -3609,7 +3676,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -3636,6 +3703,60 @@
"_atlas": null,
"_id": "ba+1O9NGtAl4sw5FX4lRO6"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 2.062999999999988,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "49Bmb+nkxJCrQ4InqUA6yA"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "90fVNdCJFFEJKEN9sQkt1E"
},
{
"__type__": "cc.Node",
"_name": "layout_lollipop",
......@@ -3645,13 +3766,7 @@
},
"_children": [
{
"__id__": 74
},
{
"__id__": 76
},
{
"__id__": 78
"__id__": 78
},
{
"__id__": 80
......@@ -3667,12 +3782,21 @@
},
{
"__id__": 88
},
{
"__id__": 90
},
{
"__id__": 92
},
{
"__id__": 101
}
],
"_active": false,
"_components": [
{
"__id__": 97
"__id__": 103
}
],
"_prefab": null,
......@@ -3728,13 +3852,13 @@
"_name": "v1",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 75
"__id__": 79
}
],
"_prefab": null,
......@@ -3790,7 +3914,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 78
},
"_enabled": true,
"_materials": [
......@@ -3822,13 +3946,13 @@
"_name": "v2",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 77
"__id__": 81
}
],
"_prefab": null,
......@@ -3884,7 +4008,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 80
},
"_enabled": true,
"_materials": [
......@@ -3916,13 +4040,13 @@
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 79
"__id__": 83
}
],
"_prefab": null,
......@@ -3978,7 +4102,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 82
},
"_enabled": true,
"_materials": [
......@@ -4010,13 +4134,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 85
}
],
"_prefab": null,
......@@ -4072,7 +4196,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 84
},
"_enabled": true,
"_materials": [
......@@ -4104,13 +4228,13 @@
"_name": "progressbar_grey",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 83
"__id__": 87
}
],
"_prefab": null,
......@@ -4166,7 +4290,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -4198,13 +4322,13 @@
"_name": "progressbar_red",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 85
"__id__": 89
}
],
"_prefab": null,
......@@ -4260,7 +4384,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -4292,13 +4416,13 @@
"_name": "progressbar_highlight",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 87
"__id__": 91
}
],
"_prefab": null,
......@@ -4354,7 +4478,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -4386,20 +4510,20 @@
"_name": "texts",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 77
},
"_children": [
{
"__id__": 89
"__id__": 93
},
{
"__id__": 91
"__id__": 95
},
{
"__id__": 93
"__id__": 97
},
{
"__id__": 95
"__id__": 99
}
],
"_active": true,
......@@ -4457,13 +4581,13 @@
"_name": "complate",
"_objFlags": 0,
"_parent": {
"__id__": 88
"__id__": 92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 90
"__id__": 94
}
],
"_prefab": null,
......@@ -4519,7 +4643,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -4551,13 +4675,13 @@
"_name": "well",
"_objFlags": 0,
"_parent": {
"__id__": 88
"__id__": 92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 92
"__id__": 96
}
],
"_prefab": null,
......@@ -4613,7 +4737,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 95
},
"_enabled": true,
"_materials": [
......@@ -4645,13 +4769,13 @@
"_name": "good",
"_objFlags": 0,
"_parent": {
"__id__": 88
"__id__": 92
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 94
"__id__": 98
}
],
"_prefab": null,
......@@ -4707,7 +4831,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 97
},
"_enabled": true,
"_materials": [
......@@ -4739,13 +4863,13 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 88
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 96
"__id__": 100
}
],
"_prefab": null,
......@@ -4801,7 +4925,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
"__id__": 99
},
"_enabled": true,
"_clip": {
......@@ -4815,12 +4939,93 @@
"preload": false,
"_id": "03YI0C/llETovJWsE2pOcl"
},
{
"__type__": "cc.Node",
"_name": "countdown",
"_objFlags": 0,
"_parent": {
"__id__": 77
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97uPCW3DJP2aCkqd0CbIVd"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"_clip": {
"__uuid__": "11361b6c-6556-47e2-9e5c-306f9f77cbc8"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "4bCwjJUlJLV7ftmVQ/SKRg"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 77
},
"_enabled": true,
"_normalMaterial": null,
......@@ -4881,7 +5086,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 73
"__id__": 77
},
"_id": "72jfuMRoNA7oChyfiuRALY"
},
......@@ -4894,13 +5099,13 @@
},
"_children": [
{
"__id__": 99
"__id__": 105
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 102
"__id__": 108
},
"_opacity": 255,
"_color": {
......@@ -4954,17 +5159,17 @@
"_name": "particle_star",
"_objFlags": 0,
"_parent": {
"__id__": 98
"__id__": 104
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
"__id__": 106
}
],
"_prefab": {
"__id__": 101
"__id__": 107
},
"_opacity": 255,
"_color": {
......@@ -5018,7 +5223,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -5119,7 +5324,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 98
"__id__": 104
},
"asset": {
"__uuid__": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2"
......@@ -5130,7 +5335,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 98
"__id__": 104
},
"asset": {
"__uuid__": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2"
......@@ -5147,17 +5352,17 @@
},
"_children": [
{
"__id__": 104
"__id__": 110
}
],
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 121
}
],
"_prefab": {
"__id__": 116
"__id__": 122
},
"_opacity": 255,
"_color": {
......@@ -5211,23 +5416,23 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 103
"__id__": 109
},
"_children": [
{
"__id__": 105
"__id__": 111
},
{
"__id__": 108
"__id__": 114
},
{
"__id__": 111
"__id__": 117
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 114
"__id__": 120
},
"_opacity": 255,
"_color": {
......@@ -5281,17 +5486,17 @@
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 104
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 112
}
],
"_prefab": {
"__id__": 107
"__id__": 113
},
"_opacity": 255,
"_color": {
......@@ -5345,7 +5550,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 111
},
"_enabled": true,
"_materials": [
......@@ -5375,7 +5580,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 103
"__id__": 109
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
......@@ -5388,17 +5593,17 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 104
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 109
"__id__": 115
}
],
"_prefab": {
"__id__": 110
"__id__": 116
},
"_opacity": 255,
"_color": {
......@@ -5452,7 +5657,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -5482,7 +5687,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 103
"__id__": 109
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
......@@ -5495,17 +5700,17 @@
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 104
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 112
"__id__": 118
}
],
"_prefab": {
"__id__": 113
"__id__": 119
},
"_opacity": 255,
"_color": {
......@@ -5517,8 +5722,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
"width": 194,
"height": 141
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5559,7 +5764,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 117
},
"_enabled": true,
"_materials": [
......@@ -5570,7 +5775,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
"__uuid__": "5283c4c3-1c25-4d0a-b870-0feb5eaf51fc"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5589,7 +5794,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 103
"__id__": 109
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
......@@ -5600,7 +5805,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 103
"__id__": 109
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
......@@ -5613,7 +5818,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
"__id__": 109
},
"_enabled": true,
"position": {
......@@ -5632,7 +5837,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 103
"__id__": 109
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
......@@ -5649,23 +5854,23 @@
},
"_children": [
{
"__id__": 118
"__id__": 124
},
{
"__id__": 121
"__id__": 127
},
{
"__id__": 124
"__id__": 130
}
],
"_active": false,
"_components": [
{
"__id__": 127
"__id__": 133
}
],
"_prefab": {
"__id__": 128
"__id__": 134
},
"_opacity": 255,
"_color": {
......@@ -5719,17 +5924,17 @@
"_name": "ske_candy",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 123
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 125
}
],
"_prefab": {
"__id__": 120
"__id__": 126
},
"_opacity": 255,
"_color": {
......@@ -5783,7 +5988,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 124
},
"_enabled": true,
"_materials": [
......@@ -5821,7 +6026,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 117
"__id__": 123
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
......@@ -5834,17 +6039,17 @@
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 123
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 122
"__id__": 128
}
],
"_prefab": {
"__id__": 123
"__id__": 129
},
"_opacity": 255,
"_color": {
......@@ -5898,7 +6103,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -5936,7 +6141,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 117
"__id__": 123
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
......@@ -5949,17 +6154,17 @@
"_name": "block",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 123
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 125
"__id__": 131
}
],
"_prefab": {
"__id__": 126
"__id__": 132
},
"_opacity": 255,
"_color": {
......@@ -6013,7 +6218,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
"__id__": 130
},
"_enabled": true,
"_id": "614Ol/VeZKyIbzJ5WMNHfT"
......@@ -6021,7 +6226,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 117
"__id__": 123
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
......@@ -6034,7 +6239,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
"__id__": 123
},
"_enabled": true,
"startPosition": {
......@@ -6053,7 +6258,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 117
"__id__": 123
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
......@@ -6070,26 +6275,29 @@
},
"_children": [
{
"__id__": 130
"__id__": 136
},
{
"__id__": 133
"__id__": 139
},
{
"__id__": 136
"__id__": 142
},
{
"__id__": 140
"__id__": 146
}
],
"_active": true,
"_components": [
{
"__id__": 148
"__id__": 154
},
{
"__id__": 155
}
],
"_prefab": {
"__id__": 149
"__id__": 156
},
"_opacity": 255,
"_color": {
......@@ -6143,17 +6351,17 @@
"_name": "shadow",
"_objFlags": 0,
"_parent": {
"__id__": 129
"__id__": 135
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 137
}
],
"_prefab": {
"__id__": 132
"__id__": 138
},
"_opacity": 255,
"_color": {
......@@ -6207,7 +6415,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 136
},
"_enabled": true,
"_materials": [
......@@ -6237,7 +6445,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6250,17 +6458,17 @@
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 129
"__id__": 135
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
"__id__": 140
}
],
"_prefab": {
"__id__": 135
"__id__": 141
},
"_opacity": 255,
"_color": {
......@@ -6314,7 +6522,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 139
},
"_enabled": true,
"_materials": [
......@@ -6352,7 +6560,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6365,20 +6573,20 @@
"_name": "block",
"_objFlags": 512,
"_parent": {
"__id__": 129
"__id__": 135
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 137
"__id__": 143
},
{
"__id__": 138
"__id__": 144
}
],
"_prefab": {
"__id__": 139
"__id__": 145
},
"_opacity": 100,
"_color": {
......@@ -6432,7 +6640,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
"__id__": 142
},
"_enabled": true,
"_id": "9e5NQLsFlN9YT5gPreIgpl"
......@@ -6442,7 +6650,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
"__id__": 142
},
"_enabled": false,
"_materials": [
......@@ -6472,7 +6680,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6485,20 +6693,20 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 129
"__id__": 135
},
"_children": [
{
"__id__": 141
"__id__": 147
},
{
"__id__": 144
"__id__": 150
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 147
"__id__": 153
},
"_opacity": 255,
"_color": {
......@@ -6552,17 +6760,17 @@
"_name": "enter",
"_objFlags": 0,
"_parent": {
"__id__": 140
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 142
"__id__": 148
}
],
"_prefab": {
"__id__": 143
"__id__": 149
},
"_opacity": 255,
"_color": {
......@@ -6616,7 +6824,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
"__id__": 147
},
"_enabled": true,
"_clip": {
......@@ -6633,7 +6841,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6646,17 +6854,17 @@
"_name": "leave",
"_objFlags": 0,
"_parent": {
"__id__": 140
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 145
"__id__": 151
}
],
"_prefab": {
"__id__": 146
"__id__": 152
},
"_opacity": 255,
"_color": {
......@@ -6710,7 +6918,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 144
"__id__": 150
},
"_enabled": true,
"_clip": {
......@@ -6727,7 +6935,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6738,7 +6946,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6751,7 +6959,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
"__id__": 135
},
"_enabled": true,
"startPosition": {
......@@ -6767,10 +6975,37 @@
"moveInTime": 1,
"_id": "38u9Og0VVH17Sceciyh4dy"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 360,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "53KLVy4ylNkYyug6vDSEry"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 129
"__id__": 135
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
......@@ -6831,22 +7066,22 @@
},
"_enabled": true,
"ani_flower": {
"__id__": 98
"__id__": 104
},
"layout_card": {
"__id__": 35
"__id__": 36
},
"layout_card_result": {
"__id__": 36
"__id__": 37
},
"node_card": {
"__id__": 41
"__id__": 42
},
"bg_card": {
"__id__": 58
"__id__": 59
},
"layout_lollipop": {
"__id__": 73
"__id__": 77
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
......
......@@ -54,6 +54,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.event.emit("mouse_start_play", { voice: Game.getIns().aniEnter.audioUrl, time: Game.getIns().aniEnter.time });
}
initEvent() {
this.schedule(this.updateLoop, 1 / 60)
pg.view.touchOn(pg.view.find(this, 'bg/bg_card/btn_check'), this.onTouchCheck, this);
pg.event.on("startGame", () => { this.startGame() })
......@@ -73,6 +74,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.nextPage();
}
nextPage() {
this.checked = false;
this.cards = [];
this.cardBgs = [];
this.currentCards = [];
......@@ -242,7 +244,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
onItemTouchCancel() {
}
checked: boolean;
updateCheckBtn() {
if (this.checked) {
pg.view.visible(pg.view.find(this, 'bg/bg_card/btn_check'), false)
pg.view.visible(pg.view.find(this, 'bg/bg_card/btn_check_grey'), false)
return;
}
let isFull = this.checkFull();
pg.view.visible(pg.view.find(this, 'bg/bg_card/btn_check'), isFull)
pg.view.visible(pg.view.find(this, 'bg/bg_card/btn_check_grey'), !isFull)
......@@ -266,6 +274,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
return;
}
this.onTouchCheckCantouch = true;
this.checked = true;
let page = Game.getIns().getCurrentPage();
if (!!page.image) {
this.layout_card.active = false;
......@@ -274,20 +283,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
let img = pg.view.find(this.layout_card_result, "img");
pg.view.setNetImg(img, page.image, { w: 340, h: 150 })
}
pg.audio.playAudioByUrl(page.audio).then(() => {
pg.event.emit("mouse_add");
setTimeout(() => {
this.updateCardResult();
this.updateLollipop().then(() => {
if (!Game.getIns().addPage()) {
pg.event.emit("gameOver")
} else {
pg.event.emit("nextPage")
}
this.onTouchCheckCantouch = false;
})
}, 2000);
})
if (!page.audio) {
pg.event.emit("mouse_add");
setTimeout(() => {
......@@ -301,6 +296,21 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.onTouchCheckCantouch = false;
})
}, 2000);
} else {
pg.audio.playAudioByUrl(page.audio).then(() => {
pg.event.emit("mouse_add");
setTimeout(() => {
this.updateCardResult();
this.updateLollipop().then(() => {
if (!Game.getIns().addPage()) {
pg.event.emit("gameOver")
} else {
pg.event.emit("nextPage")
}
this.onTouchCheckCantouch = false;
})
}, 2000);
})
}
}
updateCardResult() {
......@@ -350,8 +360,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
let progressbar_red = pg.view.find(this.layout_lollipop, 'progressbar_red');
let sprite = progressbar_red.getComponent(cc.Sprite);
sprite.fillRange = 1;
let countdown = pg.view.find(this.layout_lollipop, 'countdown');
pg.audio.playAudioByNode(countdown);
let i2 = setInterval(() => {
sprite.fillRange -= 0.009;
sprite.fillRange -= 0.01;
}, 30)
setTimeout(() => {
......@@ -388,7 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
update() {
updateLoop() {
this.updateCheckBtn();
this.updateProgress();
}
......
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