Commit c903ac49 authored by yu's avatar yu

1

parent bc05c104
......@@ -81,34 +81,43 @@
"__id__": 52
},
{
"__id__": 72
"__id__": 70
},
{
"__id__": 81
"__id__": 79
},
{
"__id__": 84
"__id__": 82
},
{
"__id__": 87
"__id__": 85
},
{
"__id__": 94
"__id__": 92
},
{
"__id__": 115
"__id__": 113
},
{
"__id__": 134
},
{
"__id__": 141
},
{
"__id__": 148
}
],
"_active": true,
"_components": [
{
"__id__": 136
"__id__": 155
},
{
"__id__": 137
"__id__": 156
},
{
"__id__": 138
"__id__": 157
}
],
"_prefab": null,
......@@ -2488,15 +2497,12 @@
},
{
"__id__": 64
},
{
"__id__": 69
}
],
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 69
}
],
"_prefab": null,
......@@ -3377,108 +3383,6 @@
"_atlas": null,
"_id": "66hhebdjxDp6ltoCjK2gTX"
},
{
"__type__": "cc.Node",
"_name": "hand_ske",
"_objFlags": 0,
"_parent": {
"__id__": 52
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 70
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 147.63349699360094,
"height": 137.02849640581374
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
310.042,
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": "13DLVbz5VBJIjpNleR77uC"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e80afd0b-559d-40da-a062-91ede3ed5957#4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e80afd0b-559d-40da-a062-91ede3ed5957"
},
"_N$dragonAtlasAsset": {
"__uuid__": "4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "c9NeRAZ2hDXoL1zB/qsXSi"
},
{
"__type__": "cc.Widget",
"_name": "",
......@@ -3515,22 +3419,22 @@
},
"_children": [
{
"__id__": 73
"__id__": 71
},
{
"__id__": 75
"__id__": 73
},
{
"__id__": 77
"__id__": 75
}
],
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 77
},
{
"__id__": 80
"__id__": 78
}
],
"_prefab": null,
......@@ -3586,13 +3490,13 @@
"_name": "btn_laba1",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 72
}
],
"_prefab": null,
......@@ -3648,7 +3552,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3680,13 +3584,13 @@
"_name": "btn_laba2",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 74
}
],
"_prefab": null,
......@@ -3742,7 +3646,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -3774,13 +3678,13 @@
"_name": "btn_laba3",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 76
}
],
"_prefab": null,
......@@ -3836,7 +3740,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3868,7 +3772,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -3900,7 +3804,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 70
},
"_enabled": true,
"alignMode": 1,
......@@ -3933,10 +3837,10 @@
"_active": false,
"_components": [
{
"__id__": 82
"__id__": 80
},
{
"__id__": 83
"__id__": 81
}
],
"_prefab": null,
......@@ -3992,7 +3896,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 79
},
"_enabled": true,
"_materials": [
......@@ -4022,7 +3926,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 79
},
"_enabled": true,
"alignMode": 1,
......@@ -4055,10 +3959,10 @@
"_active": false,
"_components": [
{
"__id__": 85
"__id__": 83
},
{
"__id__": 86
"__id__": 84
}
],
"_prefab": null,
......@@ -4114,7 +4018,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 82
},
"_enabled": true,
"_materials": [
......@@ -4144,7 +4048,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 82
},
"_enabled": true,
"alignMode": 1,
......@@ -4175,13 +4079,13 @@
},
"_children": [
{
"__id__": 88
"__id__": 86
}
],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 91
}
],
"_prefab": null,
......@@ -4237,20 +4141,20 @@
"_name": "bg_title",
"_objFlags": 0,
"_parent": {
"__id__": 87
"__id__": 85
},
"_children": [
{
"__id__": 89
"__id__": 87
}
],
"_active": true,
"_components": [
{
"__id__": 91
"__id__": 89
},
{
"__id__": 92
"__id__": 90
}
],
"_prefab": null,
......@@ -4306,13 +4210,13 @@
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 88
"__id__": 86
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 88
}
],
"_prefab": null,
......@@ -4368,7 +4272,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -4403,7 +4307,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -4433,7 +4337,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
"__id__": 86
},
"_enabled": true,
"alignMode": 1,
......@@ -4460,7 +4364,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 85
},
"_enabled": true,
"alignMode": 1,
......@@ -4491,19 +4395,19 @@
},
"_children": [
{
"__id__": 95
"__id__": 93
},
{
"__id__": 99
"__id__": 97
},
{
"__id__": 103
"__id__": 101
},
{
"__id__": 107
"__id__": 105
},
{
"__id__": 111
"__id__": 109
}
],
"_active": false,
......@@ -4561,11 +4465,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 92
},
"_children": [
{
"__id__": 96
"__id__": 94
}
],
"_active": true,
......@@ -4623,11 +4527,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 95
"__id__": 93
},
"_children": [
{
"__id__": 97
"__id__": 95
}
],
"_active": true,
......@@ -4685,13 +4589,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 96
"__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 96
}
],
"_prefab": null,
......@@ -4747,7 +4651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
"__id__": 95
},
"_enabled": true,
"_materials": [
......@@ -4777,11 +4681,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 92
},
"_children": [
{
"__id__": 100
"__id__": 98
}
],
"_active": true,
......@@ -4839,11 +4743,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 99
"__id__": 97
},
"_children": [
{
"__id__": 101
"__id__": 99
}
],
"_active": true,
......@@ -4901,13 +4805,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
"__id__": 100
}
],
"_prefab": null,
......@@ -4963,7 +4867,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -4993,11 +4897,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 92
},
"_children": [
{
"__id__": 104
"__id__": 102
}
],
"_active": true,
......@@ -5055,11 +4959,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 103
"__id__": 101
},
"_children": [
{
"__id__": 105
"__id__": 103
}
],
"_active": true,
......@@ -5117,13 +5021,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 104
"__id__": 102
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 104
}
],
"_prefab": null,
......@@ -5179,7 +5083,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 103
},
"_enabled": true,
"_materials": [
......@@ -5209,11 +5113,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 92
},
"_children": [
{
"__id__": 108
"__id__": 106
}
],
"_active": true,
......@@ -5271,11 +5175,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 105
},
"_children": [
{
"__id__": 109
"__id__": 107
}
],
"_active": true,
......@@ -5333,13 +5237,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 108
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
"__id__": 108
}
],
"_prefab": null,
......@@ -5395,7 +5299,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -5425,11 +5329,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 94
"__id__": 92
},
"_children": [
{
"__id__": 112
"__id__": 110
}
],
"_active": true,
......@@ -5487,11 +5391,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 111
"__id__": 109
},
"_children": [
{
"__id__": 113
"__id__": 111
}
],
"_active": true,
......@@ -5549,13 +5453,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 112
"__id__": 110
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 114
"__id__": 112
}
],
"_prefab": null,
......@@ -5611,7 +5515,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 113
"__id__": 111
},
"_enabled": true,
"_materials": [
......@@ -5645,16 +5549,16 @@
},
"_children": [
{
"__id__": 116
"__id__": 114
},
{
"__id__": 122
"__id__": 120
},
{
"__id__": 128
"__id__": 126
},
{
"__id__": 134
"__id__": 132
}
],
"_active": true,
......@@ -5712,20 +5616,20 @@
"_name": "item1",
"_objFlags": 0,
"_parent": {
"__id__": 115
"__id__": 113
},
"_children": [
{
"__id__": 117
"__id__": 115
},
{
"__id__": 119
"__id__": 117
}
],
"_active": false,
"_components": [
{
"__id__": 121
"__id__": 119
}
],
"_prefab": null,
......@@ -5781,13 +5685,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 116
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 118
"__id__": 116
}
],
"_prefab": null,
......@@ -5843,7 +5747,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
"__id__": 115
},
"_enabled": true,
"_materials": [
......@@ -5878,13 +5782,13 @@
"_name": "right_ske",
"_objFlags": 0,
"_parent": {
"__id__": 116
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 120
"__id__": 118
}
],
"_prefab": null,
......@@ -5940,7 +5844,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
"__id__": 117
},
"_enabled": true,
"_materials": [
......@@ -5980,7 +5884,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -6012,20 +5916,20 @@
"_name": "item2",
"_objFlags": 0,
"_parent": {
"__id__": 115
"__id__": 113
},
"_children": [
{
"__id__": 123
"__id__": 121
},
{
"__id__": 125
"__id__": 123
}
],
"_active": false,
"_components": [
{
"__id__": 127
"__id__": 125
}
],
"_prefab": null,
......@@ -6081,13 +5985,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 120
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 124
"__id__": 122
}
],
"_prefab": null,
......@@ -6143,7 +6047,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 121
},
"_enabled": true,
"_materials": [
......@@ -6178,13 +6082,13 @@
"_name": "right_ske",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 120
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 126
"__id__": 124
}
],
"_prefab": null,
......@@ -6240,7 +6144,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 123
},
"_enabled": true,
"_materials": [
......@@ -6280,7 +6184,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 120
},
"_enabled": true,
"_materials": [
......@@ -6312,20 +6216,20 @@
"_name": "item3",
"_objFlags": 0,
"_parent": {
"__id__": 115
"__id__": 113
},
"_children": [
{
"__id__": 129
"__id__": 127
},
{
"__id__": 131
"__id__": 129
}
],
"_active": false,
"_components": [
{
"__id__": 133
"__id__": 131
}
],
"_prefab": null,
......@@ -6381,13 +6285,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 128
"__id__": 126
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 130
"__id__": 128
}
],
"_prefab": null,
......@@ -6443,7 +6347,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -6473,13 +6377,13 @@
"_name": "right_ske",
"_objFlags": 0,
"_parent": {
"__id__": 128
"__id__": 126
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 132
"__id__": 130
}
],
"_prefab": null,
......@@ -6535,7 +6439,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 129
},
"_enabled": true,
"_materials": [
......@@ -6575,7 +6479,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 126
},
"_enabled": true,
"_materials": [
......@@ -6607,13 +6511,13 @@
"_name": "icon_speed",
"_objFlags": 0,
"_parent": {
"__id__": 115
"__id__": 113
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
"__id__": 133
}
],
"_prefab": null,
......@@ -6669,7 +6573,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 132
},
"_enabled": true,
"_materials": [
......@@ -6697,80 +6601,983 @@
"_id": "d5SUhD0IxKy4H943P8WnRB"
},
{
"__type__": "cc.Canvas",
"_name": "",
"__type__": "cc.Node",
"_name": "bot",
"_objFlags": 0,
"node": {
"_parent": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"_children": [
{
"__id__": 135
}
],
"_active": false,
"_components": [
{
"__id__": 139
},
{
"__id__": 140
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_fitWidth": true,
"_fitHeight": true,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_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": "29zXboiXFBKoIV4PQ2liTe"
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d4/X8yJl9Lq7i10sxFFrUo"
},
{
"__type__": "11706n7eOdNbrJXGEB6V4jX",
"_name": "",
"__type__": "cc.Node",
"_name": "btn",
"_objFlags": 0,
"node": {
"__id__": 2
"_parent": {
"__id__": 134
},
"_enabled": true,
"layout_game": {
"__id__": 52
"_children": [
{
"__id__": 136
}
],
"_active": true,
"_components": [
{
"__id__": 138
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"btn_audio_off": {
"__id__": 81
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 360
},
"btn_audio_on": {
"__id__": 84
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"btn_laba": {
"__id__": 72
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-360,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"ship": {
"__id__": 64
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"item_text": {
"__id__": 116
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "454S6sO4dMzbgt+mn/LiAF"
},
{
"__type__": "cc.Node",
"_name": "hand_ske",
"_objFlags": 0,
"_parent": {
"__id__": 135
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 137
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 147.63349699360094,
"height": 137.02849640581374
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-49.958,
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": "c4aPzE7CtMKYjNxa82TqV3"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e80afd0b-559d-40da-a062-91ede3ed5957#4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e80afd0b-559d-40da-a062-91ede3ed5957"
},
"_N$dragonAtlasAsset": {
"__uuid__": "4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "e27iSD34NKX5luLB2YrgO2"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 5,
"_left": 0,
"_right": 0,
"_top": 720,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 360,
"_id": "d709L2IEdHb5FAw/DZtdAt"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
},
"_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": "4fxD4HFeVNvrzPdIv8HX9j"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
},
"_enabled": true,
"_id": "9fJWPKJA1DyY4aWmbu9vfF"
},
{
"__type__": "cc.Node",
"_name": "mid",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 142
}
],
"_active": false,
"_components": [
{
"__id__": 146
},
{
"__id__": 147
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a0wloBcb5HKbYnoTsQM0RK"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 141
},
"_children": [
{
"__id__": 143
}
],
"_active": true,
"_components": [
{
"__id__": 145
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 360
},
"_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": "66TPI3UGVIBqrjaUbtS7dd"
},
{
"__type__": "cc.Node",
"_name": "hand_ske",
"_objFlags": 0,
"_parent": {
"__id__": 142
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 144
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 147.63349699360094,
"height": 137.02849640581374
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-49.958,
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": "68GGiEfMJMz4fAPoKEViln"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 143
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e80afd0b-559d-40da-a062-91ede3ed5957#4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e80afd0b-559d-40da-a062-91ede3ed5957"
},
"_N$dragonAtlasAsset": {
"__uuid__": "4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "9f5cFUQdNFO7FELAf8ccJc"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 5,
"_left": 0,
"_right": 0,
"_top": 360,
"_bottom": 360,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 360,
"_id": "5f9LSc5TlBt5C05Fwopxcz"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
},
"_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": "19t+9A+ZxKkrI0T7Mhxqzm"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
},
"_enabled": true,
"_id": "d4/2/9gOdJo72ujm0oAE5h"
},
{
"__type__": "cc.Node",
"_name": "top",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 149
}
],
"_active": true,
"_components": [
{
"__id__": 153
},
{
"__id__": 154
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "db83j9QbhGMJkUAIU3p2KV"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 148
},
"_children": [
{
"__id__": 150
}
],
"_active": true,
"_components": [
{
"__id__": 152
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 360
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
360,
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": "785jdmoFpGN7J4uwHn9CnC"
},
{
"__type__": "cc.Node",
"_name": "hand_ske",
"_objFlags": 0,
"_parent": {
"__id__": 149
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 151
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 147.63349699360094,
"height": 137.02849640581374
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-49.958,
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": "6dhbFCWpNBm4WzfUhk37R+"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 150
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e80afd0b-559d-40da-a062-91ede3ed5957#4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e80afd0b-559d-40da-a062-91ede3ed5957"
},
"_N$dragonAtlasAsset": {
"__uuid__": "4a6f3cc8-664d-4d1c-9f95-e97ac8bcc081"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "aalTOxmWlFUJpGaxRf6bKV"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 149
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 5,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 720,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 360,
"_id": "13pTwr+n1MAahaIjoTProS"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_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": "3c++4M8qxPrIQUdBlb5Q72"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_enabled": true,
"_id": "60Sqwv2TBN9rOuyph9zRjq"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_fitWidth": true,
"_fitHeight": true,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "11706n7eOdNbrJXGEB6V4jX",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"layout_game": {
"__id__": 52
},
"btn_audio_off": {
"__id__": 79
},
"btn_audio_on": {
"__id__": 82
},
"btn_laba": {
"__id__": 70
},
"ship": {
"__id__": 64
},
"item_text": {
"__id__": 114
},
"item_text2": {
"__id__": 122
"__id__": 120
},
"item_pic": {
"__id__": 128
"__id__": 126
},
"layout_card": {
"__id__": 62
......
......@@ -155,7 +155,28 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.find("layout_bot", this.layout_game).on(cc.Node.EventType.TOUCH_END, () => {
this.updateShipPos(-340);
}, this);
cc.find("top/btn", this.node).on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(this.ship).to(0.1, { y: 360 }).call(() => {
cc.find("mid", this.node).active = true;
cc.find("top", this.node).active = false;
cc.find("bot", this.node).active = false;
}).start();
});
cc.find("mid/btn", this.node).on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(this.ship).to(0.1, { y: 0 }).call(() => {
cc.find("bot", this.node).active = true;
cc.find("mid", this.node).active = false;
cc.find("top", this.node).active = false;
}).start();
});
cc.find("bot/btn", this.node).on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(this.ship).to(0.1, { y: -340 }).call(() => {
cc.find("bot", this.node).active = false;
cc.find("top", this.node).active = false;
cc.find("mid", this.node).active = false;
this.isGuide = true;
}).start();
});
pg.event.on("game_time_over", () => {
......@@ -176,8 +197,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
private updateShipPos(y = 0) {
if (this.isDeath) return;
if (Game.getIns().state == GAME_STATE.OVER) return;
Game.getIns().state = GAME_STATE.RUNNING;
cc.find("hand_ske", this.layout_game).active = false;
// Game.getIns().state = GAME_STATE.RUNNING;
// cc.find("hand_ske", this.layout_game).active = false;
cc.tween(this.ship).to(0.1, { y: y }).start();
}
private onAudioOn() {
......@@ -199,12 +220,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private stopBgAudio() {
cc.audioEngine.pauseMusic();
}
// onTouchStart() {
// pg.audio.playLocalAudio(cc.find(`Canvas/res/audio/btn`));
// pg.audio.playBgAudioByUrl(Game.getIns().bgAudio);
// this.showBgLightAction();
// pg.event.emit("game_start");
// }
private sendData(score) {
return new Promise(res => {
let upData: any = {
......@@ -252,10 +268,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.isDeath = false;
this.layout_card.removeAllChildren();
this.ship.setPosition(-this.endX2, 0);
cc.tween(this.ship).to(0.5, { x: -670 }).start();
cc.tween(this.ship).to(0.5, { x: -670 }).call(() => {
Game.getIns().state = GAME_STATE.RUNNING;
}).start();
this.showQuestions();
this.playLaba();
}
......@@ -316,13 +334,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
item.parent = this.layout_card;
item.data = data;
data.fish.node = item;
// data.fish.node = item;
//x y 起始点 和终点 进行 随机
cc.Tween.stopAllByTarget(item);
//左往右
item.y = pos[id];// -1300 / 2 + Math.random() * 1300;
item.x = 1400;//
cc.tween(item).to(6, { x: -1400 }).call(() => {
cc.tween(item).to(this.isSpeedUp ? 4 : 6, { x: -1400 }).call(() => {
data.fish.isOut = FISH_OUT.OUT;
this.viewFishs = this.viewFishs.filter(v => v.id != data.id);
}).start();
......@@ -353,8 +371,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
return dis;
}
private updateTime = 2;
private isGuide = false
update(dt) {
if (Game.getIns().state != GAME_STATE.RUNNING) return;
if (!this.isGuide) return;
this.isHitBalloon();
this.updateTime += dt;
if (this.updateTime < 2.3) return;
......@@ -443,8 +463,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
fire_ske.active = true;
this.playLocalAudio("huoyan").then(() => {
fire_ske.active = false;
this.isSpeedUp = false;
});
this.showBgLightAction(true);
this.showQuickAction();
fire_ske.getComponent(dragonBones.ArmatureDisplay).playAnimation("newAnimation", 5);
this.schedule(() => {
item.active = false;
......@@ -454,7 +476,19 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
});
}
private isSpeedUp = false;
private showQuickAction() {
this.isSpeedUp = true;
this.fishs.forEach((item) => {
cc.Tween.stopAllByTarget(item);
let data = item.data;
cc.tween(item).to(item.x < 0 ? 1.5 : 3, { x: -1400 }).call(() => {
data.fish.isOut = FISH_OUT.OUT;
this.viewFishs = this.viewFishs.filter(v => v.id != data.id);
}).start();
})
}
private onTouchItem(e) {
if (Game.getIns().state == GAME_STATE.OVER) return;
......
......@@ -61,7 +61,7 @@ export class Item {
this.optionList.sort(function () {
return (0.5 - Math.random());
});
this.optionList.push(new Option({ type: "jl", right: true, image: "", text: "" }, 456));
this.optionList.push(new Option({ type: "jl", right: false, image: "", text: "" }, 456));
this.rNum = 0;
for (let i = 0; i < this.optionList.length; i++) {
if (this.optionList[i].right) this.rNum++;
......
......@@ -32,52 +32,53 @@ export const defaultData = {
"text": "one",
"time": "",
"right": false
}, {
"type": "txt",
"image": "",
"audio": "",
"text": "seven",
"time": "",
"right": false
}, {
"type": "txt",
"image": "",
"audio": "",
"text": "kill",
"time": "",
"right": true
}, {
"type": "txt",
"image": "",
"audio": "http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3",
"text": "ameameameameame",
"time": "",
"right": true,
"audioName": "right.mp3"
}, {
"type": "img",
"image": "http://staging-teach.cdn.ireadabc.com/237e6cf60d500061c5c7ec69c5110414.png",
"audio": "http://staging-teach.cdn.ireadabc.com/7f1fba5bc7fa3ac27737730bcd2d86e0_l.mp3",
"text": "",
"time": "",
"right": true,
"audioName": "again.mp3"
}, {
"type": "txt",
"image": "",
"audio": "",
"text": "five",
"time": "",
"right": false
}, {
"type": "txt",
"image": "",
"audio": "http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3",
"text": "right",
"time": "",
"right": true,
"audioName": "right.mp3"
}
},
// {
// "type": "txt",
// "image": "",
// "audio": "",
// "text": "seven",
// "time": "",
// "right": false
// }, {
// "type": "txt",
// "image": "",
// "audio": "",
// "text": "kill",
// "time": "",
// "right": true
// }, {
// "type": "txt",
// "image": "",
// "audio": "http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3",
// "text": "ameameameameame",
// "time": "",
// "right": true,
// "audioName": "right.mp3"
// }, {
// "type": "img",
// "image": "http://staging-teach.cdn.ireadabc.com/237e6cf60d500061c5c7ec69c5110414.png",
// "audio": "http://staging-teach.cdn.ireadabc.com/7f1fba5bc7fa3ac27737730bcd2d86e0_l.mp3",
// "text": "",
// "time": "",
// "right": true,
// "audioName": "again.mp3"
// }, {
// "type": "txt",
// "image": "",
// "audio": "",
// "text": "five",
// "time": "",
// "right": false
// }, {
// "type": "txt",
// "image": "",
// "audio": "http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3",
// "text": "right",
// "time": "",
// "right": true,
// "audioName": "right.mp3"
// }
],
"type": "txt",
"audioUrl": "http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3",
......@@ -159,7 +160,7 @@ export const defaultData = {
}
],
"type": "txt",
"audioUrl": "",
"audioUrl": "http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3",
"audioName": "",
"text": ""
}
......
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