根据最新文档修改
@ -659,7 +659,16 @@
|
|||||||
"__uuid__": "6c21a659-0cc4-49e6-a4b6-9697e946aaa1"
|
"__uuid__": "6c21a659-0cc4-49e6-a4b6-9697e946aaa1"
|
||||||
},
|
},
|
||||||
"topMenu": null,
|
"topMenu": null,
|
||||||
|
"infoView": null,
|
||||||
"partsY": [],
|
"partsY": [],
|
||||||
|
"needCode": true,
|
||||||
|
"logined": false,
|
||||||
|
"mobile": "",
|
||||||
|
"images": [],
|
||||||
|
"uid": "",
|
||||||
|
"allshow": false,
|
||||||
|
"infoSchedule": null,
|
||||||
|
"shareUser": "",
|
||||||
"_id": "caqu3+UstJ+6Bc+xrIMgmV"
|
"_id": "caqu3+UstJ+6Bc+xrIMgmV"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -29,21 +29,24 @@
|
|||||||
"__id__": 11
|
"__id__": 11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 15
|
"__id__": 13
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 19
|
"__id__": 17
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 21
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_level": 1,
|
"_level": 1,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 25
|
"__id__": 27
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 26
|
"__id__": 28
|
||||||
},
|
},
|
||||||
"_opacity": 255,
|
"_opacity": 255,
|
||||||
"_color": {
|
"_color": {
|
||||||
@ -396,6 +399,76 @@
|
|||||||
"fileId": "83Q8Za8eFB8rdVssFCys9w",
|
"fileId": "83Q8Za8eFB8rdVssFCys9w",
|
||||||
"sync": false
|
"sync": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "touch_node",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_level": 2,
|
||||||
|
"_components": [],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 12
|
||||||
|
},
|
||||||
|
"_opacity": 255,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 750,
|
||||||
|
"height": 1161
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_position": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 13,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_scale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_rotationX": 0,
|
||||||
|
"_rotationY": 0,
|
||||||
|
"_quat": {
|
||||||
|
"__type__": "cc.Quat",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"w": 1
|
||||||
|
},
|
||||||
|
"_skewX": 0,
|
||||||
|
"_skewY": 0,
|
||||||
|
"_zIndex": 0,
|
||||||
|
"groupIndex": 0,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__uuid__": "9c00729f-1f46-4905-a9e1-bc0e74feb37c"
|
||||||
|
},
|
||||||
|
"fileId": "25SCcUlyZI7LPwVf3gg2yg",
|
||||||
|
"sync": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "arrow_right",
|
"_name": "arrow_right",
|
||||||
@ -408,14 +481,14 @@
|
|||||||
"_level": 4,
|
"_level": 4,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 12
|
"__id__": 14
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 13
|
"__id__": 15
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 14
|
"__id__": 16
|
||||||
},
|
},
|
||||||
"_opacity": 255,
|
"_opacity": 255,
|
||||||
"_color": {
|
"_color": {
|
||||||
@ -467,7 +540,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 11
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_srcBlendFactor": 770,
|
"_srcBlendFactor": 770,
|
||||||
@ -495,7 +568,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 11
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"transition": 0,
|
"transition": 0,
|
||||||
@ -539,7 +612,7 @@
|
|||||||
"hoverSprite": null,
|
"hoverSprite": null,
|
||||||
"_N$disabledSprite": null,
|
"_N$disabledSprite": null,
|
||||||
"_N$target": {
|
"_N$target": {
|
||||||
"__id__": 11
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@ -566,14 +639,14 @@
|
|||||||
"_level": 4,
|
"_level": 4,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 16
|
"__id__": 18
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 17
|
"__id__": 19
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 18
|
"__id__": 20
|
||||||
},
|
},
|
||||||
"_opacity": 255,
|
"_opacity": 255,
|
||||||
"_color": {
|
"_color": {
|
||||||
@ -625,7 +698,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 15
|
"__id__": 17
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_srcBlendFactor": 770,
|
"_srcBlendFactor": 770,
|
||||||
@ -653,7 +726,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 15
|
"__id__": 17
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"transition": 0,
|
"transition": 0,
|
||||||
@ -697,7 +770,7 @@
|
|||||||
"hoverSprite": null,
|
"hoverSprite": null,
|
||||||
"_N$disabledSprite": null,
|
"_N$disabledSprite": null,
|
||||||
"_N$target": {
|
"_N$target": {
|
||||||
"__id__": 15
|
"__id__": 17
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@ -721,18 +794,18 @@
|
|||||||
},
|
},
|
||||||
"_children": [
|
"_children": [
|
||||||
{
|
{
|
||||||
"__id__": 20
|
"__id__": 22
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_level": 4,
|
"_level": 4,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 23
|
"__id__": 25
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 24
|
"__id__": 26
|
||||||
},
|
},
|
||||||
"_opacity": 255,
|
"_opacity": 255,
|
||||||
"_color": {
|
"_color": {
|
||||||
@ -784,18 +857,18 @@
|
|||||||
"_name": "btn_title_4",
|
"_name": "btn_title_4",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 19
|
"__id__": 21
|
||||||
},
|
},
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_level": 4,
|
"_level": 4,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 21
|
"__id__": 23
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 22
|
"__id__": 24
|
||||||
},
|
},
|
||||||
"_opacity": 255,
|
"_opacity": 255,
|
||||||
"_color": {
|
"_color": {
|
||||||
@ -847,7 +920,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 20
|
"__id__": 22
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_srcBlendFactor": 770,
|
"_srcBlendFactor": 770,
|
||||||
@ -886,7 +959,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 19
|
"__id__": 21
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_srcBlendFactor": 770,
|
"_srcBlendFactor": 770,
|
||||||
@ -929,10 +1002,10 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"leftBtn": {
|
"leftBtn": {
|
||||||
"__id__": 15
|
"__id__": 17
|
||||||
},
|
},
|
||||||
"rightBtn": {
|
"rightBtn": {
|
||||||
"__id__": 11
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"currentNode": {
|
"currentNode": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
@ -943,7 +1016,11 @@
|
|||||||
"rightNode": {
|
"rightNode": {
|
||||||
"__id__": 8
|
"__id__": 8
|
||||||
},
|
},
|
||||||
|
"touchNode": {
|
||||||
|
"__id__": 11
|
||||||
|
},
|
||||||
"currentIdx": 2,
|
"currentIdx": 2,
|
||||||
|
"scrolling": false,
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -52,12 +52,12 @@
|
|||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0.5
|
"y": 1
|
||||||
},
|
},
|
||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 375,
|
"x": 375,
|
||||||
"y": 812,
|
"y": 1624,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
@ -123,7 +123,7 @@
|
|||||||
"_position": {
|
"_position": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": -812,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_scale": {
|
"_scale": {
|
||||||
@ -251,6 +251,7 @@
|
|||||||
"btnPrefab": {
|
"btnPrefab": {
|
||||||
"__uuid__": "5dbe24bd-73e4-4b1e-aee7-497e6c0306fb"
|
"__uuid__": "5dbe24bd-73e4-4b1e-aee7-497e6c0306fb"
|
||||||
},
|
},
|
||||||
|
"btns": [],
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
3
assets/resources/textures/menu/AutoAtlas.pac
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"__type__": "cc.SpriteAtlas"
|
||||||
|
}
|
17
assets/resources/textures/menu/AutoAtlas.pac.meta
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.0",
|
||||||
|
"uuid": "016cd873-44de-4581-9802-930ecf066c8a",
|
||||||
|
"maxWidth": 1024,
|
||||||
|
"maxHeight": 1024,
|
||||||
|
"padding": 2,
|
||||||
|
"allowRotation": true,
|
||||||
|
"forceSquared": false,
|
||||||
|
"powerOfTwo": false,
|
||||||
|
"heuristices": "BestAreaFit",
|
||||||
|
"format": "png",
|
||||||
|
"quality": 80,
|
||||||
|
"contourBleed": true,
|
||||||
|
"paddingBleed": true,
|
||||||
|
"filterUnused": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 801 B After Width: | Height: | Size: 637 B |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 75 KiB |
3
assets/resources/textures/part1/AutoAtlas.pac
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"__type__": "cc.SpriteAtlas"
|
||||||
|
}
|
17
assets/resources/textures/part1/AutoAtlas.pac.meta
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.0",
|
||||||
|
"uuid": "93e33745-6aed-4b69-8a59-6dc3710fe8f2",
|
||||||
|
"maxWidth": 1024,
|
||||||
|
"maxHeight": 1024,
|
||||||
|
"padding": 2,
|
||||||
|
"allowRotation": true,
|
||||||
|
"forceSquared": false,
|
||||||
|
"powerOfTwo": false,
|
||||||
|
"heuristices": "BestAreaFit",
|
||||||
|
"format": "png",
|
||||||
|
"quality": 80,
|
||||||
|
"contourBleed": true,
|
||||||
|
"paddingBleed": true,
|
||||||
|
"filterUnused": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 245 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 296 KiB |
@ -14,11 +14,11 @@
|
|||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -12,
|
"offsetY": -12.5,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 35,
|
"trimY": 37,
|
||||||
"width": 750,
|
"width": 750,
|
||||||
"height": 1115,
|
"height": 1112,
|
||||||
"rawWidth": 750,
|
"rawWidth": 750,
|
||||||
"rawHeight": 1161,
|
"rawHeight": 1161,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
|
Before Width: | Height: | Size: 881 KiB After Width: | Height: | Size: 240 KiB |
@ -16,9 +16,9 @@
|
|||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -12,
|
"offsetY": -12,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 35,
|
"trimY": 36,
|
||||||
"width": 750,
|
"width": 750,
|
||||||
"height": 1115,
|
"height": 1113,
|
||||||
"rawWidth": 750,
|
"rawWidth": 750,
|
||||||
"rawHeight": 1161,
|
"rawHeight": 1161,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
|
Before Width: | Height: | Size: 866 KiB After Width: | Height: | Size: 260 KiB |
@ -16,9 +16,9 @@
|
|||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -12,
|
"offsetY": -12,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 35,
|
"trimY": 36,
|
||||||
"width": 750,
|
"width": 750,
|
||||||
"height": 1115,
|
"height": 1113,
|
||||||
"rawWidth": 750,
|
"rawWidth": 750,
|
||||||
"rawHeight": 1161,
|
"rawHeight": 1161,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
|
Before Width: | Height: | Size: 759 KiB After Width: | Height: | Size: 244 KiB |
@ -16,9 +16,9 @@
|
|||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -12,
|
"offsetY": -12,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 35,
|
"trimY": 36,
|
||||||
"width": 750,
|
"width": 750,
|
||||||
"height": 1115,
|
"height": 1113,
|
||||||
"rawWidth": 750,
|
"rawWidth": 750,
|
||||||
"rawHeight": 1161,
|
"rawHeight": 1161,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
|
Before Width: | Height: | Size: 791 KiB After Width: | Height: | Size: 238 KiB |
@ -16,9 +16,9 @@
|
|||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -12,
|
"offsetY": -12,
|
||||||
"trimX": 0,
|
"trimX": 0,
|
||||||
"trimY": 35,
|
"trimY": 36,
|
||||||
"width": 750,
|
"width": 750,
|
||||||
"height": 1115,
|
"height": 1113,
|
||||||
"rawWidth": 750,
|
"rawWidth": 750,
|
||||||
"rawHeight": 1161,
|
"rawHeight": 1161,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 7.4 KiB |
@ -13,14 +13,14 @@
|
|||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 1,
|
"offsetX": 0,
|
||||||
"offsetY": -0.5,
|
"offsetY": 0,
|
||||||
"trimX": 3,
|
"trimX": 0,
|
||||||
"trimY": 5,
|
"trimY": 0,
|
||||||
"width": 601,
|
"width": 601,
|
||||||
"height": 99,
|
"height": 99,
|
||||||
"rawWidth": 605,
|
"rawWidth": 601,
|
||||||
"rawHeight": 108,
|
"rawHeight": 99,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 0,
|
"borderLeft": 0,
|
||||||
|
Before Width: | Height: | Size: 346 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 375 KiB After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 355 KiB After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 357 KiB After Width: | Height: | Size: 99 KiB |
3
assets/resources/textures/part5/AutoAtlas.pac
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"__type__": "cc.SpriteAtlas"
|
||||||
|
}
|
17
assets/resources/textures/part5/AutoAtlas.pac.meta
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.0",
|
||||||
|
"uuid": "e99524d9-6db9-426b-a6eb-8787a71f3827",
|
||||||
|
"maxWidth": 1024,
|
||||||
|
"maxHeight": 1024,
|
||||||
|
"padding": 2,
|
||||||
|
"allowRotation": true,
|
||||||
|
"forceSquared": false,
|
||||||
|
"powerOfTwo": false,
|
||||||
|
"heuristices": "BestAreaFit",
|
||||||
|
"format": "png",
|
||||||
|
"quality": 80,
|
||||||
|
"contourBleed": true,
|
||||||
|
"paddingBleed": true,
|
||||||
|
"filterUnused": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 12 KiB |
@ -33,13 +33,13 @@ cc.Class({
|
|||||||
this.leftBtn.on('click', () => {
|
this.leftBtn.on('click', () => {
|
||||||
if (!self.scrolling) {
|
if (!self.scrolling) {
|
||||||
self.scrolling = true;
|
self.scrolling = true;
|
||||||
this.moveLeft();
|
self.moveRight();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.rightBtn.on('click', () => {
|
this.rightBtn.on('click', () => {
|
||||||
if (!self.scrolling) {
|
if (!self.scrolling) {
|
||||||
self.scrolling = true;
|
self.scrolling = true;
|
||||||
self.moveRight();
|
this.moveLeft();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,10 @@ cc.Class({
|
|||||||
default: null,
|
default: null,
|
||||||
type: cc.Node
|
type: cc.Node
|
||||||
},
|
},
|
||||||
|
touchNode: {
|
||||||
|
default: null,
|
||||||
|
type: cc.Node,
|
||||||
|
},
|
||||||
currentIdx: 2,
|
currentIdx: 2,
|
||||||
scrolling: false
|
scrolling: false
|
||||||
},
|
},
|
||||||
@ -33,18 +37,20 @@ cc.Class({
|
|||||||
this.leftBtn.on('click', () => {
|
this.leftBtn.on('click', () => {
|
||||||
if (!self.scrolling) {
|
if (!self.scrolling) {
|
||||||
self.scrolling = true;
|
self.scrolling = true;
|
||||||
this.moveLeft();
|
self.moveRight();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.rightBtn.on('click', () => {
|
this.rightBtn.on('click', () => {
|
||||||
if (!self.scrolling) {
|
if (!self.scrolling) {
|
||||||
self.scrolling = true;
|
self.scrolling = true;
|
||||||
self.moveRight();
|
self.moveLeft();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
// this.touchNode.on(cc.Node.EventType.TOUCH_END, this.onTouchEnd, this);
|
||||||
|
// this.touchNode.on(cc.Node.EventType.TOUCH_START, this.onTouchBg, this);
|
||||||
},
|
},
|
||||||
|
|
||||||
// update (dt) {},
|
// update (dt) {},
|
||||||
@ -95,5 +101,19 @@ cc.Class({
|
|||||||
var seq = cc.sequence(moveCurrent, moveFinish);
|
var seq = cc.sequence(moveCurrent, moveFinish);
|
||||||
self.currentNode.runAction(seq);
|
self.currentNode.runAction(seq);
|
||||||
self.leftNode.runAction(cc.moveTo(0.5, 0, 13));
|
self.leftNode.runAction(cc.moveTo(0.5, 0, 13));
|
||||||
}
|
},
|
||||||
|
onTouchBg(e) {
|
||||||
|
cc.log(e.getLocation());
|
||||||
|
let location = e.getLocation();
|
||||||
|
this.startX = location.x;
|
||||||
|
},
|
||||||
|
onTouchEnd(e) {
|
||||||
|
cc.log('touch end');
|
||||||
|
let location = e.getLocation();
|
||||||
|
if (location.x - this.startX > 10) {
|
||||||
|
this.moveRight();
|
||||||
|
} else if (location.x - this.startX < -10) {
|
||||||
|
this.moveLeft();
|
||||||
|
}
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
@ -148,7 +148,7 @@ cc.Class({
|
|||||||
let offsetY = this.scrollView.getScrollOffset().y;
|
let offsetY = this.scrollView.getScrollOffset().y;
|
||||||
let menuNo = 0;
|
let menuNo = 0;
|
||||||
for(let i = 0; i < this.partsY.length; i++) {
|
for(let i = 0; i < this.partsY.length; i++) {
|
||||||
if (offsetY >= this.partsY[i]) {
|
if (offsetY >= this.partsY[i]-20) {
|
||||||
menuNo= i;
|
menuNo= i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -285,12 +285,26 @@ cc.Class({
|
|||||||
if (this.infoSchedule) {
|
if (this.infoSchedule) {
|
||||||
this.unschedule(this.infoSchedule);
|
this.unschedule(this.infoSchedule);
|
||||||
}
|
}
|
||||||
|
webapi.updateInviteInfo()
|
||||||
|
.then(rep => {
|
||||||
|
if (rep.errcode === 0) {
|
||||||
|
let text = `${stringUtil.parseMobile(rep.mobile)}接受了你的邀请`;
|
||||||
|
self.mainScrollContent.getComponent('scrollContent').updateTipTxt(text);
|
||||||
|
} else if (rep.errcode === 101) {
|
||||||
|
self.mainScrollContent.getComponent('scrollContent').hideTipTxt();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
|
||||||
|
})
|
||||||
this.infoSchedule = this.schedule(function () {
|
this.infoSchedule = this.schedule(function () {
|
||||||
webapi.updateInviteInfo()
|
webapi.updateInviteInfo()
|
||||||
.then(rep => {
|
.then(rep => {
|
||||||
if (rep.errcode === 0) {
|
if (rep.errcode === 0) {
|
||||||
let text = `${stringUtil.parseMobile(rep.mobile)}接受了你的邀请`;
|
let text = `${stringUtil.parseMobile(rep.mobile)}接受了你的邀请`;
|
||||||
self.mainScrollContent.getComponent('scrollContent').updateTipTxt(text);
|
self.mainScrollContent.getComponent('scrollContent').updateTipTxt(text);
|
||||||
|
} else if (rep.errcode === 101) {
|
||||||
|
self.mainScrollContent.getComponent('scrollContent').hideTipTxt();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
let onfire = require('./utils/onfire');
|
let onfire = require('./utils/onfire');
|
||||||
let webapi = require('./utils/webapi');
|
let webapi = require('./utils/webapi');
|
||||||
|
let bowser = require('./utils/bowser');
|
||||||
cc.Class({
|
cc.Class({
|
||||||
extends: cc.Component,
|
extends: cc.Component,
|
||||||
|
|
||||||
@ -92,7 +93,7 @@ cc.Class({
|
|||||||
this.part2.addChild(this.puzzle);
|
this.part2.addChild(this.puzzle);
|
||||||
this.tipLabel = cc.instantiate(this.tipPrefab);
|
this.tipLabel = cc.instantiate(this.tipPrefab);
|
||||||
this.part2.addChild(this.tipLabel);
|
this.part2.addChild(this.tipLabel);
|
||||||
|
this.tipLabel.active = false;
|
||||||
var imageSwiper = cc.instantiate(this.imageSwiperPrefab);
|
var imageSwiper = cc.instantiate(this.imageSwiperPrefab);
|
||||||
this.part4.addChild(imageSwiper, 0);
|
this.part4.addChild(imageSwiper, 0);
|
||||||
var bottomSwiper = cc.instantiate(this.bottomSwiperPrefab);
|
var bottomSwiper = cc.instantiate(this.bottomSwiperPrefab);
|
||||||
@ -109,6 +110,23 @@ cc.Class({
|
|||||||
.catch(err => {
|
.catch(err => {
|
||||||
cc.log('error get activity info');
|
cc.log('error get activity info');
|
||||||
});
|
});
|
||||||
|
this.schedule(function () {
|
||||||
|
webapi.getActivityInfo()
|
||||||
|
.then(rep => {
|
||||||
|
if (rep.errcode === 0) {
|
||||||
|
processBar.getComponent('progressBar').updateShow(rep.count);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
cc.log('error get activity info');
|
||||||
|
});
|
||||||
|
}, 60); //每1分钟更新一次
|
||||||
|
if (bowser.version.weiXin || !bowser.version.mobile) {
|
||||||
|
this.qrCodeWechat.active = true;
|
||||||
|
} else {
|
||||||
|
this.qrCodeWechat.active = false;
|
||||||
|
this.qrCodeQQ.position = cc.v2(0, -100);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
@ -148,6 +166,10 @@ cc.Class({
|
|||||||
this.joinBtn.active = !status;
|
this.joinBtn.active = !status;
|
||||||
},
|
},
|
||||||
updateTipTxt(str) {
|
updateTipTxt(str) {
|
||||||
|
this.tipLabel.active = true;
|
||||||
this.tipLabel.getComponent('inviteTip').setLabelTxt(str);
|
this.tipLabel.getComponent('inviteTip').setLabelTxt(str);
|
||||||
|
},
|
||||||
|
hideTipTxt() {
|
||||||
|
this.tipLabel.active = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -19,7 +19,7 @@ cc.Class({
|
|||||||
btn.getComponent('topMenuBtn').selected = i === 0;
|
btn.getComponent('topMenuBtn').selected = i === 0;
|
||||||
this.btns.push(btn);
|
this.btns.push(btn);
|
||||||
this.node.addChild(btn);
|
this.node.addChild(btn);
|
||||||
let y = 350 - 120 * i;
|
let y = -250 - 100 * i;
|
||||||
btn.setPosition(cc.v2(0, y));
|
btn.setPosition(cc.v2(0, y));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
38
assets/scripts/utils/bowser.js
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
export default {
|
||||||
|
version: function () {
|
||||||
|
var u = navigator.userAgent;
|
||||||
|
var ua = navigator.userAgent.toLocaleLowerCase();
|
||||||
|
var app = navigator.appVersion;
|
||||||
|
return {
|
||||||
|
trident: u.indexOf('Trident') > -1, // IE内核
|
||||||
|
presto: u.indexOf('Presto') > -1, // opera内核
|
||||||
|
webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
|
||||||
|
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, // 火狐内核
|
||||||
|
mobile: !!u.match(/AppleWebKit.*Mobile.*/) || !!u.match(/AppleWebKit/), // 是否为移动终端
|
||||||
|
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), // IOS终端
|
||||||
|
android: u.indexOf('Android') > -1 || u.indexOf('Mac') > -1, // 安卓终端
|
||||||
|
iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1, // 是否为iphone或QQHD浏览器
|
||||||
|
iPad: u.indexOf('iPad') > -1, // 是否为iPad
|
||||||
|
webApp: u.indexOf('Safari') == -1, // 是否web应用程序,没有头部与底部
|
||||||
|
QQbrw: u.indexOf('MQQBrowser') > -1, // QQ浏览器
|
||||||
|
weiXin: u.indexOf('MicroMessenger') > -1, // 微信
|
||||||
|
QQ: ua.match(/QQ/i) == "qq", // QQ
|
||||||
|
weiBo: ua.match(/WeiBo/i) == "weibo", // 微博
|
||||||
|
ucLowEnd: u.indexOf('UCWEB7.') > -1, //
|
||||||
|
ucSpecial: u.indexOf('rv:1.2.3.4') > -1,
|
||||||
|
webview: !(u.match(/Chrome\/([\d.]+)/) || u.match(/CriOS\/([\d.]+)/)) && u.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),
|
||||||
|
ucweb: function () {
|
||||||
|
try {
|
||||||
|
return parseFloat(u.match(/ucweb\d+\.\d+/gi).toString().match(/\d+\.\d+/).toString()) >= 8.2
|
||||||
|
} catch (e) {
|
||||||
|
if (u.indexOf('UC') > -1) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}(),
|
||||||
|
Symbian: u.indexOf('Symbian') > -1,
|
||||||
|
ucSB: u.indexOf('Firofox/1.') > -1
|
||||||
|
};
|
||||||
|
}()
|
||||||
|
}
|
9
assets/scripts/utils/bowser.js.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.5",
|
||||||
|
"uuid": "3e60567e-922d-44bc-9de7-25d2e6524d05",
|
||||||
|
"isPlugin": false,
|
||||||
|
"loadPluginInWeb": true,
|
||||||
|
"loadPluginInNative": true,
|
||||||
|
"loadPluginInEditor": false,
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
var http = require('./http');
|
var http = require('./http');
|
||||||
|
|
||||||
const baseUrl = 'http://192.168.100.229:3000';
|
const baseUrl = 'https://wechat-test.kingsome.cn';
|
||||||
export default {
|
export default {
|
||||||
sendSms: (mobile, captcha) => {
|
sendSms: (mobile, captcha) => {
|
||||||
let data = {mobile: mobile};
|
let data = {mobile: mobile};
|
||||||
|
47
settings/builder.json
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"android-instant": {
|
||||||
|
"REMOTE_SERVER_ROOT": "",
|
||||||
|
"host": "",
|
||||||
|
"pathPattern": "",
|
||||||
|
"recordPath": "",
|
||||||
|
"scheme": "https",
|
||||||
|
"skipRecord": false
|
||||||
|
},
|
||||||
|
"appKey": "",
|
||||||
|
"appSecret": "",
|
||||||
|
"encryptJs": true,
|
||||||
|
"excludeScenes": [],
|
||||||
|
"fb-instant-games": {},
|
||||||
|
"includeAnySDK": false,
|
||||||
|
"includeSDKBox": false,
|
||||||
|
"inlineSpriteFrames": true,
|
||||||
|
"inlineSpriteFrames_native": true,
|
||||||
|
"jailbreakPlatform": false,
|
||||||
|
"md5Cache": false,
|
||||||
|
"mergeStartScene": false,
|
||||||
|
"oauthLoginServer": "",
|
||||||
|
"optimizeHotUpdate": false,
|
||||||
|
"orientation": {
|
||||||
|
"landscapeLeft": true,
|
||||||
|
"landscapeRight": true,
|
||||||
|
"portrait": false,
|
||||||
|
"upsideDown": false
|
||||||
|
},
|
||||||
|
"packageName": "org.cocos2d.invite_page",
|
||||||
|
"privateKey": "",
|
||||||
|
"qqplay": {
|
||||||
|
"REMOTE_SERVER_ROOT": "",
|
||||||
|
"orientation": "portrait"
|
||||||
|
},
|
||||||
|
"startScene": "5fc8d527-4f27-4e49-8845-be6e502f97f3",
|
||||||
|
"title": "invite_page",
|
||||||
|
"webOrientation": "auto",
|
||||||
|
"wechatgame": {
|
||||||
|
"REMOTE_SERVER_ROOT": "",
|
||||||
|
"appid": "wx6ac3f5090a6b99c5",
|
||||||
|
"orientation": "portrait",
|
||||||
|
"subContext": ""
|
||||||
|
},
|
||||||
|
"xxteaKey": "d9dd9281-06c6-40",
|
||||||
|
"zipCompressJs": true
|
||||||
|
}
|