Commit 11a8c938 authored by yu's avatar yu

1

parent 297db66a
......@@ -156,67 +156,61 @@
"__id__": 144
},
{
"__id__": 151
},
{
"__id__": 158
},
{
"__id__": 185
"__id__": 149
},
{
"__id__": 206
"__id__": 176
},
{
"__id__": 208
"__id__": 197
},
{
"__id__": 209
"__id__": 199
},
{
"__id__": 217
"__id__": 200
},
{
"__id__": 218
"__id__": 208
},
{
"__id__": 238
"__id__": 209
},
{
"__id__": 240
"__id__": 229
},
{
"__id__": 244
"__id__": 232
},
{
"__id__": 247
"__id__": 235
},
{
"__id__": 248
"__id__": 236
},
{
"__id__": 249
"__id__": 237
},
{
"__id__": 251
"__id__": 239
},
{
"__id__": 257
"__id__": 245
},
{
"__id__": 270
"__id__": 258
}
],
"_active": true,
"_components": [
{
"__id__": 296
"__id__": 284
},
{
"__id__": 297
"__id__": 285
},
{
"__id__": 298
"__id__": 286
}
],
"_prefab": null,
......@@ -3846,8 +3840,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 170,
"height": 240
"width": 0,
"height": 252
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6653,14 +6647,14 @@
"_id": "feA2HsnyFASLUXjdq0vRse"
},
{
"__type__": "0387f8Qg+dJ46RIeN8UZF3s",
"__type__": "f4905P79epCUaySr3IkC3TJ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"_id": "09R5wk/0NITYGz7Es4tALJ"
"_id": "54u7MWczJELJQoFyLS9OS6"
},
{
"__type__": "cc.Node",
......@@ -6972,7 +6966,7 @@
"_id": "5d9La3XUBG67/bL44GyMMJ"
},
{
"__type__": "a6752KjM19H74H/8OJewGpr",
"__type__": "72dd4sJmIZIFY7QUTP0TTB9",
"_name": "",
"_objFlags": 0,
"node": {
......@@ -6980,7 +6974,7 @@
},
"_enabled": true,
"costtime": 4,
"_id": "32zyfUT/9EG4jgWsKPFVzS"
"_id": "20KyhvDqNG16PF3dodusdi"
},
{
"__type__": "cc.Node",
......@@ -6994,7 +6988,7 @@
"__id__": 145
},
{
"__id__": 148
"__id__": 147
}
],
"_active": false,
......@@ -7059,9 +7053,6 @@
"_components": [
{
"__id__": 146
},
{
"__id__": 147
}
],
"_prefab": null,
......@@ -7144,27 +7135,6 @@
"_atlas": null,
"_id": "52AKEsEpFBrYGn0KSRn4v5"
},
{
"__type__": "2d25ek3okRHaLjAg9GytjmH",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
},
"_enabled": true,
"r_width": 1,
"r_height": 1,
"r_top": 0,
"r_bottom": 0,
"p_left": 0,
"p_right": 0,
"p_top": 0,
"p_bottom": 0,
"black": 0,
"noHead": 0,
"debug": 0,
"_id": "1aRSob4ytPy44PTb6cdhEK"
},
{
"__type__": "cc.Node",
"_name": "invalid-name_2",
......@@ -7176,10 +7146,7 @@
"_active": true,
"_components": [
{
"__id__": 149
},
{
"__id__": 150
"__id__": 148
}
],
"_prefab": null,
......@@ -7235,7 +7202,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
"__id__": 147
},
"_enabled": true,
"_materials": [
......@@ -7262,48 +7229,35 @@
"_atlas": null,
"_id": "bahXJibU5HqZMrCuGhbuP6"
},
{
"__type__": "2d25ek3okRHaLjAg9GytjmH",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_enabled": true,
"r_width": 1,
"r_height": 1,
"r_top": 0,
"r_bottom": 0,
"p_left": 0,
"p_right": 0,
"p_top": 0,
"p_bottom": 1,
"black": 0,
"noHead": 0,
"debug": 0,
"_id": "c0Fj3pVLRAQ5fE3Ob6H8hI"
},
{
"__type__": "cc.Node",
"_name": "title",
"_name": "line",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 152
"__id__": 150
},
{
"__id__": 154
}
],
"_active": false,
"_components": [
"__id__": 153
},
{
"__id__": 157
"__id__": 156
},
{
"__id__": 163
},
{
"__id__": 170
},
{
"__id__": 173
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -7315,8 +7269,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 510,
"height": 120
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7327,8 +7281,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-321.448,
297.244,
0,
0,
0,
0,
0,
......@@ -7350,22 +7304,22 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "42HJb93Z1Ek6VpTnkWsyhj"
"_id": "829eR+zE5D5rlHqqACdS/j"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 151
"__id__": 149
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 153
"__id__": 151
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -7377,8 +7331,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 502,
"height": 76
"width": 102,
"height": 104
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7389,8 +7343,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
-438.337,
144.27,
0,
0,
0,
......@@ -7412,55 +7366,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4a3QCLNUhCGp1YJDJP+7Nw"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8feee585-6c32-4ca8-b82a-7b221b3f354c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "bf1Www5blODJZKOXXWr0W1"
"_id": "12p5HD3rBJaJH8PIkUCgzv"
},
{
"__type__": "cc.Node",
"_name": "txt",
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 151
"__id__": 150
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 155
},
{
"__id__": 156
"__id__": 152
}
],
"_prefab": null,
......@@ -7474,8 +7393,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 362.57,
"height": 53.4
"width": 102,
"height": 104
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7486,8 +7405,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
33.296,
4.551,
0,
0,
0,
0,
0,
......@@ -7509,14 +7428,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b8jDqxCdROILkZsHZTD8rX"
"_id": "7evwMqx35AD5BtBiIvqOYB"
},
{
"__type__": "cc.Label",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 151
},
"_enabled": true,
"_materials": [
......@@ -7524,95 +7443,38 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 27,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "5401cb8a-cff7-47c2-8919-36d074e6bfda"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "a2BOp+Uy5MHLpnYBX+6/W+"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 136,
"g": 90,
"b": 0,
"a": 255
},
"_width": 1.5,
"_id": "7eorOc0eJBL7kuwjKM7Nul"
"_spriteFrame": {
"__uuid__": "30d81f81-9797-409f-ae97-426b6925ebde"
},
{
"__type__": "2d25ek3okRHaLjAg9GytjmH",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_enabled": true,
"r_width": 0,
"r_height": 0,
"r_top": 0,
"r_bottom": 0,
"p_left": 0,
"p_right": 0,
"p_top": 1,
"p_bottom": 0,
"black": 0,
"noHead": 0,
"debug": 0,
"_id": "4eatYVtk5HwLfMuLXgp/sS"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dblrnBVM1EEqIOHKt55dqu"
},
{
"__type__": "cc.Node",
"_name": "line",
"_name": "line1",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__": 149
},
"_children": [
{
"__id__": 159
},
{
"__id__": 162
},
{
"__id__": 165
},
{
"__id__": 172
},
{
"__id__": 179
},
{
"__id__": 182
"__id__": 154
}
],
"_active": false,
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
......@@ -7625,8 +7487,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 15,
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7637,8 +7499,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
-292.877,
133.199,
0,
0,
0,
......@@ -7660,238 +7522,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "829eR+zE5D5rlHqqACdS/j"
"_id": "e2o3tBjJBBraMwy++oxrjp"
},
{
"__type__": "cc.Node",
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 153
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 102,
"height": 104
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-438.337,
144.27,
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": "12p5HD3rBJaJH8PIkUCgzv"
},
{
"__type__": "cc.Node",
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 159
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 161
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 102,
"height": 104
},
"_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": "7evwMqx35AD5BtBiIvqOYB"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "30d81f81-9797-409f-ae97-426b6925ebde"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dblrnBVM1EEqIOHKt55dqu"
},
{
"__type__": "cc.Node",
"_name": "line1",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [
{
"__id__": 163
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15,
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-292.877,
133.199,
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": "e2o3tBjJBBraMwy++oxrjp"
},
{
"__type__": "cc.Node",
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 162
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 164
"__id__": 155
}
],
"_prefab": null,
......@@ -7947,7 +7591,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 163
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -7979,14 +7623,14 @@
"_name": "line2",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 149
},
"_children": [
{
"__id__": 166
"__id__": 157
},
{
"__id__": 168
"__id__": 159
}
],
"_active": true,
......@@ -8044,13 +7688,13 @@
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 156
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 167
"__id__": 158
}
],
"_prefab": null,
......@@ -8106,7 +7750,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 166
"__id__": 157
},
"_enabled": true,
"_materials": [
......@@ -8138,17 +7782,17 @@
"_name": "line1",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 156
},
"_children": [
{
"__id__": 169
"__id__": 160
}
],
"_active": false,
"_components": [
{
"__id__": 171
"__id__": 162
}
],
"_prefab": null,
......@@ -8204,13 +7848,13 @@
"_name": "combined-shape-copy-2",
"_objFlags": 0,
"_parent": {
"__id__": 168
"__id__": 159
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 170
"__id__": 161
}
],
"_prefab": null,
......@@ -8266,7 +7910,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 169
"__id__": 160
},
"_enabled": true,
"_materials": [
......@@ -8298,7 +7942,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 168
"__id__": 159
},
"_enabled": true,
"_materials": [
......@@ -8330,14 +7974,14 @@
"_name": "line3",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 149
},
"_children": [
{
"__id__": 173
"__id__": 164
},
{
"__id__": 175
"__id__": 166
}
],
"_active": true,
......@@ -8395,13 +8039,13 @@
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 163
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
"__id__": 165
}
],
"_prefab": null,
......@@ -8457,7 +8101,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
"__id__": 164
},
"_enabled": true,
"_materials": [
......@@ -8489,17 +8133,17 @@
"_name": "line1",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 163
},
"_children": [
{
"__id__": 176
"__id__": 167
}
],
"_active": false,
"_components": [
{
"__id__": 178
"__id__": 169
}
],
"_prefab": null,
......@@ -8555,13 +8199,13 @@
"_name": "combined-shape-copy-2",
"_objFlags": 0,
"_parent": {
"__id__": 175
"__id__": 166
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 177
"__id__": 168
}
],
"_prefab": null,
......@@ -8617,7 +8261,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
"__id__": 167
},
"_enabled": true,
"_materials": [
......@@ -8649,7 +8293,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 175
"__id__": 166
},
"_enabled": true,
"_materials": [
......@@ -8681,11 +8325,11 @@
"_name": "line4",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 149
},
"_children": [
{
"__id__": 180
"__id__": 171
}
],
"_active": true,
......@@ -8743,13 +8387,13 @@
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 179
"__id__": 170
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 181
"__id__": 172
}
],
"_prefab": null,
......@@ -8805,7 +8449,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 180
"__id__": 171
},
"_enabled": true,
"_materials": [
......@@ -8837,11 +8481,11 @@
"_name": "line5",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 149
},
"_children": [
{
"__id__": 183
"__id__": 174
}
],
"_active": true,
......@@ -8899,13 +8543,13 @@
"_name": "line0",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 173
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 184
"__id__": 175
}
],
"_prefab": null,
......@@ -8961,7 +8605,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 183
"__id__": 174
},
"_enabled": true,
"_materials": [
......@@ -8997,13 +8641,13 @@
},
"_children": [
{
"__id__": 186
"__id__": 177
},
{
"__id__": 193
"__id__": 184
},
{
"__id__": 200
"__id__": 191
}
],
"_active": false,
......@@ -9061,23 +8705,23 @@
"_name": "sub_0",
"_objFlags": 0,
"_parent": {
"__id__": 185
"__id__": 176
},
"_children": [
{
"__id__": 187
"__id__": 178
},
{
"__id__": 189
"__id__": 180
}
],
"_active": true,
"_components": [
{
"__id__": 191
"__id__": 182
},
{
"__id__": 192
"__id__": 183
}
],
"_prefab": null,
......@@ -9133,13 +8777,13 @@
"_name": "combined-shape_4",
"_objFlags": 0,
"_parent": {
"__id__": 186
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 188
"__id__": 179
}
],
"_prefab": null,
......@@ -9195,7 +8839,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
"__id__": 178
},
"_enabled": true,
"_materials": [
......@@ -9227,13 +8871,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 186
"__id__": 177
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 190
"__id__": 181
}
],
"_prefab": null,
......@@ -9289,7 +8933,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 189
"__id__": 180
},
"_enabled": true,
"_materials": [
......@@ -9324,7 +8968,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 186
"__id__": 177
},
"_enabled": true,
"_materials": [
......@@ -9356,7 +9000,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 186
"__id__": 177
},
"_enabled": true,
"_normalMaterial": null,
......@@ -9417,7 +9061,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 186
"__id__": 177
},
"_id": "e9hETjbwFN6ofBSoo7woie"
},
......@@ -9426,23 +9070,23 @@
"_name": "sub_1",
"_objFlags": 0,
"_parent": {
"__id__": 185
"__id__": 176
},
"_children": [
{
"__id__": 194
"__id__": 185
},
{
"__id__": 196
"__id__": 187
}
],
"_active": true,
"_components": [
{
"__id__": 198
"__id__": 189
},
{
"__id__": 199
"__id__": 190
}
],
"_prefab": null,
......@@ -9498,13 +9142,13 @@
"_name": "combined-shape_3",
"_objFlags": 0,
"_parent": {
"__id__": 193
"__id__": 184
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 195
"__id__": 186
}
],
"_prefab": null,
......@@ -9560,7 +9204,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 194
"__id__": 185
},
"_enabled": true,
"_materials": [
......@@ -9592,13 +9236,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 193
"__id__": 184
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 197
"__id__": 188
}
],
"_prefab": null,
......@@ -9654,7 +9298,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 196
"__id__": 187
},
"_enabled": true,
"_materials": [
......@@ -9689,7 +9333,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 184
},
"_enabled": true,
"_materials": [
......@@ -9721,7 +9365,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 184
},
"_enabled": true,
"_normalMaterial": null,
......@@ -9782,7 +9426,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 193
"__id__": 184
},
"_id": "8cGgjvgvhL/LuPKRoVnVQq"
},
......@@ -9791,20 +9435,20 @@
"_name": "main",
"_objFlags": 0,
"_parent": {
"__id__": 185
"__id__": 176
},
"_children": [
{
"__id__": 201
"__id__": 192
},
{
"__id__": 203
"__id__": 194
}
],
"_active": true,
"_components": [
{
"__id__": 205
"__id__": 196
}
],
"_prefab": null,
......@@ -9860,13 +9504,13 @@
"_name": "oval-18",
"_objFlags": 0,
"_parent": {
"__id__": 200
"__id__": 191
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 202
"__id__": 193
}
],
"_prefab": null,
......@@ -9922,7 +9566,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
"__id__": 192
},
"_enabled": true,
"_materials": [
......@@ -9954,13 +9598,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 200
"__id__": 191
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 204
"__id__": 195
}
],
"_prefab": null,
......@@ -10016,7 +9660,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 203
"__id__": 194
},
"_enabled": true,
"_materials": [
......@@ -10051,7 +9695,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 200
"__id__": 191
},
"_enabled": true,
"_normalMaterial": null,
......@@ -10112,7 +9756,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 200
"__id__": 191
},
"_id": "f41Ic5OXhCRpAxS/kMIRiA"
},
......@@ -10127,7 +9771,7 @@
"_active": false,
"_components": [
{
"__id__": 207
"__id__": 198
}
],
"_prefab": null,
......@@ -10183,7 +9827,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 206
"__id__": 197
},
"_enabled": true,
"_materials": [
......@@ -10277,19 +9921,19 @@
},
"_children": [
{
"__id__": 210
"__id__": 201
},
{
"__id__": 212
"__id__": 203
},
{
"__id__": 214
"__id__": 205
}
],
"_active": false,
"_components": [
{
"__id__": 216
"__id__": 207
}
],
"_prefab": null,
......@@ -10345,13 +9989,13 @@
"_name": "bg_blue",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 200
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 211
"__id__": 202
}
],
"_prefab": null,
......@@ -10407,7 +10051,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 210
"__id__": 201
},
"_enabled": true,
"_materials": [
......@@ -10439,13 +10083,13 @@
"_name": "bg_green",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 200
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 213
"__id__": 204
}
],
"_prefab": null,
......@@ -10501,7 +10145,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 212
"__id__": 203
},
"_enabled": true,
"_materials": [
......@@ -10533,13 +10177,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 209
"__id__": 200
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 215
"__id__": 206
}
],
"_prefab": null,
......@@ -10595,7 +10239,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 214
"__id__": 205
},
"_enabled": true,
"_materials": [
......@@ -10630,7 +10274,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 209
"__id__": 200
},
"_enabled": true,
"_normalMaterial": null,
......@@ -10691,7 +10335,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 209
"__id__": 200
},
"_id": "176BYmeDpPZ68HlISEHa8t"
},
......@@ -10762,28 +10406,28 @@
},
"_children": [
{
"__id__": 219
"__id__": 210
},
{
"__id__": 221
"__id__": 212
},
{
"__id__": 223
"__id__": 214
},
{
"__id__": 225
"__id__": 216
},
{
"__id__": 227
"__id__": 218
},
{
"__id__": 231
"__id__": 222
}
],
"_active": false,
"_components": [
{
"__id__": 237
"__id__": 228
}
],
"_prefab": null,
......@@ -10839,13 +10483,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 218
"__id__": 209
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 220
"__id__": 211
}
],
"_prefab": null,
......@@ -10901,7 +10545,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 219
"__id__": 210
},
"_enabled": true,
"_materials": [
......@@ -10933,13 +10577,13 @@
"_name": "chose",
"_objFlags": 0,
"_parent": {
"__id__": 218
"__id__": 209
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 222
"__id__": 213
}
],
"_prefab": null,
......@@ -10995,7 +10639,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 221
"__id__": 212
},
"_enabled": true,
"_materials": [
......@@ -11027,13 +10671,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 218
"__id__": 209
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 224
"__id__": 215
}
],
"_prefab": null,
......@@ -11089,7 +10733,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 223
"__id__": 214
},
"_enabled": true,
"_materials": [
......@@ -11121,13 +10765,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 218
"__id__": 209
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 226
"__id__": 217
}
],
"_prefab": null,
......@@ -11183,7 +10827,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 225
"__id__": 216
},
"_enabled": true,
"_materials": [
......@@ -11218,17 +10862,17 @@
"_name": "fail",
"_objFlags": 0,
"_parent": {
"__id__": 218
"__id__": 209
},
"_children": [
{
"__id__": 228
"__id__": 219
}
],
"_active": false,
"_components": [
{
"__id__": 230
"__id__": 221
}
],
"_prefab": null,
......@@ -11284,13 +10928,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 227
"__id__": 218
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 229
"__id__": 220
}
],
"_prefab": null,
......@@ -11346,7 +10990,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 228
"__id__": 219
},
"_enabled": true,
"_materials": [
......@@ -11381,7 +11025,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 227
"__id__": 218
},
"_enabled": true,
"_materials": [
......@@ -11413,20 +11057,20 @@
"_name": "success",
"_objFlags": 0,
"_parent": {
"__id__": 218
"__id__": 209
},
"_children": [
{
"__id__": 232
"__id__": 223
},
{
"__id__": 234
"__id__": 225
}
],
"_active": false,
"_components": [
{
"__id__": 236
"__id__": 227
}
],
"_prefab": null,
......@@ -11482,13 +11126,13 @@
"_name": "txt",
"_objFlags": 0,
"_parent": {
"__id__": 231
"__id__": 222
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 233
"__id__": 224
}
],
"_prefab": null,
......@@ -11544,7 +11188,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 232
"__id__": 223
},
"_enabled": true,
"_materials": [
......@@ -11579,13 +11223,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 231
"__id__": 222
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 235
"__id__": 226
}
],
"_prefab": null,
......@@ -11641,7 +11285,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 234
"__id__": 225
},
"_enabled": true,
"_materials": [
......@@ -11673,7 +11317,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 231
"__id__": 222
},
"_enabled": true,
"_materials": [
......@@ -11705,7 +11349,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 218
"__id__": 209
},
"_enabled": true,
"_normalMaterial": null,
......@@ -11766,93 +11410,10 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 218
"__id__": 209
},
"_id": "58IQ76yf1KT71BqZoNtHOV"
},
{
"__type__": "cc.Node",
"_name": "items",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 239
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_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": "2bxgAtmQJP+bUQoreYMry9"
},
{
"__type__": "2d25ek3okRHaLjAg9GytjmH",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 238
},
"_enabled": true,
"r_width": 0,
"r_height": 0,
"r_top": 0,
"r_bottom": 0,
"p_left": 0,
"p_right": 0,
"p_top": 0,
"p_bottom": 1,
"black": 0,
"noHead": 0,
"debug": 0,
"_id": "ebQ2jKaixDO7nZRIohsaP7"
},
{
"__type__": "cc.Node",
"_name": "btn_replay1",
......@@ -11864,13 +11425,10 @@
"_active": false,
"_components": [
{
"__id__": 241
},
{
"__id__": 242
"__id__": 230
},
{
"__id__": 243
"__id__": 231
}
],
"_prefab": null,
......@@ -11926,7 +11484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 240
"__id__": 229
},
"_enabled": true,
"_materials": [
......@@ -11958,7 +11516,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 240
"__id__": 229
},
"_enabled": true,
"_normalMaterial": null,
......@@ -12019,31 +11577,10 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 240
"__id__": 229
},
"_id": "86ErSTSUhP26kFUGhhqqPn"
},
{
"__type__": "2d25ek3okRHaLjAg9GytjmH",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 240
},
"_enabled": true,
"r_width": 0,
"r_height": 0,
"r_top": 0,
"r_bottom": 0,
"p_left": 0,
"p_right": 0,
"p_top": 0,
"p_bottom": 1,
"black": 0,
"noHead": 0,
"debug": 0,
"_id": "bag+W8tmtDzpqX/Hm+/x8i"
},
{
"__type__": "cc.Node",
"_name": "layout_stars",
......@@ -12055,10 +11592,10 @@
"_active": false,
"_components": [
{
"__id__": 245
"__id__": 233
},
{
"__id__": 246
"__id__": 234
}
],
"_prefab": null,
......@@ -12114,7 +11651,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 244
"__id__": 232
},
"_enabled": true,
"_layoutSize": {
......@@ -12146,7 +11683,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 244
"__id__": 232
},
"_enabled": true,
"alignMode": 1,
......@@ -12295,7 +11832,7 @@
"_active": false,
"_components": [
{
"__id__": 250
"__id__": 238
}
],
"_prefab": null,
......@@ -12351,7 +11888,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 249
"__id__": 237
},
"_enabled": true,
"_materials": [
......@@ -12395,13 +11932,13 @@
},
"_children": [
{
"__id__": 252
"__id__": 240
}
],
"_active": false,
"_components": [
{
"__id__": 256
"__id__": 244
}
],
"_prefab": null,
......@@ -12457,17 +11994,17 @@
"_name": "Star",
"_objFlags": 0,
"_parent": {
"__id__": 251
"__id__": 239
},
"_children": [
{
"__id__": 253
"__id__": 241
}
],
"_active": false,
"_components": [
{
"__id__": 255
"__id__": 243
}
],
"_prefab": null,
......@@ -12523,13 +12060,13 @@
"_name": "StarBig",
"_objFlags": 0,
"_parent": {
"__id__": 252
"__id__": 240
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 254
"__id__": 242
}
],
"_prefab": null,
......@@ -12585,7 +12122,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 253
"__id__": 241
},
"_enabled": true,
"_materials": [
......@@ -12617,7 +12154,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 252
"__id__": 240
},
"_enabled": true,
"_materials": [
......@@ -12649,7 +12186,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 251
"__id__": 239
},
"_enabled": true,
"_materials": [
......@@ -12685,22 +12222,22 @@
},
"_children": [
{
"__id__": 258
"__id__": 246
},
{
"__id__": 260
"__id__": 248
},
{
"__id__": 262
"__id__": 250
},
{
"__id__": 264
"__id__": 252
},
{
"__id__": 266
"__id__": 254
},
{
"__id__": 268
"__id__": 256
}
],
"_active": false,
......@@ -12758,13 +12295,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 257
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 259
"__id__": 247
}
],
"_prefab": null,
......@@ -12820,7 +12357,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 258
"__id__": 246
},
"_enabled": true,
"_materials": [
......@@ -12852,13 +12389,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 257
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 261
"__id__": 249
}
],
"_prefab": null,
......@@ -12914,7 +12451,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 260
"__id__": 248
},
"_enabled": true,
"_materials": [
......@@ -12946,13 +12483,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 257
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 263
"__id__": 251
}
],
"_prefab": null,
......@@ -13008,7 +12545,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 262
"__id__": 250
},
"_enabled": true,
"_materials": [
......@@ -13040,13 +12577,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 257
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 265
"__id__": 253
}
],
"_prefab": null,
......@@ -13102,7 +12639,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 264
"__id__": 252
},
"_enabled": true,
"_materials": [
......@@ -13134,13 +12671,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 257
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 267
"__id__": 255
}
],
"_prefab": null,
......@@ -13196,7 +12733,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 266
"__id__": 254
},
"_enabled": true,
"_materials": [
......@@ -13228,13 +12765,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 257
"__id__": 245
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 269
"__id__": 257
}
],
"_prefab": null,
......@@ -13290,7 +12827,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 268
"__id__": 256
},
"_enabled": true,
"_materials": [
......@@ -13326,19 +12863,19 @@
},
"_children": [
{
"__id__": 271
"__id__": 259
},
{
"__id__": 276
"__id__": 264
},
{
"__id__": 281
"__id__": 269
},
{
"__id__": 286
"__id__": 274
},
{
"__id__": 291
"__id__": 279
}
],
"_active": false,
......@@ -13396,11 +12933,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 270
"__id__": 258
},
"_children": [
{
"__id__": 272
"__id__": 260
}
],
"_active": true,
......@@ -13458,17 +12995,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 271
"__id__": 259
},
"_children": [
{
"__id__": 273
"__id__": 261
}
],
"_active": true,
"_components": [
{
"__id__": 275
"__id__": 263
}
],
"_prefab": null,
......@@ -13524,13 +13061,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 272
"__id__": 260
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 274
"__id__": 262
}
],
"_prefab": null,
......@@ -13586,7 +13123,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 273
"__id__": 261
},
"_enabled": true,
"_materials": [
......@@ -13618,7 +13155,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 272
"__id__": 260
},
"_enabled": true,
"_materials": [
......@@ -13640,11 +13177,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 270
"__id__": 258
},
"_children": [
{
"__id__": 277
"__id__": 265
}
],
"_active": true,
......@@ -13702,17 +13239,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 276
"__id__": 264
},
"_children": [
{
"__id__": 278
"__id__": 266
}
],
"_active": true,
"_components": [
{
"__id__": 280
"__id__": 268
}
],
"_prefab": null,
......@@ -13768,13 +13305,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 277
"__id__": 265
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 279
"__id__": 267
}
],
"_prefab": null,
......@@ -13830,7 +13367,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 278
"__id__": 266
},
"_enabled": true,
"_materials": [
......@@ -13862,7 +13399,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 277
"__id__": 265
},
"_enabled": true,
"_materials": [
......@@ -13884,11 +13421,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 270
"__id__": 258
},
"_children": [
{
"__id__": 282
"__id__": 270
}
],
"_active": true,
......@@ -13946,17 +13483,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 281
"__id__": 269
},
"_children": [
{
"__id__": 283
"__id__": 271
}
],
"_active": true,
"_components": [
{
"__id__": 285
"__id__": 273
}
],
"_prefab": null,
......@@ -14012,13 +13549,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 282
"__id__": 270
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 284
"__id__": 272
}
],
"_prefab": null,
......@@ -14074,7 +13611,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 283
"__id__": 271
},
"_enabled": true,
"_materials": [
......@@ -14106,7 +13643,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 282
"__id__": 270
},
"_enabled": true,
"_materials": [
......@@ -14128,11 +13665,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 270
"__id__": 258
},
"_children": [
{
"__id__": 287
"__id__": 275
}
],
"_active": true,
......@@ -14190,17 +13727,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 286
"__id__": 274
},
"_children": [
{
"__id__": 288
"__id__": 276
}
],
"_active": true,
"_components": [
{
"__id__": 290
"__id__": 278
}
],
"_prefab": null,
......@@ -14256,13 +13793,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 287
"__id__": 275
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 289
"__id__": 277
}
],
"_prefab": null,
......@@ -14318,7 +13855,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 288
"__id__": 276
},
"_enabled": true,
"_materials": [
......@@ -14350,7 +13887,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 287
"__id__": 275
},
"_enabled": true,
"_materials": [
......@@ -14372,11 +13909,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 270
"__id__": 258
},
"_children": [
{
"__id__": 292
"__id__": 280
}
],
"_active": true,
......@@ -14434,17 +13971,17 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 291
"__id__": 279
},
"_children": [
{
"__id__": 293
"__id__": 281
}
],
"_active": true,
"_components": [
{
"__id__": 295
"__id__": 283
}
],
"_prefab": null,
......@@ -14500,13 +14037,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 292
"__id__": 280
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 294
"__id__": 282
}
],
"_prefab": null,
......@@ -14562,7 +14099,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 293
"__id__": 281
},
"_enabled": true,
"_materials": [
......@@ -14594,7 +14131,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 292
"__id__": 280
},
"_enabled": true,
"_materials": [
......
{
"ver": "1.0.8",
"uuid": "2d25e937-a244-4768-b8c0-83d1b2b63987",
"uuid": "f49053fb-f5ea-4251-ac92-af72240b74c9",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "a67522a3-335f-47ef-81ff-f0e25ec06a6b",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "0387ff10-83e7-49e3-a448-78df14645dec",
"uuid": "72dd4b09-9886-4815-8ed0-5133f44d307d",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
class CalculativeResize {
static resizeInfo() {
//0.设计尺寸
let baseSize = cc.size(1280, 720);
//1.获取屏幕尺寸
let canvasSize = cc.view.getCanvasSize();
//2.将屏幕宽高 以高度对齐的方式 换算出场景 宽度
let sumSizeW = cc.size(canvasSize.width * baseSize.height / canvasSize.height, baseSize.height)
//3.计算场景宽度与设计宽度比率
let scaleX = sumSizeW.width / baseSize.width;
//高屏幕适配
if (scaleX <= 1) {
let sumSizeY = cc.size(baseSize.width, canvasSize.height * (baseSize.width / canvasSize.width))
let scaleY = sumSizeY.height / baseSize.height;
let posY = sumSizeY.height - baseSize.height;
return {
scaleX: 1,
posX: 0,
moveX: 0,
scaleY: scaleY,
posY: posY,
moveY: - posY / 2
}
} else {
let posX = sumSizeW.width - baseSize.width;
//需要拓展的宽度缩放比
return {
scaleX: scaleX,
posX: posX,
moveX: - posX / 2,
scaleY: 1,
posY: 0,
moveY: 0
};
}
}
}
//关于齐刘海的适配方案。
//1.需要获取对应的手机型号
//2.需要写上安全间距标记(主要是中间部分)
//3.不同的手机安全间距可能不同。(主要适配iPhone X)
cc.Class({
extends: cc.Component,
properties: {
r_width: 1,
r_height: 1,
r_top: 0,
r_bottom: 0,
p_left: 0,
p_right: 0,
p_top: 0,
p_bottom: 0,
black: 0,//用于不能直接缩放的图片(如引导),两边补齐黑边
noHead: 0,
debug: 0,
},
// LIFE-CYCLE CALLBACKS:
onLoad() {
let { scaleX, posX, scaleY, posY } = CalculativeResize.resizeInfo();
this.resizeScaleX = scaleX;
this.resizeScaleY = scaleY;
this.posX = posX;
this.posY = posY;
let { width, height, x, y } = this.node;
this.nodeWidth = width;
this.nodeHeight = height;
this.nodeX = x;
this.nodeY = y;
//增加一个resize的监听,当屏幕出现宽高比变化的时候,进行一次重新适配。
//主要用于刘海屏的重置,以及动态屏幕变化的控制(虚拟按键屏)。
},
start() {
this.resize();
},
update(dt) {
},
onDestroy() {
if (this.black1)
pg.view.removChildren(this.black1);
if (this.black2)
pg.view.removChildren(this.black2);
this.black1 = null;
this.black2 = null;
},
resize() {
if (!this.resizeScaleX && !this.nodeWidth) {
console.warn("手动调用此方法时,不能再onLoad中使用");
return;
}
this.resizeHeight();
this.resizeWidth();
},
//高屏幕适配
resizeHeight() {
if (this.resizeScaleY <= 1.05) return;
let scaleY = this.resizeScaleY;
let posY = this.posY;
let nodeWidth = this.nodeWidth;
let nodeHeight = this.nodeHeight;
let nodeX = this.nodeX;
let nodeY = this.nodeY;
if (this.debug == 1) {
console.log("断点调试点");
}
//宽度拉伸
if (this.r_width == 1) {
this.node.width = nodeWidth * scaleY;
}
//高度拉升
if (this.r_height == 1) {
this.node.height = nodeHeight * scaleY;
// //高度拉伸后,图片顶部齐边【坐标下移】 y坐标下移
// if (this.r_top == 1) {
// this.node.y = nodeY - nodeHeight * (scaleY - 1) / 2;
// }
// //高度拉伸后,图片底部齐边【坐标上移】 y坐标上移
// if (this.r_bottom == 1) {
// this.node.y = nodeY + nodeHeight * (scaleY - 1) / 2;
// }
}
// //如果是刘海屏,减去对应的刘海屏的宽度
// let lhpSize = { top: 0, bottom: 0 };
// //动态左移
// if (this.p_left == 1) {
// this.node.x = nodeX - posX / 2 + lhpSize.top;
// }
// //动态右移
// if (this.p_right == 1) {
// this.node.x = nodeX + posX / 2 - lhpSize.bottom;
// }
//动态上移
if (this.p_top == 1) {
this.node.y = nodeY + posY / 2
}
//动态下移
if (this.p_bottom == 1) {
this.node.y = nodeY - posY / 2
}
},
//长屏幕适配
resizeWidth() {
if (this.resizeScaleX <= 1.05) return;
let resizeScaleX = this.resizeScaleX;
let posX = this.posX;
let nodeWidth = this.nodeWidth;
let nodeHeight = this.nodeHeight;
let nodeX = this.nodeX;
let nodeY = this.nodeY;
if (this.debug == 1) {
console.log("断点调试点");
}
//宽度拉伸
if (this.r_width == 1) {
this.node.width = nodeWidth * resizeScaleX;
}
//高度拉升
if (this.r_height == 1) {
this.node.height = nodeHeight * resizeScaleX;
//高度拉伸后,图片顶部齐边【坐标下移】 y坐标下移
if (this.r_top == 1) {
this.node.y = nodeY - nodeHeight * (resizeScaleX - 1) / 2;
}
//高度拉伸后,图片底部齐边【坐标上移】 y坐标上移
if (this.r_bottom == 1) {
this.node.y = nodeY + nodeHeight * (resizeScaleX - 1) / 2;
}
}
if (this.black == 1) {
let baseSize = cc.size(1280, 720);
this.black1 = this.createBalck();
this.black2 = this.createBalck();
let curWidth = nodeWidth * resizeScaleX;
let curHeight = nodeHeight * resizeScaleX;
let blackWidth = (curWidth - baseSize.width) / 2;
let blackHeight = curHeight;
this.black1.width = blackWidth;
this.black1.height = blackHeight;
this.black2.width = blackWidth;
this.black2.height = blackHeight;
this.black1.x = - baseSize.width / 2 - this.black1.width / 2;
this.black2.x = baseSize.width / 2 + this.black1.width / 2;
this.black1.y = this.black2.y = nodeY;
pg.view.addChild(this.node, this.black1);
pg.view.addChild(this.node, this.black2);
this.black1.active = false;
this.black2.active = false;
if (this.node.nodeData && (this.node.nodeData.bg != "" && this.node.nodeData.bg != "rect")) {
this.black1.active = true;
this.black2.active = true;
}
}
//如果是刘海屏,减去对应的刘海屏的宽度
let lhpSize = { top: 0, bottom: 0 };
if (!this.noHead && posX != 0) lhpSize = { top: 44 * 1.5, bottom: 34 * 1.5 };
//动态左移
if (this.p_left == 1) {
this.node.x = nodeX - posX / 2 + lhpSize.top;
}
//动态右移
if (this.p_right == 1) {
this.node.x = nodeX + posX / 2 - lhpSize.bottom;
}
},
//屏幕适配--end
createBalck() {
let black = cc.instantiate(cc.find('Canvas/blackBg'));
return black;
},
setBlackActive(val) {
if (this.black1)
this.black1.active = val;
if (this.black2)
this.black2.active = val;
}
});
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