Commit 991a8efd authored by liujiangnan's avatar liujiangnan

feat: 添加moreGames

parent ee23f750
......@@ -79,18 +79,24 @@
},
{
"__id__": 334
},
{
"__id__": 336
},
{
"__id__": 344
}
],
"_active": true,
"_components": [
{
"__id__": 336
"__id__": 352
},
{
"__id__": 337
"__id__": 353
},
{
"__id__": 338
"__id__": 354
}
],
"_prefab": null,
......@@ -5029,7 +5035,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "fbT3/HD7BM3ZIRrqTwg7pM"
"_id": "17YUh5ymtEvrichDpPU8KO"
},
{
"__type__": "cc.Label",
......@@ -5064,7 +5070,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b58LYowIRKhIoOK3R4ONO0"
"_id": "a9g/TsgEBLH5fAwMgfmzqt"
},
{
"__type__": "cc.LabelOutline",
......@@ -5082,7 +5088,7 @@
"a": 255
},
"_width": 3,
"_id": "dab7maOSFFP5ymL2UZruJu"
"_id": "e9XYWXGuxM+L+dybvpCO81"
},
{
"__type__": "cc.RichText",
......@@ -5237,7 +5243,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "abqpSzikhIBblwpQihEpm2"
"_id": "56OmzpP8hDmaYkrnvQ0+T+"
},
{
"__type__": "cc.Label",
......@@ -5272,7 +5278,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "714egPTAJMFLuvy8uQ/5BZ"
"_id": "abZCspCfxEhoFryTCxBJd4"
},
{
"__type__": "cc.LabelOutline",
......@@ -5290,7 +5296,7 @@
"a": 255
},
"_width": 7,
"_id": "fbl63dcs5L470d+TZyH6y2"
"_id": "b37/QkAmdNHZTAKgBmn/vF"
},
{
"__type__": "cc.RichText",
......@@ -8580,7 +8586,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "67KTW7PZxFcaiol2lKWqNh"
"_id": "34Jv8uUl5PU4Qr75Frv6MQ"
},
{
"__type__": "cc.Label",
......@@ -8615,7 +8621,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "00hZVuF/RFPakORS8zwxMU"
"_id": "34njhzRqdJQq4FhHlWyOgv"
},
{
"__type__": "cc.LabelOutline",
......@@ -8633,7 +8639,7 @@
"a": 255
},
"_width": 7,
"_id": "33MpJ6N7dLmJU379gOczOo"
"_id": "ea6ZfT1E9LAZ1uBuK+a6I2"
},
{
"__type__": "cc.RichText",
......@@ -8788,7 +8794,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "065tofagVGeb+7B9QHif8f"
"_id": "b9o6qaA+dHf7lZcBb9x3Uz"
},
{
"__type__": "cc.Label",
......@@ -8823,7 +8829,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d9yLf1Pn9GRpwWXhycQIms"
"_id": "d6i2/daclHL6hEV0JPGMlS"
},
{
"__type__": "cc.LabelOutline",
......@@ -8841,7 +8847,7 @@
"a": 255
},
"_width": 3,
"_id": "fbrDrcS5ZH179b6hMrWvAB"
"_id": "4az4ajlDBDp7ISlafOCD+n"
},
{
"__type__": "cc.RichText",
......@@ -11934,7 +11940,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "8fZ/4AQ8lK7KCAiU3vfvC4"
"_id": "29Zi+yvTdJVaBOrY+RUtbD"
},
{
"__type__": "cc.Label",
......@@ -11969,7 +11975,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "f8BZmE9lZJ8LqfUVpLvDIE"
"_id": "bboiCsPDhPcqd5UDG3cmEV"
},
{
"__type__": "cc.LabelOutline",
......@@ -11987,7 +11993,7 @@
"a": 255
},
"_width": 7,
"_id": "b1kBVGcZlC0KtbA24pVthy"
"_id": "d0J1EjI5FOX6RRzW4xoQBo"
},
{
"__type__": "cc.RichText",
......@@ -12142,7 +12148,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "81fG5rb9NJKa6+g7rFPVHF"
"_id": "edDGDVnkZBipo8WfP6gA32"
},
{
"__type__": "cc.Label",
......@@ -12177,7 +12183,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "38FEBOkAdDcaTNokqxUrF9"
"_id": "09toy7ffJNtaa8Cuux9ISr"
},
{
"__type__": "cc.LabelOutline",
......@@ -12195,7 +12201,7 @@
"a": 255
},
"_width": 3,
"_id": "2aq3zwdnlLDZnfKo+5Mjy8"
"_id": "cbFEV1JF9KjJdc5s5X33+S"
},
{
"__type__": "cc.RichText",
......@@ -15485,7 +15491,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "b84OetcPZMyLtRMUxWsY3o"
"_id": "94gN16McRB1I6UAZcgRheU"
},
{
"__type__": "cc.Label",
......@@ -15520,7 +15526,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "67VvFCAjFODrsBhLZ2PAnh"
"_id": "1fDW63V1lKmKpcKob2qwyv"
},
{
"__type__": "cc.LabelOutline",
......@@ -15538,7 +15544,7 @@
"a": 255
},
"_width": 7,
"_id": "63FC+oLghB7ajwIsfCh/pL"
"_id": "599lfPrj1H+bjpoFTJYeJW"
},
{
"__type__": "cc.RichText",
......@@ -15693,7 +15699,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "1d8kuo6OZLUp3kGmcesdCf"
"_id": "22OQBvi6JLOr0upf6jJNKE"
},
{
"__type__": "cc.Label",
......@@ -15728,7 +15734,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "02j/QHq85A/ow6PXCF6AaQ"
"_id": "fasxoHp9pKFqFr0/yGX2Li"
},
{
"__type__": "cc.LabelOutline",
......@@ -15746,7 +15752,7 @@
"a": 255
},
"_width": 3,
"_id": "99GZDoCdFE5aao2T6koJee"
"_id": "00B0Bkpc5NpYY+V6M4DvyD"
},
{
"__type__": "cc.RichText",
......@@ -16133,6 +16139,790 @@
"_atlas": null,
"_id": "1dc9XSiPpFEpCsGBYiAOdx"
},
{
"__type__": "cc.Node",
"_name": "game",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 337
},
{
"__id__": 339
}
],
"_active": true,
"_components": [
{
"__id__": 341
},
{
"__id__": 342
},
{
"__id__": 343
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 106,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
403,
301,
0,
0,
0,
0,
1,
0.6,
0.6,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "20hQyQNS5HW4HsW4rShRFT"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 336
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 338
}
],
"_prefab": null,
"_opacity": 133,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160.05,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-58.604,
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": "0dT/o7hGVOcbVJWrs/tdZc"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 337
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Extra Game",
"_N$string": "Extra Game",
"_fontSize": 30,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "73ZQTzHt5NIpRoUV2xMs3S"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 336
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 340
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160.05,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-57.445,
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": "def7DH9s5HEJD4pb3SXimi"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 339
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Extra Game",
"_N$string": "Extra Game",
"_fontSize": 30,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "4ak+sjYw5OR6uxDK9/y1b1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 336
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "af8e011c-2e2e-40b0-83c7-a4c0eebd5723"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "88ZKul4uJFwK+QVWkE6E7D"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 336
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 205.2,
"_top": 29.600000000000023,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "a3jB04rJtDoIENrpp3ZBhY"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 336
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "72IPkygLtK17ZLvBoYg9r0"
},
{
"__type__": "cc.Node",
"_name": "lxc",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 345
},
{
"__id__": 347
}
],
"_active": true,
"_components": [
{
"__id__": 349
},
{
"__id__": 350
},
{
"__id__": 351
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 111,
"height": 95
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
546.187,
307,
0,
0,
0,
0,
1,
0.6,
0.6,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f8CdqSRudL1qyTwbpDeOjH"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 344
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 346
}
],
"_prefab": null,
"_opacity": 133,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 210,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-71.296,
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": "12WaiZsUJGmbkAWpjqQZSc"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 345
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "查看练习册答案",
"_N$string": "查看练习册答案",
"_fontSize": 30,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ca7HYiz71NS6uWO/R0tAyO"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 344
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 348
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 210,
"height": 37.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-70.137,
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": "22PJp2OO9EUa4kGq7e1sTJ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 347
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "查看练习册答案",
"_N$string": "查看练习册答案",
"_fontSize": 30,
"_lineHeight": 30,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "996ZwjrAJEpqUAzj17ld+q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 344
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ab905372-cb1d-45ea-b634-0c46f69b3a73"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "65BTAeWShOK5Cv2AJv35QJ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 344
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 60.513000000000034,
"_top": 24.5,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "b2akUaqG9LqpxxdjWZynGk"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 344
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "1db6yXLmFGg5loYxr6NLML"
},
{
"__type__": "cc.Canvas",
"_name": "",
......
......@@ -11,6 +11,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
rows;
kidInfo;
moreGameFolder: any;
async initData() {
const middleLayer = cc.find('middleLayer');
if (!middleLayer) {
......@@ -56,6 +57,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
name: row.name
};
});
this.moreGameFolder = res.rows.find(item => item.name == 'more games');
}
async onLoadEnd() {
......@@ -169,5 +171,24 @@ export default class SceneComponent extends MyCocosSceneComponent {
jumpToCourseWare(guideRow.id);
});
}
const btnGame = cc.find('Canvas/game');
buttonOnClick(btnGame, () => {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
if (!this.moreGameFolder) {
middleLayerComponent.showTips("未解锁 [101]");
return;
}
middleLayerComponent.setData('NJ_MoreGames', {
folderId: this.moreGameFolder.id,
folderName: this.moreGameFolder.name,
Level: "L2"
});
middleLayerComponent.loadOnlineBundle('NJ_MoreGames');
}
}, 0.6);
}
}
{
"ver": "2.3.5",
"uuid": "81a6de68-73ba-42f1-8f46-8c010dfbf4fe",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 108,
"height": 100,
"platformSettings": {},
"subMetas": {
"game": {
"ver": "1.0.4",
"uuid": "af8e011c-2e2e-40b0-83c7-a4c0eebd5723",
"rawTextureUuid": "81a6de68-73ba-42f1-8f46-8c010dfbf4fe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 106,
"height": 98,
"rawWidth": 108,
"rawHeight": 100,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "238ef8da-55d5-44d4-8d3b-b7a9d42b1dcc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 113,
"height": 97,
"platformSettings": {},
"subMetas": {
"lxc": {
"ver": "1.0.4",
"uuid": "ab905372-cb1d-45ea-b634-0c46f69b3a73",
"rawTextureUuid": "238ef8da-55d5-44d4-8d3b-b7a9d42b1dcc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 111,
"height": 95,
"rawWidth": 113,
"rawHeight": 97,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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