Compare commits

..

No commits in common. "7ad6d986f702f9e83fbc719381f4e714b93255ca" and "deac0cb2365169f238d7121c56a418e5be60f5f0" have entirely different histories.

646 changed files with 11802 additions and 2895 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 5 "__id__": 6
} }
], ],
"_active": false, "_active": false,
@ -77,10 +77,13 @@
"__id__": 3 "__id__": 3
}, },
{ {
"__id__": 21 "__id__": 4
}, },
{ {
"__id__": 22 "__id__": 22
},
{
"__id__": 23
} }
], ],
"_prefab": null, "_prefab": null,
@ -131,6 +134,44 @@
"groupIndex": 0, "groupIndex": 0,
"_id": "2dMM3dYbVDG6vnNZZa8IqA" "_id": "2dMM3dYbVDG6vnNZZa8IqA"
}, },
{
"__type__": "58403/n16JCa5sZhNMjZzGo",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"audioGameBgm0": {
"__uuid__": "75b4f368-70b5-452d-9afd-ca7a6f1e2e60"
},
"xiaochu": {
"__uuid__": "8d67c864-c7f4-4305-8b3b-2d66eb69e349"
},
"hit": {
"__uuid__": "7575a6bd-a21d-491e-aad2-e40a189683e9"
},
"down": {
"__uuid__": "ec293610-1767-46e8-b6b6-4a9a79ef2233"
},
"fangxiang": null,
"build": null,
"win": null,
"lose": null,
"anniu_Big": {
"__uuid__": "7362cac7-12b5-4704-af6d-5b110c5e9fcf"
},
"anniu_little": {
"__uuid__": "a5518b0f-7ed3-46f0-aa78-93f02f4579cc"
},
"zhuan1": {
"__uuid__": "e4d2f16e-7663-4ee5-a479-06ae0eae91d5"
},
"zhuan2": {
"__uuid__": "998a24bd-ffa0-4f96-bc39-a9789f42bd9b"
},
"_id": "f9HvPHc8ZDoJYWFfPoEmf1"
},
{ {
"__type__": "454adgphRpA6oq5lB6Cg1fK", "__type__": "454adgphRpA6oq5lB6Cg1fK",
"_name": "", "_name": "",
@ -140,13 +181,13 @@
}, },
"_enabled": true, "_enabled": true,
"node1": { "node1": {
"__id__": 4 "__id__": 5
}, },
"node2": { "node2": {
"__id__": 16 "__id__": 17
}, },
"node3": { "node3": {
"__id__": 14 "__id__": 15
}, },
"localTest": false, "localTest": false,
"clientTestVersion": "1.0.0", "clientTestVersion": "1.0.0",
@ -158,13 +199,13 @@
"_name": "jiazai1", "_name": "jiazai1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 20 "__id__": 21
} }
], ],
"_prefab": null, "_prefab": null,
@ -224,31 +265,31 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 6 "__id__": 7
}, },
{ {
"__id__": 9 "__id__": 10
}, },
{ {
"__id__": 12 "__id__": 13
}, },
{ {
"__id__": 4 "__id__": 5
}, },
{ {
"__id__": 14 "__id__": 15
}, },
{ {
"__id__": 16 "__id__": 17
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 19
}, },
{ {
"__id__": 19 "__id__": 20
} }
], ],
"_prefab": null, "_prefab": null,
@ -304,16 +345,16 @@
"_name": "Main Camera", "_name": "Main Camera",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 7 "__id__": 8
}, },
{ {
"__id__": 8 "__id__": 9
} }
], ],
"_prefab": null, "_prefab": null,
@ -369,7 +410,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 6 "__id__": 7
}, },
"_enabled": true, "_enabled": true,
"_cullingMask": 4294967295, "_cullingMask": 4294967295,
@ -405,7 +446,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 6 "__id__": 7
}, },
"_enabled": true, "_enabled": true,
"_id": "82rBHh8bJIGKuGw03a3Yrd" "_id": "82rBHh8bJIGKuGw03a3Yrd"
@ -415,16 +456,16 @@
"_name": "bg", "_name": "bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 10 "__id__": 11
}, },
{ {
"__id__": 11 "__id__": 12
} }
], ],
"_prefab": null, "_prefab": null,
@ -480,7 +521,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 9 "__id__": 10
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -512,7 +553,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 9 "__id__": 10
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
@ -539,13 +580,13 @@
"_name": "logo", "_name": "logo",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 13 "__id__": 14
} }
], ],
"_prefab": null, "_prefab": null,
@ -601,7 +642,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 12 "__id__": 13
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -631,13 +672,13 @@
"_name": "jiazai3", "_name": "jiazai3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 15 "__id__": 16
} }
], ],
"_prefab": null, "_prefab": null,
@ -693,7 +734,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 15
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -725,13 +766,13 @@
"_name": "jiazai2", "_name": "jiazai2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 17 "__id__": 18
} }
], ],
"_prefab": null, "_prefab": null,
@ -787,7 +828,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 16 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -819,7 +860,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 6
}, },
"_enabled": true, "_enabled": true,
"_designResolution": { "_designResolution": {
@ -836,7 +877,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 6
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
@ -863,7 +904,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 4 "__id__": 5
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [

View File

@ -15,12 +15,9 @@
"_children": [ "_children": [
{ {
"__id__": 2 "__id__": 2
},
{
"__id__": 5
} }
], ],
"_active": false, "_active": true,
"_components": [], "_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
@ -61,159 +58,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_id": "9c08062d-4cf1-4b6e-a8ba-4a3881cc7e7d" "_id": "19659ed7-1823-42a9-b8e8-1884c19df817"
},
{
"__type__": "cc.Node",
"_name": "GameData",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 21
},
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "2dMM3dYbVDG6vnNZZa8IqA"
},
{
"__type__": "454adgphRpA6oq5lB6Cg1fK",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"node1": {
"__id__": 4
},
"node2": {
"__id__": 16
},
"node3": {
"__id__": 14
},
"localTest": false,
"clientTestVersion": "1.0.0",
"testVersion": null,
"_id": "ac/PqMKZlO95wACtRGBFbA"
},
{
"__type__": "cc.Node",
"_name": "jiazai1",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 52,
"height": 49
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-97.164,
-284.062,
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": "65yrYdwqdG+ojlKn3md91o"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -224,31 +69,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 6 "__id__": 3
}, },
{ {
"__id__": 9 "__id__": 5
},
{
"__id__": 12
},
{
"__id__": 4
},
{
"__id__": 14
},
{
"__id__": 16
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 14
}, },
{ {
"__id__": 19 "__id__": 15
} }
], ],
"_prefab": null, "_prefab": null,
@ -262,8 +95,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1080, "width": 960,
"height": 1920 "height": 640
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -274,8 +107,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
540, 480,
960, 320,
0, 0,
0, 0,
0, 0,
@ -304,16 +137,13 @@
"_name": "Main Camera", "_name": "Main Camera",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 2
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 7 "__id__": 4
},
{
"__id__": 8
} }
], ],
"_prefab": null, "_prefab": null,
@ -369,7 +199,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 6 "__id__": 3
}, },
"_enabled": true, "_enabled": true,
"_cullingMask": 4294967295, "_cullingMask": 4294967295,
@ -401,18 +231,82 @@
"_id": "81GN3uXINKVLeW4+iKSlim" "_id": "81GN3uXINKVLeW4+iKSlim"
}, },
{ {
"__type__": "5c9b8FZiaNLMrMDs9T3rByf", "__type__": "cc.Node",
"_name": "", "_name": "freeze",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 6 "__id__": 6
}, },
"_enabled": true, {
"_id": "82rBHh8bJIGKuGw03a3Yrd" "__id__": 9
}
],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 362,
"height": 372
},
"_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": "49jqxRUXRAxLDFbbRcou72"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 5
@ -421,13 +315,12 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 10 "__id__": 7
},
{
"__id__": 11
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 8
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
@ -438,8 +331,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1080, "width": 40,
"height": 1920 "height": 36
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -473,135 +366,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "b7i0z42uZCe6L6/4fdasjO" "_id": "eeUUfaX31G+q5appAMitqJ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 9 "__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c09e129e-5195-4054-b8a5-65e1bd675c3f"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9cjtfCxPNC9qtsarnIvaIV"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_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": 1080,
"_originalHeight": 2340,
"_id": "c0sWn10ZdBD6+shoZmPwoN"
},
{
"__type__": "cc.Node",
"_name": "logo",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 13
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 929,
"height": 216
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-6.686,
369.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": "9cDML2xA5FBo1N9jdY+vbR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -624,23 +396,32 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "b6c3wasj1AtodoC2eFiGL/" "_id": "40mhRhU0tLcoWPMyDYKqzK"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 5
},
"asset": {
"__uuid__": "5ed13d95-5b93-4407-b770-0dedeb674b0f"
},
"fileId": "48vFumJApBjb/xUEZIhVH6",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "jiazai3", "_name": "time",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 5 "__id__": 5
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [],
{ "_prefab": {
"__id__": 15 "__id__": 10
} },
],
"_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
@ -651,8 +432,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 50, "width": 0,
"height": 53 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -663,8 +444,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
83.039, -25,
-284.062, 8,
0, 0,
0, 0,
0, 0,
@ -686,108 +467,25 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "7dezOD8dVAhqWjyJdZ9zJ7" "_id": "d2GpI/cSZNx5Pr2/sDPzho"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.PrefabInfo",
"_name": "", "root": {
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9a639b00-f202-4b8e-98f0-6be5cece1cc6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "50bbTw60NKz6wVtFH5z2K9"
},
{
"__type__": "cc.Node",
"_name": "jiazai2",
"_objFlags": 0,
"_parent": {
"__id__": 5 "__id__": 5
}, },
"_children": [], "asset": {
"_active": true, "__uuid__": "5ed13d95-5b93-4407-b770-0dedeb674b0f"
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_contentSize": { "fileId": "afr7mnXGdMXZMpTDxTmfms",
"__type__": "cc.Size", "sync": false
"width": 69,
"height": 64
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-6.077,
-284.062,
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": "9dmdxyFsVEN6G83f8DvJ0l"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 16 "__id__": 5
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
@ -798,7 +496,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "24e560c5-22d5-44e4-8b55-85431fd8a61b" "__uuid__": "2661e9df-d4da-4dcc-ac8d-cb16fcad7ea8"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
@ -811,24 +509,50 @@
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": {
"_id": "d6csD0iDBH4LhhASlK5PWc" "__uuid__": "8b6fd107-6aa0-4523-8fd3-c0f064524b0c"
},
"_id": "5dcrLbiJhPCJwgmPSI4pkE"
},
{
"__type__": "ad8cbbzCohCR5uifssdRTf+",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"freeze": {
"__uuid__": "fff54feb-03db-4d8a-b079-57eedca8a644"
},
"_id": "a1NSNhhglGsI9I3Fvp6Hmx"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 5
},
"asset": {
"__uuid__": "5ed13d95-5b93-4407-b770-0dedeb674b0f"
},
"fileId": "",
"sync": false
}, },
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"_designResolution": { "_designResolution": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1080, "width": 960,
"height": 1920 "height": 640
}, },
"_fitWidth": true, "_fitWidth": false,
"_fitHeight": false, "_fitHeight": true,
"_id": "59Cd0ovbdF4byw5sbjJDx7" "_id": "59Cd0ovbdF4byw5sbjJDx7"
}, },
{ {
@ -836,7 +560,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
@ -857,65 +581,5 @@
"_originalWidth": 0, "_originalWidth": 0,
"_originalHeight": 0, "_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe" "_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "081a89e4-cd4d-49b7-81a3-bd2b3321ca26"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1cgewKbYRMtIgKEetpfwI+"
},
{
"__type__": "df248lSLllOZpCHwGqQ5Ye3",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"label": null,
"text": "hello",
"Block_Array": [],
"Wall_Prefab": [],
"Block_Color": [],
"_id": "89AARqGyBAkoEhGSfCdkpY"
},
{
"__type__": "669f4SuSl9ORqawBcbwCNpG",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"fontUI": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_id": "e4QjzhztFAl4p0+5kRotxl"
} }
] ]

View File

@ -0,0 +1,8 @@
{
"ver": "1.3.2",
"uuid": "19659ed7-1823-42a9-b8e8-1884c19df817",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}

View File

@ -47,12 +47,13 @@ export default class GameManager extends cc.Component {
onLoad() { onLoad() {
window.initMgr(); window.initMgr();
this.timeNumber = 1; this.timeNumber = 3;
this.startTimeCutDown(); this.startTimeCutDown();
cc.fx.GameConfig.init(true); cc.fx.GameConfig.init(true);
cc.fx.GameConfig.GM_INFO.gameState = false; cc.fx.GameConfig.GM_INFO.gameState = false;
this.readMusicConfig(); this.readMusicConfig();
console.log("音乐开关", cc.fx.GameConfig.GM_INFO.musicOpen);
cc.fx.AudioManager._instance.playMusicGame();
this.load1 = this.load2 = this.load3 = this.load4 = this.load5 = false; this.load1 = this.load2 = this.load3 = this.load4 = this.load5 = false;
setTimeout(() => { setTimeout(() => {
@ -166,18 +167,7 @@ export default class GameManager extends cc.Component {
startGame() { startGame() {
console.log("进入场景之前_____________", cc.fx.GameConfig.GM_INFO.first); console.log("进入场景之前_____________", cc.fx.GameConfig.GM_INFO.first);
// 加载 music bundle
cc.assetManager.loadBundle('music', (err, bundle) => {
if (err) {
console.error('加载 music bundle 失败:', err);
// 加载失败时仍尝试进入 HomeScene
cc.director.loadScene("HomeScene"); cc.director.loadScene("HomeScene");
} else {
console.log('music bundle 加载成功');
// 加载成功后进入 HomeScene
cc.director.loadScene("HomeScene");
}
});
} }
returnHome() { returnHome() {
@ -210,7 +200,6 @@ export default class GameManager extends cc.Component {
readUserData(retryCount = 0) { readUserData(retryCount = 0) {
//@ts-ignore //@ts-ignore
if (typeof wx !== 'undefined' && wx !== null) { if (typeof wx !== 'undefined' && wx !== null) {
MiniGameSdk.API.shushu_Init();
let levelInfo = cc.fx.StorageMessage.getStorage("level"); let levelInfo = cc.fx.StorageMessage.getStorage("level");
//旧的读取数据设置数据方法,以强联网为主 //旧的读取数据设置数据方法,以强联网为主
if (levelInfo == undefined || levelInfo == "" || levelInfo == null) { if (levelInfo == undefined || levelInfo == "" || levelInfo == null) {
@ -675,7 +664,7 @@ export default class GameManager extends cc.Component {
update(dt) { update(dt) {
if (this.load1 && this.load2 && this.load3 && this.load4 && this.load5 && this.timeNumber <= 0) { if (this.load1 && this.load2 && this.load3 && this.load4 && this.load5 && this.timeNumber <= 0) {
this.load1 = this.load2 = false; this.load1 = this.load2 = false;
MiniGameSdk.API.shushu_Login(); MiniGameSdk.API.shushu_Init();
this.startGame(); this.startGame();
} }
} }

View File

@ -149,6 +149,7 @@ export default class SceneManager extends cc.Component {
MiniGameSdk.API.showToast("体力值减少"); MiniGameSdk.API.showToast("体力值减少");
cc.fx.GameTool.setUserHealth(-1, (data) => { cc.fx.GameTool.setUserHealth(-1, (data) => {
}) })
<<<<<<< HEAD
if(MapConroler._instance.count_Time){ if(MapConroler._instance.count_Time){
let count_Time = MapConroler._instance.count_Time; let count_Time = MapConroler._instance.count_Time;
let add_Time = MapConroler._instance.add_Time; let add_Time = MapConroler._instance.add_Time;
@ -159,6 +160,14 @@ export default class SceneManager extends cc.Component {
} }
cc.fx.GameTool.shushu_Track("finish_stage",data); cc.fx.GameTool.shushu_Track("finish_stage",data);
} }
=======
let data = {
time: MapConroler._instance.count_Time,
add_Time: MapConroler._instance.add_Time,
result: "give_up"
}
cc.fx.GameTool.shushu_Track("finish_stage", data);
>>>>>>> 0a31a7a5abc2c505bf743aa596e1c765a0405152
} }
this.node.getChildByName("Pause").getChildByName("btn").getComponent("btnControl").setTouch(false); this.node.getChildByName("Pause").getChildByName("btn").getComponent("btnControl").setTouch(false);
cc.fx.AudioManager._instance.playEffect("zhuan1", null); cc.fx.AudioManager._instance.playEffect("zhuan1", null);

View File

@ -1127,16 +1127,21 @@ export namespace MiniGameSdk {
}; };
// 创建 TA 实例 // 创建 TA 实例
API._ta = new ThinkingAnalyticsAPI(config); API._ta = new ThinkingAnalyticsAPI(config);
// 初始化 //var deviceId = API._ta.getDeviceId();
API._ta.init();
}
}
static shushu_Login() {
API._ta.login(cc.fx.GameConfig.GM_INFO.openid); API._ta.login(cc.fx.GameConfig.GM_INFO.openid);
const result = "success"; const result = "success";
API.shushu_Track("login",result); API.shushu_Track("login",result);
// 初始化
API._ta .init();
API.shushu_SetSuperProperties(); API.shushu_SetSuperProperties();
//console.log("数数平台初始化成功!");
// this.TA.clearSuperProperties();
//设置用户属性
// this.TA.userSet({ username: "大核桃" });
}
} }
static shushu_userSet(time){ static shushu_userSet(time){

View File

@ -1,12 +1,14 @@
import { StorageMessage } from "../Storage/Storage"; import { StorageMessage } from "../Storage/Storage";
import { GameConfig } from "../Config/GameConfig"; import { GameConfig } from "../Config/GameConfig";
import HttpUtil from "../Crypto/HttpUtil"; import HttpUtil from "../Crypto/HttpUtil";
import AudioManager from "../Music/AudioManager";
import { Notifications } from "../Notification/Notification"; import { Notifications } from "../Notification/Notification";
import { GameTool } from "../Tool/GameTool"; import { GameTool } from "../Tool/GameTool";
import AudioManager from "../Music/AudioManager";
window.initMgr = function() { window.initMgr = function() {
if (cc.fx) { if(cc.fx)
{
return; return;
} }
cc.fx = {}; cc.fx = {};
@ -23,7 +25,7 @@ window.initMgr = function () {
//应用系统信息 //应用系统信息
//配置文件 //配置文件
cc.fx.StorageMessage = StorageMessage; cc.fx.StorageMessage = StorageMessage;
cc.fx.AudioManager = AudioManager;
cc.fx.GameConfig = GameConfig; cc.fx.GameConfig = GameConfig;
cc.fx.HttpUtil = HttpUtil; cc.fx.HttpUtil = HttpUtil;
cc.fx.GameTool = GameTool; cc.fx.GameTool = GameTool;

View File

@ -45,7 +45,6 @@ export default class AudioManager extends cc.Component {
onLoad() { onLoad() {
if (AudioManager._instance == null) { if (AudioManager._instance == null) {
AudioManager._instance = this; AudioManager._instance = this;
cc.fx.AudioManager = AudioManager;
cc.game.addPersistRootNode(this.node); cc.game.addPersistRootNode(this.node);
} }
else { else {
@ -126,30 +125,34 @@ export default class AudioManager extends cc.Component {
]; ];
musics.forEach(function(path) { musics.forEach(function(path) {
}) })
console.log("音乐开关", cc.fx.GameConfig.GM_INFO.musicOpen);
this.playMusicGame();
} }
getAudioMusicSwitch() { getAudioMusicSwitch()
{
return this.mMusicSwitch; return this.mMusicSwitch;
} }
getAudioEffectSwitch() { getAudioEffectSwitch()
{
return this.mEffectSwitch; return this.mEffectSwitch;
} }
trunAudioSound(on) { trunAudioSound(on)
{
this.switchMusic(on); this.switchMusic(on);
this.switchEffect(on) this.switchEffect(on)
} }
switchMusic (on) { switchMusic (on) {
if (this.mMusicSwitch != (on ? 1 : 0)) { if (this.mMusicSwitch != (on?1:0))
{
this.mMusicSwitch = 1-this.mMusicSwitch; this.mMusicSwitch = 1-this.mMusicSwitch;
// this.save(); // this.save();
} }
if (on) { if(on)
{
this.playMusicGame(); this.playMusicGame();
} }
else { else
{
this.stopMusic(); this.stopMusic();
} }
} }
@ -212,25 +215,29 @@ export default class AudioManager extends cc.Component {
* *
* *
*/ */
playGameStart() { playGameStart()
{
} }
/* /*
* *
*/ */
playGameOver() { playGameOver()
{
} }
/* /*
* *
*/ */
playGameResultFailed() { playGameResultFailed()
{
} }
/* /*
* *
*/ */
playGameResultSuccess() { playGameResultSuccess()
{
} }
/** /**

View File

@ -1,21 +0,0 @@
{
"ver": "1.1.3",
"uuid": "31150528-f369-46ce-a3aa-51b431eeaa39",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 10,
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

After

Width:  |  Height:  |  Size: 396 KiB

View File

@ -2,20 +2,12 @@
"ver": "1.1.3", "ver": "1.1.3",
"uuid": "41916418-405c-4025-8e60-c3fdb4a83154", "uuid": "41916418-405c-4025-8e60-c3fdb4a83154",
"importer": "folder", "importer": "folder",
"isBundle": true, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
"compressionType": { "compressionType": {},
"wechatgame": "subpackage" "optimizeHotUpdate": {},
}, "inlineSpriteFrames": {},
"optimizeHotUpdate": { "isRemoteBundle": {},
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {} "subMetas": {}
} }

View File

@ -0,0 +1,3 @@
{
"__type__": "cc.SpriteAtlas"
}

View File

@ -0,0 +1,23 @@
{
"ver": "1.2.5",
"uuid": "9df3aaf8-59bc-4eff-aa56-554ab3d4d2cb",
"importer": "auto-atlas",
"maxWidth": 1024,
"maxHeight": 1024,
"padding": 2,
"compressionLevel": 6,
"allowRotation": true,
"forceSquared": false,
"powerOfTwo": false,
"algorithm": "MaxRects",
"format": "png",
"quality": 80,
"contourBleed": true,
"paddingBleed": true,
"filterUnused": true,
"packable": false,
"premultiplyAlpha": false,
"filterMode": "bilinear",
"platformSettings": {},
"subMetas": {}
}

View File

@ -4,7 +4,7 @@
"importer": "folder", "importer": "folder",
"isBundle": true, "isBundle": true,
"bundleName": "UI", "bundleName": "UI",
"priority": 2, "priority": "2",
"compressionType": { "compressionType": {
"wechatgame": "subpackage" "wechatgame": "subpackage"
}, },

View File

@ -2,20 +2,12 @@
"ver": "1.1.3", "ver": "1.1.3",
"uuid": "6ebfe2d9-539a-4853-8b16-fca5c89cf2ce", "uuid": "6ebfe2d9-539a-4853-8b16-fca5c89cf2ce",
"importer": "folder", "importer": "folder",
"isBundle": true, "isBundle": false,
"bundleName": "music", "bundleName": "",
"priority": 9, "priority": 1,
"compressionType": { "compressionType": {},
"wechatgame": "subpackage" "optimizeHotUpdate": {},
}, "inlineSpriteFrames": {},
"optimizeHotUpdate": { "isRemoteBundle": {},
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {} "subMetas": {}
} }

View File

@ -5,17 +5,9 @@
"isBundle": true, "isBundle": true,
"bundleName": "shop", "bundleName": "shop",
"priority": 6, "priority": 6,
"compressionType": { "compressionType": {},
"wechatgame": "subpackage" "optimizeHotUpdate": {},
}, "inlineSpriteFrames": {},
"optimizeHotUpdate": { "isRemoteBundle": {},
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {} "subMetas": {}
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 855 B

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 B

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 748 B

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 618 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 694 B

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 883 B

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

After

Width:  |  Height:  |  Size: 448 KiB

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>shop_1.png</key>
<dict>
<key>frame</key>
<string>{{0,0},{1080,436}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{1080,436}}</string>
<key>sourceSize</key>
<string>{1080,436}</string>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>2</integer>
<key>pixelFormat</key>
<string>RGBA8888</string>
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>texture_atlas-0.png</string>
<key>textureFileName</key>
<string>texture_atlas-0.png</string>
<key>size</key>
<string>{1080,436}</string>
</dict>
</dict>
</plist>

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 648 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 KiB

View File

@ -15,8 +15,8 @@
}, },
"subpackages": [ "subpackages": [
{ {
"name": "music", "name": "LoadScene",
"root": "subpackages/music" "root": "subpackages/LoadScene"
}, },
{ {
"name": "res", "name": "res",
@ -30,10 +30,6 @@
"name": "TextureBg", "name": "TextureBg",
"root": "subpackages/TextureBg" "root": "subpackages/TextureBg"
}, },
{
"name": "TextureBlock",
"root": "subpackages/TextureBlock"
},
{ {
"name": "UI", "name": "UI",
"root": "subpackages/UI" "root": "subpackages/UI"
@ -46,4 +42,5 @@
"iOSHighPerformance": true, "iOSHighPerformance": true,
"iOSHighPerformance+": true, "iOSHighPerformance+": true,
"useNativePerformance": true "useNativePerformance": true
} }

1
build/wechatgame/adapter-min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"paths":{"1":["effects/builtin-2d-spine",0],"2":["effects/builtin-2d-gray-sprite",0],"3":["effects/builtin-2d-sprite",0],"4":["materials/builtin-unlit",1],"5":["effects/builtin-3d-trail",0],"6":["effects/builtin-2d-graphics",0],"7":["materials/builtin-2d-gray-sprite",1],"8":["materials/builtin-3d-trail",1],"9":["effects/builtin-unlit",0],"10":["materials/builtin-2d-base",1],"11":["materials/builtin-2d-spine",1],"12":["materials/builtin-2d-graphics",1],"13":["effects/builtin-clear-stencil",0],"14":["materials/builtin-clear-stencil",1],"15":["materials/builtin-2d-label",1],"16":["materials/builtin-2d-sprite",1],"17":["effects/builtin-2d-label",0]},"types":["cc.EffectAsset","cc.Material"],"uuids":["02delMVqdBD70a/HSD99FK","0ek66qC1NOQLjgYmi04HvX","14TDKXr2NJ6LjvHPops74o","28dPjdQWxEQIG3VVl1Qm6T","2aKWBXJHxKHLvrBUi2yYZQ","2afAA24LNP4YmYiaVLiivs","30aC+Hnw1PF4pEcoY3kUYb","3ae7efMv1CLq2ilvUY/tQi","46bU+b5fROqIXVPG6aZWWK","6dkeWRTOBGXICfYQ7JUBnG","6fgBCSDDdPMInvyNlggls2","7a/QZLET9IDreTiBfRn2PD","a1U5RdJRFMFL57BdJC9H1X","c0BAyVxX9JzZy8EjFrc9DU","cffgu4qBxEqa150o1DmRAy","e0LYfU5ZlNFoAB4UiRrGUG","ecpdLyjvZBwrvm+cedCcQy","f1h0LXVtJOta5JLZ1xCzfI"],"scenes":{},"redirect":[],"deps":[],"packs":{"0967b326a":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},"name":"internal","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0967b326a","1f618"],"native":[0,"cea68"]}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

View File

@ -0,0 +1 @@
{"paths":{},"types":[],"uuids":["0fmquJXghCPYAwJZ/lTE10","6dYYyc3G1I0KIDMwRyX4hb","73YsrHErVHBK9tWxEMXp/P","75daa9oh1JHqrS5AoYloPp","75tPNocLVFLZr9ynpvHi5g","8dZ8hkx/RDBYs7LWbraeNJ","99iiS9/6BPlrw5qXifQr2b","9cCAYtTPFLbqi6SjiBzH59","a5UYsPftNG8Kp4k/AvRXnM","a5mdzM1aJP/4bq86A86be4","e1ucz1XOBPOpizvgPaiqCx","e40vFudmNO5aR5Bq4OrpHV","ecKTYQF2dG6La2Spp57yIz","f80GegmNBKl4FZUGlGJi1L","01sz8XpChLRb2daHnz6A1N","02BVTesOxNL7wdOo/yIUcD","02BW2ADNtF6rOO4TlfbvAf","02jJ3Sf29LfbLw3TC0uC4d","021VPfGuNDu7xpgzGDAP+5","03T4dSlq9Bhp0KpJ7tuVu5","08GonkzU1Jt4GjvSszIcom","0f3+nwwRZJ0r1u6retM/pI","10WQlOayRDfr4SBJExnWFx","133dVklqRPQayTF2plqvqm","15CNN2mSVCxIrlepze0+QL","157MkuqhhBK6s4jlN8iY1J","1aEtch3zVD1JmpxDuK/K1A","1dCf7LUC9AmJ/MmP/y0GVB","1epotH4L9DsIM0RhHiG+N0","1eutJjmhVBsoA2roXdaCm2","21bxw0mrFL95E2HXv8c2AQ","21cpY+YFJHNYjMVjaIx74S","23dQw8xR1AvJ70Mq+CkkaR","245WDFItVE5ItVhUMf2KYb","25jg6piOZGgrIkX/AmxQ+8","27IYqNb7lLzra8xcUODBC7","27T+dSYa5BeoSehSa/iqMs","2bHhAY+e5A7rJsK1dL8Alh","2cH3qe4QNCYJln48BhDDdi","2eFGhqXSlIiZJ8wEnZbcNd","32ckrQaBdF0o0oSeMjCe5Y","34MUF4f3pKvYhcGGC0eNpW","35FDhfXIxNaqBJFivXX5f4","3775PuYwFMGq2aDSLxHpEE","38QXGSy4FFh4cJfnyFFVdG","3dwS3vhBND34bU73qDrjHq","40IRtpBu9Ct6qoJeSRsJ2l","44HmleQ6JD6Kg5RG81R/uC","44y8G+/kxA345SPC92jWHu","45/H5ae4BKEqO7CWQxxw8D","467kxsKDJD6araE59/bBwZ","47IxP9xulH26mTZqCy1b5K","4anh92rPFIt6V0wOeek158","4bXW7rcKhNoYs3u07E0L9w","4bn/oXuklFwZTmYPZIi5in","4cnPnzV19MfZEcQBqYXbht","4eAfd+ge1Nw6erJZxES65N","50B3TEoUNLEbxYxDSKNIjl","51+LYHI3xBH68Uxvhm5+OM","52tZNB6zRC24h4bSR344dE","53PCrL0T5KJbxmnbvCgkgV","56PJCBWvpIPJfwrOT80ejs","57vX3srAdNfrf3h0YK7oXM","58X6G1j8BJl67iXm+lG5NO","58lvbQkw1AILNqoWrbGniC","59y0M8jLNJNaI25FOrP3Et","5futyoYH1DHo3PwDlo1P8V","65ehMaU/JCsbw4TXJzYyVT","65/BU6QBlPuoT8p1qekMR5","67KXxL8BtAe6XUZLVR72Hp","69Xogd8bpNLIspK7d+bA9g","6cUOOZkRJDPJ2eVQqrsZjh","6fn60ifdhFXosDzBUP4S19","70792O8C9HUbx/5RAcqUyK","7086x23GtB+p72vhEIQRVq","71bMA59jNEF7T5Z9oNb1/s","72burDGahJN4Nfds2nYvPw","73lJwL5mlGSbF7/vy6rU7X","76fXnY8O1DOZFeFYBAFPLl","78N705xzJPeI1mCxSFiO+w","7bk6AZXcJJJbthEibeTMHr","7d23KkjixK3r3vX/3ttKJl","7fp8ArviRA8qEiFMP8AEDv","81BS+/qPNF+LwP0miNZWXx","81nawI/khNDJEdALEY9xQO","823IoETe5JO62WMTEKcmHI","83dpLMKFBKNrkTCFHQXRf4","85eiscItxAv55IPKjWZJ40","88yMGs5udGopODhQNtH64O","8bVTitTbxPRYeoK/kxygx6","8br856GiJA/plOqeriPF76","8eXucyfG9AFrBAWFDYrQwa","8fOVE5ZKBFGb97fNtWaXIg","90JqpaG+RPYY1Q5E4d9MBx","906BbVRchP96Byu1nhYtn2","97Ni3NluNC7Lc/KBrJd4ZD","98uS65msZNz7u02Nfg9VaX","9aF5ZN2RFLZ4EHfFVHDtOG","9aY5sA8gJLjpjwa+XOzhzG","9a/zOP1dJDbIT0q3t7Gr2j","9fVBXB1gdMYbTCFzbN1Pts","a1o7GPbVVABoHUccPuu0Mh","a6WGnsEitMD6eE15ZkgcRK","a6rKYX655ETJWewEEg6CVO","a7s6jcSUVML6lX/PgZ/XGs","a8aaZ+GiJJ34qBFzF0bBZB","a8dDJpF2ZNpaHbqrXD3nI0","b27IcPWshLAK1heYa5R+z2","b5YISOfXFOernqiZ4hGIAh","b7DzHXdylJqq88zm9nhSi8","b7MrjxBBBAOrF2BMlW2+sh","b8NG22caNDU5ZVzH6uOIr4","b8f7K9n7pIBIDq0r6mkhJz","b84iN12u5O0pErtINzXfaF","c0nhKeUZVAVLilZeG9Z1w/","c1q108qxtDeJZlX35myc7e","c2O1eCVtFHWI2BImiWedhn","c6dhdrGMZLbqsk8NExJd5l","c8RGSCKhhCUbXq1L50FBUM","c9dNu4pOdMC7isM95gDnCW","cbav9XpjNBUaAlOe9izO3Q","ccjeXGkjBIQp9K8q1eP0YV","cepHJ2FrlIzofuy4Wit5sR","cf+3QdqitBfZVbnh5IWlNR","d4MVgI7bhCRrjG4Ktxd+0Z","d7kYj4eTVKfLbP26Yvu1KJ","d7wS1h9pZN5bYrRJ2/h4jw","d8s1Rq08JC/qVFdxS7FmJ8","dcpd8WcU9JvJPZByqVhpr2","e2mcIgPAtFy4dlX5OBivXU","e455fJ2hROrbuPqL7sKH3c","e6+M5wqWNBUp+sM0EovB66","e9CJyC20dErrnhLU6Zq7Qe","ecpdLyjvZBwrvm+cedCcQy","edTjKJlapJQKUXZ/n9kxr+","ed+k45jhJH86txdeE518Dl","eeH3VvsHBEsaQVSAmyY0SQ","eeov+4N45KC6vZ9XoNtM0f","f1y2i0/HhFvZeG1OIf0CUj","famkOOHyRH/rvNt1q8/y6o","fcoydRvTpG+4q36Dl0iuML","fd8pHijhFBNo6NRCeo4U5I","fflHYSZNFK0q3Qt9j71d9P"],"scenes":{"db://assets/Scene/LoadScene.fire":7},"redirect":[133,0],"deps":["internal"],"packs":{"05c5373fb":[14,15,16,17,18,19,20,0,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,1,72,73,74,75,76,2,77,3,4,78,79,80,81,82,83,84,85,86,87,88,89,90,5,91,92,93,94,95,96,6,97,98,99,7,100,101,8,9,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,10,129,11,130,131,132,12,134,135,136,137,138,13,139,140,141,142]},"name":"start-scene","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["05c5373fb","30c46"],"native":[0,"02109",1,"5d75a",2,"0adce",3,"d0db1",4,"ce6a3",5,"ad94c",6,"2f2bc",8,"bd6c9",9,"7cd42",10,"376a2",11,"962da",12,"5dc27",13,"bc911"]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -0,0 +1,14 @@
let moduleMap = {
'src/assets/Script/tdanalytics.mg.cocoscreator.min.js' () { return require('src/assets/Script/tdanalytics.mg.cocoscreator.min.js') },
'assets/internal/index.js' () { return require('assets/internal/index.js') },
'assets/start-scene/index.js' () { return require('assets/start-scene/index.js') },
// tail
};
window.__cocos_require__ = function (moduleName) {
let func = moduleMap[moduleName];
if (!func) {
throw new Error(`cannot find module ${moduleName}`);
}
return func();
};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
{
"main": "cocos2d-js-min.js"
}

View File

@ -0,0 +1,9 @@
{
"provider": "wx7095f7fa398a2f30",
"signature": [
{
"path": "cocos2d-js-min.js",
"md5": "e3a9be301e52ef2292a4229df0be13bf"
}
]
}

33
build/wechatgame/game.js Normal file
View File

@ -0,0 +1,33 @@
"use strict";
require('adapter-min.js');
__globalAdapter.init();
requirePlugin('cocos');
__globalAdapter.adaptEngine();
require('./ccRequire');
require('./src/settings'); // Introduce Cocos Service here
require('./main'); // TODO: move to common
// Adjust devicePixelRatio
cc.view._maxPixelRatio = 4;
if (cc.sys.platform !== cc.sys.WECHAT_GAME_SUB) {
// Release Image objects after uploaded gl texture
cc.macro.CLEANUP_IMAGE_CACHE = false;
}
else{
wx.cloud.init({
traceUser: true,
env: 'cloud1-0gvwvqyc948d4b45'
});
}
window.boot();

View File

@ -0,0 +1,45 @@
{
"deviceOrientation": "portrait",
"networkTimeout": {
"request": 5000,
"connectSocket": 5000,
"uploadFile": 5000,
"downloadFile": 5000
},
"plugins": {
"cocos": {
"provider": "wx7095f7fa398a2f30",
"version": "2.4.10",
"path": "cocos"
}
},
"subpackages": [
{
"name": "LoadScene",
"root": "subpackages/LoadScene"
},
{
"name": "res",
"root": "subpackages/res"
},
{
"name": "resources",
"root": "subpackages/resources"
},
{
"name": "TextureBg",
"root": "subpackages/TextureBg"
},
{
"name": "UI",
"root": "subpackages/UI"
},
{
"name": "main",
"root": "subpackages/main"
}
],
"iOSHighPerformance": true,
"iOSHighPerformance+": true,
"useNativePerformance": true
}

61
build/wechatgame/main.js Normal file
View File

@ -0,0 +1,61 @@
"use strict";
window.boot = function () {
var settings = window._CCSettings;
window._CCSettings = undefined;
var onStart = function onStart() {
cc.view.enableRetina(true);
cc.view.resizeWithBrowserSize(true);
var launchScene = settings.launchScene;
// load scene
cc.director.loadScene(launchScene, null, function () {
console.log('Success to load scene: ' + launchScene);
});
};
var isSubContext = cc.sys.platform === cc.sys.WECHAT_GAME_SUB;
var option = {
id: 'GameCanvas',
debugMode: settings.debug ? cc.debug.DebugMode.INFO : cc.debug.DebugMode.ERROR,
showFPS: !isSubContext && settings.debug,
frameRate: 60,
groupList: settings.groupList,
collisionMatrix: settings.collisionMatrix
};
cc.assetManager.init({
bundleVers: settings.bundleVers,
subpackages: settings.subpackages,
remoteBundles: settings.remoteBundles,
server: settings.server,
subContextRoot: settings.subContextRoot
});
var RESOURCES = cc.AssetManager.BuiltinBundleName.RESOURCES;
var INTERNAL = cc.AssetManager.BuiltinBundleName.INTERNAL;
var MAIN = cc.AssetManager.BuiltinBundleName.MAIN;
var START_SCENE = cc.AssetManager.BuiltinBundleName.START_SCENE;
var bundleRoot = [INTERNAL];
settings.hasResourcesBundle && bundleRoot.push(RESOURCES);
settings.hasStartSceneBundle && bundleRoot.push(MAIN);
var count = 0;
function cb(err) {
if (err) return console.error(err.message, err.stack);
count++;
if (count === bundleRoot.length + 1) {
// if there is start-scene bundle. should load start-scene bundle in the last stage
// Otherwise the main bundle should be the last
cc.assetManager.loadBundle(settings.hasStartSceneBundle ? START_SCENE : MAIN, function (err) {
if (!err) cc.game.run(option, onStart);
});
}
}
// load plugins
cc.assetManager.loadScript(settings.jsList.map(function (x) {
return 'src/' + x;
}), cb);
// load bundles
for (var i = 0; i < bundleRoot.length; i++) {
cc.assetManager.loadBundle(bundleRoot[i], cb);
}
};

View File

@ -0,0 +1,45 @@
{
"description": "项目配置文件。",
"miniprogramRoot": "./",
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": false,
"newFeature": false
},
"compileType": "game",
"libVersion": "2.4.15",
"appid": "wxdd145ced49158a1e",
"projectname": "ColorBlock",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": [],
"current": -1
},
"miniprogram": {
"current": -1,
"list": []
}
},
"cloudfunctionRoot": "./cloudfunctions",
"isGameTourist": false,
"packOptions": {
"ignore": [],
"include": []
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"simulatorPluginLibVersion": {}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
window._CCSettings={platform:"wechatgame",groupList:["default","Map"],collisionMatrix:[[true],[false,false]],hasResourcesBundle:true,hasStartSceneBundle:true,remoteBundles:[],subpackages:["LoadScene","res","resources","TextureBg","UI","main"],launchScene:"db://assets/Scene/LoadScene.fire",orientation:"portrait",server:"",jsList:["assets/Script/tdanalytics.mg.cocoscreator.min.js"],bundleVers:{internal:"e6604",LoadScene:"8c110",res:"57784",resources:"43ee2",TextureBg:"da6ec",UI:"0fb20","start-scene":"1447d",main:"2a9ef"}};

View File

@ -0,0 +1 @@
{"paths":{},"types":[],"uuids":[],"scenes":{},"redirect":[],"deps":[],"packs":{},"name":"LoadScene","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":[],"native":[]}}

View File

@ -0,0 +1 @@
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);

Some files were not shown because too many files have changed in this diff Show More