Commit 43515f55 authored by Tt's avatar Tt

游戏完成

parent 1c657840
{
"ver": "2.0.1",
"uuid": "bafa1aa4-6376-4c89-8d02-e2fb6df24456",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b10193a0-5d02-4884-9a04-36a14bb0a4ba",
"downloadMode": 0,
"duration": 2.220417,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "c3a0e501-c3ba-4e12-b5f8-1035f48524fe",
"downloadMode": 0,
"duration": 0.182857,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d1e763b0-65c4-476a-b702-789e1b46ddff",
"downloadMode": 0,
"duration": 0.261224,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e87f6086-9efd-4adf-982c-bcddc6b1115e",
"downloadMode": 0,
"duration": 0.809796,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "5da8b129-4fec-4b5b-936a-336cb269d6fb",
"downloadMode": 0,
"duration": 1.906939,
"subMetas": {}
}
\ No newline at end of file
...@@ -75,55 +75,684 @@ ...@@ -75,55 +75,684 @@
"__id__": 5 "__id__": 5
}, },
{ {
"__id__": 7 "__id__": 21
}, },
{ {
"__id__": 10 "__id__": 23
}, },
{ {
"__id__": 12 "__id__": 26
}, },
{ {
"__id__": 48 "__id__": 28
}, },
{ {
"__id__": 55 "__id__": 64
}, },
{ {
"__id__": 89 "__id__": 76
}, },
{ {
"__id__": 104 "__id__": 110
},
{
"__id__": 126
},
{
"__id__": 132
}
],
"_active": true,
"_components": [
{
"__id__": 147
},
{
"__id__": 148
},
{
"__id__": 149
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 252,
"g": 252,
"b": 252,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
960,
600,
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": "a286bbGknJLZpRpxROV6M94"
},
{
"__type__": "cc.Node",
"_name": "Main Camera",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_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": "abnKbyVM5AVbVSB4JSGn71"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_cullingMask": 4294967295,
"_clearFlags": 7,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": -1,
"_zoomRatio": 1,
"_targetTexture": null,
"_fov": 60,
"_orthoSize": 10,
"_nearClip": 1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_renderStages": 1,
"_alignWithScreen": true,
"_id": "b4oj6Cq65JfL8DJwRMouwo"
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 6
}
],
"_active": true,
"_components": [],
"_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": "0bRaKuaNpPkobYPNJcMarP"
},
{
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 7
},
{
"__id__": 9
},
{
"__id__": 11
},
{
"__id__": 13
},
{
"__id__": 15
}, },
{ {
"__id__": 109 "__id__": 17
},
{
"__id__": 19
}
],
"_active": true,
"_components": [],
"_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": "afR9bOo09Nu5CzHu2crPy3"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
}
],
"_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": "d25adXtLdHLoKPrjfVfPk3"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"_clip": {
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "72w1DT1shNz5xXWOEXgidt"
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_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": "9f2P/pk3JLeqEb4Uow1/UC"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_clip": {
"__uuid__": "c3a0e501-c3ba-4e12-b5f8-1035f48524fe"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "edP1rRtHpKnq9tVHoEGBy2"
},
{
"__type__": "cc.Node",
"_name": "touzi",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
}
],
"_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": "a93hgvy8FK+oVR8a9/IO8R"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_clip": {
"__uuid__": "d1e763b0-65c4-476a-b702-789e1b46ddff"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "f3xjZ8RJ5ApqGHbc1HPE6Q"
},
{
"__type__": "cc.Node",
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
} }
], ],
"_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": "32WOyBR3lFaYfILtBJvmrg"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_clip": {
"__uuid__": "e87f6086-9efd-4adf-982c-bcddc6b1115e"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "7diG+j1IxFHLsAWZzIvZIE"
},
{
"__type__": "cc.Node",
"_name": "goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 122 "__id__": 16
},
{
"__id__": 123
},
{
"__id__": 124
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 252, "r": 255,
"g": 252, "g": 255,
"b": 252, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 0,
"height": 1200 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -134,8 +763,8 @@ ...@@ -134,8 +763,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
960, 0,
600, 0,
0, 0,
0, 0,
0, 0,
...@@ -157,20 +786,39 @@ ...@@ -157,20 +786,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a286bbGknJLZpRpxROV6M94" "_id": "e5kgZEB/xGzpYh6kvu0p9a"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"_clip": {
"__uuid__": "b10193a0-5d02-4884-9a04-36a14bb0a4ba"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "0eQdvfEFRGHKfNZ/X5Z0Go"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Main Camera", "_name": "vs",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 6
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 4 "__id__": 18
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -219,43 +867,107 @@ ...@@ -219,43 +867,107 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "abnKbyVM5AVbVSB4JSGn71" "_id": "a3SQJ4sUBK37lJ7FQKlcmF"
}, },
{ {
"__type__": "cc.Camera", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 3 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"_cullingMask": 4294967295, "_clip": {
"_clearFlags": 7, "__uuid__": "5da8b129-4fec-4b5b-936a-336cb269d6fb"
"_backgroundColor": { },
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "a2iJi0w3NNOY4ouFCXzOP9"
},
{
"__type__": "cc.Node",
"_name": "flower",
"_objFlags": 0,
"_parent": {
"__id__": 6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 255,
"g": 0, "g": 255,
"b": 0, "b": 255,
"a": 255 "a": 255
}, },
"_depth": -1, "_contentSize": {
"_zoomRatio": 1, "__type__": "cc.Size",
"_targetTexture": null, "width": 0,
"_fov": 60, "height": 0
"_orthoSize": 10, },
"_nearClip": 1, "_anchorPoint": {
"_farClip": 4096, "__type__": "cc.Vec2",
"_ortho": true, "x": 0.5,
"_rect": { "y": 0.5
"__type__": "cc.Rect", },
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"width": 1, "z": 0
"height": 1
}, },
"_renderStages": 1, "_skewX": 0,
"_alignWithScreen": true, "_skewY": 0,
"_id": "b4oj6Cq65JfL8DJwRMouwo" "_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "canL9tdnZDbbtueNdxq1Tr"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_clip": {
"__uuid__": "bafa1aa4-6376-4c89-8d02-e2fb6df24456"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "9c00bG8ndKapYjv7UaV/kz"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -268,7 +980,7 @@ ...@@ -268,7 +980,7 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 6 "__id__": 22
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -324,7 +1036,7 @@ ...@@ -324,7 +1036,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 21
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -362,10 +1074,10 @@ ...@@ -362,10 +1074,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 8 "__id__": 24
}, },
{ {
"__id__": 9 "__id__": 25
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -421,7 +1133,7 @@ ...@@ -421,7 +1133,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 7 "__id__": 23
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -453,7 +1165,7 @@ ...@@ -453,7 +1165,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 7 "__id__": 23
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -486,7 +1198,7 @@ ...@@ -486,7 +1198,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 11 "__id__": 27
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -542,7 +1254,7 @@ ...@@ -542,7 +1254,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 10 "__id__": 26
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -578,16 +1290,16 @@ ...@@ -578,16 +1290,16 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 13 "__id__": 29
}, },
{ {
"__id__": 30 "__id__": 46
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 47 "__id__": 63
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -643,14 +1355,14 @@ ...@@ -643,14 +1355,14 @@
"_name": "player", "_name": "player",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 12 "__id__": 28
}, },
"_children": [ "_children": [
{ {
"__id__": 14 "__id__": 30
}, },
{ {
"__id__": 16 "__id__": 32
} }
], ],
"_active": true, "_active": true,
...@@ -708,13 +1420,13 @@ ...@@ -708,13 +1420,13 @@
"_name": "icon_player", "_name": "icon_player",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 13 "__id__": 29
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 15 "__id__": 31
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -770,7 +1482,7 @@ ...@@ -770,7 +1482,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 30
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -802,32 +1514,32 @@ ...@@ -802,32 +1514,32 @@
"_name": "icon_player_dice", "_name": "icon_player_dice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 13 "__id__": 29
}, },
"_children": [ "_children": [
{ {
"__id__": 17 "__id__": 33
}, },
{ {
"__id__": 19 "__id__": 35
}, },
{ {
"__id__": 21 "__id__": 37
}, },
{ {
"__id__": 23 "__id__": 39
}, },
{ {
"__id__": 25 "__id__": 41
}, },
{ {
"__id__": 27 "__id__": 43
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 29 "__id__": 45
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -883,13 +1595,13 @@ ...@@ -883,13 +1595,13 @@
"_name": "icon_6", "_name": "icon_6",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 32
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 34
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -945,7 +1657,7 @@ ...@@ -945,7 +1657,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 17 "__id__": 33
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -977,13 +1689,13 @@ ...@@ -977,13 +1689,13 @@
"_name": "icon_4", "_name": "icon_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 32
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 20 "__id__": 36
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1039,7 +1751,7 @@ ...@@ -1039,7 +1751,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 19 "__id__": 35
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1071,13 +1783,13 @@ ...@@ -1071,13 +1783,13 @@
"_name": "icon_5", "_name": "icon_5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 32
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 22 "__id__": 38
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1133,7 +1845,7 @@ ...@@ -1133,7 +1845,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 21 "__id__": 37
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1165,13 +1877,13 @@ ...@@ -1165,13 +1877,13 @@
"_name": "icon_3", "_name": "icon_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 32
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 24 "__id__": 40
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1227,7 +1939,7 @@ ...@@ -1227,7 +1939,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 23 "__id__": 39
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1259,13 +1971,13 @@ ...@@ -1259,13 +1971,13 @@
"_name": "icon_2", "_name": "icon_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 32
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 42
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1321,7 +2033,7 @@ ...@@ -1321,7 +2033,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 41
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1353,13 +2065,13 @@ ...@@ -1353,13 +2065,13 @@
"_name": "icon_1", "_name": "icon_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 16 "__id__": 32
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 28 "__id__": 44
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1415,7 +2127,7 @@ ...@@ -1415,7 +2127,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 27 "__id__": 43
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1447,7 +2159,7 @@ ...@@ -1447,7 +2159,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 16 "__id__": 32
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1479,14 +2191,14 @@ ...@@ -1479,14 +2191,14 @@
"_name": "robot", "_name": "robot",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 12 "__id__": 28
}, },
"_children": [ "_children": [
{ {
"__id__": 31 "__id__": 47
}, },
{ {
"__id__": 33 "__id__": 49
} }
], ],
"_active": true, "_active": true,
...@@ -1544,13 +2256,13 @@ ...@@ -1544,13 +2256,13 @@
"_name": "icon_robot", "_name": "icon_robot",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 30 "__id__": 46
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 32 "__id__": 48
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1606,7 +2318,7 @@ ...@@ -1606,7 +2318,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 31 "__id__": 47
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1638,32 +2350,32 @@ ...@@ -1638,32 +2350,32 @@
"_name": "icon_robot_dice", "_name": "icon_robot_dice",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 30 "__id__": 46
}, },
"_children": [ "_children": [
{ {
"__id__": 34 "__id__": 50
}, },
{ {
"__id__": 36 "__id__": 52
}, },
{ {
"__id__": 38 "__id__": 54
}, },
{ {
"__id__": 40 "__id__": 56
}, },
{ {
"__id__": 42 "__id__": 58
}, },
{ {
"__id__": 44 "__id__": 60
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 46 "__id__": 62
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1719,13 +2431,13 @@ ...@@ -1719,13 +2431,13 @@
"_name": "icon_6", "_name": "icon_6",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 33 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 35 "__id__": 51
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1781,7 +2493,7 @@ ...@@ -1781,7 +2493,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 34 "__id__": 50
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1813,13 +2525,13 @@ ...@@ -1813,13 +2525,13 @@
"_name": "icon_4", "_name": "icon_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 33 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 53
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1875,7 +2587,7 @@ ...@@ -1875,7 +2587,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 36 "__id__": 52
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1907,13 +2619,13 @@ ...@@ -1907,13 +2619,13 @@
"_name": "icon_5", "_name": "icon_5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 33 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 39 "__id__": 55
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1969,7 +2681,7 @@ ...@@ -1969,7 +2681,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 38 "__id__": 54
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2001,13 +2713,13 @@ ...@@ -2001,13 +2713,13 @@
"_name": "icon_3", "_name": "icon_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 33 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 41 "__id__": 57
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2063,7 +2775,7 @@ ...@@ -2063,7 +2775,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 40 "__id__": 56
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2095,13 +2807,13 @@ ...@@ -2095,13 +2807,13 @@
"_name": "icon_2", "_name": "icon_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 33 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 43 "__id__": 59
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2157,7 +2869,7 @@ ...@@ -2157,7 +2869,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 42 "__id__": 58
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2189,13 +2901,13 @@ ...@@ -2189,13 +2901,13 @@
"_name": "icon_1", "_name": "icon_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 33 "__id__": 49
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 45 "__id__": 61
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2251,7 +2963,7 @@ ...@@ -2251,7 +2963,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 44 "__id__": 60
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2283,7 +2995,7 @@ ...@@ -2283,7 +2995,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 33 "__id__": 49
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2315,7 +3027,7 @@ ...@@ -2315,7 +3027,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 12 "__id__": 28
}, },
"_enabled": true, "_enabled": true,
"label": null, "label": null,
...@@ -2331,14 +3043,18 @@ ...@@ -2331,14 +3043,18 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 49 "__id__": 65
}, },
{ {
"__id__": 52 "__id__": 70
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [
{
"__id__": 75
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -2392,16 +3108,20 @@ ...@@ -2392,16 +3108,20 @@
"_name": "chess_player", "_name": "chess_player",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 48 "__id__": 64
}, },
"_children": [], "_children": [
{
"__id__": 66
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 50 "__id__": 68
}, },
{ {
"__id__": 51 "__id__": 69
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2427,8 +3147,8 @@ ...@@ -2427,8 +3147,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-455.483, -474.14,
70, 75.122,
0, 0,
0, 0,
0, 0,
...@@ -2452,12 +3172,93 @@ ...@@ -2452,12 +3172,93 @@
"groupIndex": 0, "groupIndex": 0,
"_id": "53YJQdYd5FtK10f0o92CI4" "_id": "53YJQdYd5FtK10f0o92CI4"
}, },
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
}
],
"_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": [
474.14,
-75.122,
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": "6ctKJPCHhI6qPs0MzIi7+b"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"_enabled": true,
"_clip": {
"__uuid__": "c3a0e501-c3ba-4e12-b5f8-1035f48524fe"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "26T/HKu/dCzbCqFixnmkhX"
},
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 49 "__id__": 65
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2489,7 +3290,7 @@ ...@@ -2489,7 +3290,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 49 "__id__": 65
}, },
"_enabled": true, "_enabled": true,
"isRobot": false, "isRobot": false,
...@@ -2500,16 +3301,20 @@ ...@@ -2500,16 +3301,20 @@
"_name": "chess_robot", "_name": "chess_robot",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 48 "__id__": 64
}, },
"_children": [], "_children": [
{
"__id__": 71
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 53 "__id__": 73
}, },
{ {
"__id__": 54 "__id__": 74
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2535,8 +3340,8 @@ ...@@ -2535,8 +3340,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-352.639, -693.991,
70, -487.189,
0, 0,
0, 0,
0, 0,
...@@ -2560,12 +3365,93 @@ ...@@ -2560,12 +3365,93 @@
"groupIndex": 0, "groupIndex": 0,
"_id": "10goBbWhJHnYZAUkb9T43v" "_id": "10goBbWhJHnYZAUkb9T43v"
}, },
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
}
],
"_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": [
693.991,
487.189,
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": "b7MrSU/xJE/raN00wwnTgp"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"_clip": {
"__uuid__": "c3a0e501-c3ba-4e12-b5f8-1035f48524fe"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "65+6WzB/ZA+oYrMRwxEjeo"
},
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 52 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2597,12 +3483,39 @@ ...@@ -2597,12 +3483,39 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 52 "__id__": 70
}, },
"_enabled": true, "_enabled": true,
"isRobot": true, "isRobot": true,
"_id": "e9fIz2+b5JCrHL9Npfmr3p" "_id": "e9fIz2+b5JCrHL9Npfmr3p"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "d80FcCYUVCUpKTX8ZB85w3"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "touzi_ani", "_name": "touzi_ani",
...@@ -2612,19 +3525,19 @@ ...@@ -2612,19 +3525,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 56 "__id__": 77
}, },
{ {
"__id__": 82 "__id__": 103
}, },
{ {
"__id__": 85 "__id__": 106
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 109
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2680,50 +3593,50 @@ ...@@ -2680,50 +3593,50 @@
"_name": "icon", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 76
}, },
"_children": [ "_children": [
{ {
"__id__": 57 "__id__": 78
}, },
{ {
"__id__": 59 "__id__": 80
}, },
{ {
"__id__": 61 "__id__": 82
}, },
{ {
"__id__": 63 "__id__": 84
}, },
{ {
"__id__": 65 "__id__": 86
}, },
{ {
"__id__": 67 "__id__": 88
}, },
{ {
"__id__": 69 "__id__": 90
}, },
{ {
"__id__": 71 "__id__": 92
}, },
{ {
"__id__": 73 "__id__": 94
}, },
{ {
"__id__": 75 "__id__": 96
}, },
{ {
"__id__": 77 "__id__": 98
}, },
{ {
"__id__": 79 "__id__": 100
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 102
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2779,13 +3692,13 @@ ...@@ -2779,13 +3692,13 @@
"_name": "bg_1", "_name": "bg_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 58 "__id__": 79
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2841,7 +3754,7 @@ ...@@ -2841,7 +3754,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 57 "__id__": 78
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2873,13 +3786,13 @@ ...@@ -2873,13 +3786,13 @@
"_name": "bg_2", "_name": "bg_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 60 "__id__": 81
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2935,7 +3848,7 @@ ...@@ -2935,7 +3848,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 59 "__id__": 80
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2967,13 +3880,13 @@ ...@@ -2967,13 +3880,13 @@
"_name": "bg_3", "_name": "bg_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 83
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3029,7 +3942,7 @@ ...@@ -3029,7 +3942,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 82
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3061,13 +3974,13 @@ ...@@ -3061,13 +3974,13 @@
"_name": "bg_4", "_name": "bg_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 64 "__id__": 85
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3123,7 +4036,7 @@ ...@@ -3123,7 +4036,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 63 "__id__": 84
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3155,13 +4068,13 @@ ...@@ -3155,13 +4068,13 @@
"_name": "bg_5", "_name": "bg_5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 66 "__id__": 87
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3217,7 +4130,7 @@ ...@@ -3217,7 +4130,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 65 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3249,13 +4162,13 @@ ...@@ -3249,13 +4162,13 @@
"_name": "bg_6", "_name": "bg_6",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 68 "__id__": 89
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3311,7 +4224,7 @@ ...@@ -3311,7 +4224,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 67 "__id__": 88
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3343,13 +4256,13 @@ ...@@ -3343,13 +4256,13 @@
"_name": "bg_dice3", "_name": "bg_dice3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 70 "__id__": 91
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3405,7 +4318,7 @@ ...@@ -3405,7 +4318,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 69 "__id__": 90
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3437,13 +4350,13 @@ ...@@ -3437,13 +4350,13 @@
"_name": "bg_dice2", "_name": "bg_dice2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 72 "__id__": 93
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3499,7 +4412,7 @@ ...@@ -3499,7 +4412,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 71 "__id__": 92
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3531,13 +4444,13 @@ ...@@ -3531,13 +4444,13 @@
"_name": "bg_dice1", "_name": "bg_dice1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 95
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3593,7 +4506,7 @@ ...@@ -3593,7 +4506,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 73 "__id__": 94
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3625,13 +4538,13 @@ ...@@ -3625,13 +4538,13 @@
"_name": "bg_dice5", "_name": "bg_dice5",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 76 "__id__": 97
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3687,7 +4600,7 @@ ...@@ -3687,7 +4600,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 75 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3719,13 +4632,13 @@ ...@@ -3719,13 +4632,13 @@
"_name": "bg_dice4", "_name": "bg_dice4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 78 "__id__": 99
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3781,7 +4694,7 @@ ...@@ -3781,7 +4694,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 77 "__id__": 98
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3813,13 +4726,13 @@ ...@@ -3813,13 +4726,13 @@
"_name": "bg_dice6", "_name": "bg_dice6",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 56 "__id__": 77
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 80 "__id__": 101
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3875,7 +4788,7 @@ ...@@ -3875,7 +4788,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 79 "__id__": 100
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3907,7 +4820,7 @@ ...@@ -3907,7 +4820,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 77
}, },
"_enabled": true, "_enabled": true,
"label": null, "label": null,
...@@ -3919,16 +4832,16 @@ ...@@ -3919,16 +4832,16 @@
"_name": "btn_stop", "_name": "btn_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 76
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 83 "__id__": 104
}, },
{ {
"__id__": 84 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3984,7 +4897,7 @@ ...@@ -3984,7 +4897,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 82 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4016,7 +4929,7 @@ ...@@ -4016,7 +4929,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 82 "__id__": 103
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4077,7 +4990,7 @@ ...@@ -4077,7 +4990,7 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": { "_N$target": {
"__id__": 82 "__id__": 103
}, },
"_id": "6btfsmisBFibMp9UnkII+V" "_id": "6btfsmisBFibMp9UnkII+V"
}, },
...@@ -4086,16 +4999,16 @@ ...@@ -4086,16 +4999,16 @@
"_name": "hand", "_name": "hand",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 76
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 86 "__id__": 107
}, },
{ {
"__id__": 87 "__id__": 108
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4151,7 +5064,7 @@ ...@@ -4151,7 +5064,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 85 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4183,7 +5096,7 @@ ...@@ -4183,7 +5096,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 85 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"label": null, "label": null,
...@@ -4195,7 +5108,7 @@ ...@@ -4195,7 +5108,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 55 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4231,28 +5144,31 @@ ...@@ -4231,28 +5144,31 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 90 "__id__": 111
}, },
{ {
"__id__": 92 "__id__": 113
}, },
{ {
"__id__": 95 "__id__": 116
}, },
{ {
"__id__": 97 "__id__": 118
}, },
{ {
"__id__": 99 "__id__": 120
}, },
{ {
"__id__": 101 "__id__": 122
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 103 "__id__": 124
},
{
"__id__": 125
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4266,7 +5182,7 @@ ...@@ -4266,7 +5182,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 1920,
"height": 0 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -4308,13 +5224,13 @@ ...@@ -4308,13 +5224,13 @@
"_name": "text_tip", "_name": "text_tip",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 110
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 91 "__id__": 112
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4370,7 +5286,7 @@ ...@@ -4370,7 +5286,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 90 "__id__": 111
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4402,16 +5318,16 @@ ...@@ -4402,16 +5318,16 @@
"_name": "btn_audio_start", "_name": "btn_audio_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 110
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 93 "__id__": 114
}, },
{ {
"__id__": 94 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4467,7 +5383,7 @@ ...@@ -4467,7 +5383,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 92 "__id__": 113
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4499,7 +5415,7 @@ ...@@ -4499,7 +5415,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 92 "__id__": 113
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -4567,13 +5483,13 @@ ...@@ -4567,13 +5483,13 @@
"_name": "btn_audio_stop", "_name": "btn_audio_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 110
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 96 "__id__": 117
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4629,7 +5545,7 @@ ...@@ -4629,7 +5545,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 95 "__id__": 116
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4661,13 +5577,13 @@ ...@@ -4661,13 +5577,13 @@
"_name": "speak_ske", "_name": "speak_ske",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 110
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 98 "__id__": 119
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4723,7 +5639,7 @@ ...@@ -4723,7 +5639,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 97 "__id__": 118
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4763,13 +5679,13 @@ ...@@ -4763,13 +5679,13 @@
"_name": "bg_goodjob", "_name": "bg_goodjob",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 110
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 100 "__id__": 121
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4825,7 +5741,7 @@ ...@@ -4825,7 +5741,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 99 "__id__": 120
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4857,13 +5773,13 @@ ...@@ -4857,13 +5773,13 @@
"_name": "bg_tryagain", "_name": "bg_tryagain",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 89 "__id__": 110
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4919,7 +5835,7 @@ ...@@ -4919,7 +5835,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 101 "__id__": 122
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4946,12 +5862,39 @@ ...@@ -4946,12 +5862,39 @@
"_atlas": null, "_atlas": null,
"_id": "02rcU8zKFPy57cgmZE0S8F" "_id": "02rcU8zKFPy57cgmZE0S8F"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "b3t+vjZSVAtJnwC6Vx0tm9"
},
{ {
"__type__": "33705ydyx5Lkoj/0Ven15z4", "__type__": "33705ydyx5Lkoj/0Ven15z4",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 89 "__id__": 110
}, },
"_enabled": true, "_enabled": true,
"label": null, "label": null,
...@@ -4967,14 +5910,18 @@ ...@@ -4967,14 +5910,18 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 105 "__id__": 127
}, },
{ {
"__id__": 107 "__id__": 129
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [
{
"__id__": 131
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -4986,7 +5933,7 @@ ...@@ -4986,7 +5933,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 1920,
"height": 0 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -5028,13 +5975,13 @@ ...@@ -5028,13 +5975,13 @@
"_name": "bg_win", "_name": "bg_win",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 128
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5090,7 +6037,7 @@ ...@@ -5090,7 +6037,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 105 "__id__": 127
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5122,13 +6069,13 @@ ...@@ -5122,13 +6069,13 @@
"_name": "bg_lose", "_name": "bg_lose",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 104 "__id__": 126
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 108 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5184,7 +6131,7 @@ ...@@ -5184,7 +6131,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 107 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5211,6 +6158,33 @@ ...@@ -5211,6 +6158,33 @@
"_atlas": null, "_atlas": null,
"_id": "0ebkLYhRRNVrKE4UYOZKDR" "_id": "0ebkLYhRRNVrKE4UYOZKDR"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "7bhiYCuAxM+IaAW1+6NxKU"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "start", "_name": "start",
...@@ -5220,22 +6194,25 @@ ...@@ -5220,22 +6194,25 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 110 "__id__": 133
}, },
{ {
"__id__": 113 "__id__": 136
}, },
{ {
"__id__": 116 "__id__": 139
}, },
{ {
"__id__": 119 "__id__": 142
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 121 "__id__": 145
},
{
"__id__": 146
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5291,16 +6268,16 @@ ...@@ -5291,16 +6268,16 @@
"_name": "panel_gray", "_name": "panel_gray",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 109 "__id__": 132
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 111 "__id__": 134
}, },
{ {
"__id__": 112 "__id__": 135
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5356,7 +6333,7 @@ ...@@ -5356,7 +6333,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 110 "__id__": 133
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5388,7 +6365,7 @@ ...@@ -5388,7 +6365,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 110 "__id__": 133
}, },
"_enabled": true, "_enabled": true,
"_id": "e4yCZbisZBGZqMqHEXBseL" "_id": "e4yCZbisZBGZqMqHEXBseL"
...@@ -5398,16 +6375,16 @@ ...@@ -5398,16 +6375,16 @@
"_name": "btn_start", "_name": "btn_start",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 109 "__id__": 132
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 114 "__id__": 137
}, },
{ {
"__id__": 115 "__id__": 138
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5463,7 +6440,7 @@ ...@@ -5463,7 +6440,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 113 "__id__": 136
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5495,7 +6472,7 @@ ...@@ -5495,7 +6472,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 113 "__id__": 136
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -5556,7 +6533,7 @@ ...@@ -5556,7 +6533,7 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": { "_N$target": {
"__id__": 113 "__id__": 136
}, },
"_id": "57btGK5ftHapBJVGaJiIv5" "_id": "57btGK5ftHapBJVGaJiIv5"
}, },
...@@ -5565,16 +6542,16 @@ ...@@ -5565,16 +6542,16 @@
"_name": "btn_restart", "_name": "btn_restart",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 109 "__id__": 132
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 140
}, },
{ {
"__id__": 118 "__id__": 141
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5630,7 +6607,7 @@ ...@@ -5630,7 +6607,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5662,7 +6639,7 @@ ...@@ -5662,7 +6639,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -5723,7 +6700,7 @@ ...@@ -5723,7 +6700,7 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": { "_N$target": {
"__id__": 116 "__id__": 139
}, },
"_id": "b3sVKz5e1PN4fADR0phF4M" "_id": "b3sVKz5e1PN4fADR0phF4M"
}, },
...@@ -5732,13 +6709,16 @@ ...@@ -5732,13 +6709,16 @@
"_name": "bg_vs", "_name": "bg_vs",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 109 "__id__": 132
}, },
"_children": [], "_children": [],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 120 "__id__": 143
},
{
"__id__": 144
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5764,7 +6744,7 @@ ...@@ -5764,7 +6744,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
1.559, 0,
17.912, 17.912,
0, 0,
0, 0,
...@@ -5794,7 +6774,7 @@ ...@@ -5794,7 +6774,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 119 "__id__": 142
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5808,7 +6788,7 @@ ...@@ -5808,7 +6788,7 @@
"__uuid__": "15931dc2-2400-4794-9b4b-629eb9087922" "__uuid__": "15931dc2-2400-4794-9b4b-629eb9087922"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5821,18 +6801,72 @@ ...@@ -5821,18 +6801,72 @@
"_atlas": null, "_atlas": null,
"_id": "c33aspZFNLd6nz+HFR6RlP" "_id": "c33aspZFNLd6nz+HFR6RlP"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "ef7iEBNjpI4psJufcjxxB5"
},
{ {
"__type__": "13dcbpvyHZOHKj1s6BUfMsR", "__type__": "13dcbpvyHZOHKj1s6BUfMsR",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 109 "__id__": 132
}, },
"_enabled": true, "_enabled": true,
"label": null, "label": null,
"text": "hello", "text": "hello",
"_id": "0cNADZZ0FC3IMfX69rJ+ZM" "_id": "0cNADZZ0FC3IMfX69rJ+ZM"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 1920,
"_originalHeight": 0,
"_id": "b0pI3w6clDcrsq0Xtd2dtj"
},
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
"_name": "", "_name": "",
......
...@@ -10,6 +10,7 @@ enum CELLTYPE { ...@@ -10,6 +10,7 @@ enum CELLTYPE {
ROLL_AGAIN = 3, ROLL_AGAIN = 3,
DELAY_TIME = 4, DELAY_TIME = 4,
JUMP_ROLL = 5, JUMP_ROLL = 5,
WIN = 100,
} }
@ccclass @ccclass
export default class SceneComponent extends MyCocosSceneComponent { export default class SceneComponent extends MyCocosSceneComponent {
...@@ -79,8 +80,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -79,8 +80,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
onGameStart() { onGameStart() {
this.playerPoint = 0; this.playerPoint = 0;
this.robotPoint = 0; this.robotPoint = 0;
this.turnRobot = false; this.turnRobot = Math.random() < 0.5;
this.startTouzi(); this.initChess();
setTimeout(() => {
this.startTouzi();
}, 2100);
} }
onSpeakScueess() { onSpeakScueess() {
//执行后续的动作。 //执行后续的动作。
...@@ -88,7 +92,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -88,7 +92,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
onSpeakFail() { onSpeakFail() {
//回退到最后一个位置 //回退到最后一个位置
this.turnNext(); let cell = map[this.playerPoint];
this.jumpChess(cell, this.lastPointId).then(() => {
this.turnNext();
})
} }
turnNext() { turnNext() {
this.turnRobot = !this.turnRobot; this.turnRobot = !this.turnRobot;
...@@ -101,6 +109,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -101,6 +109,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
//初始化棋子 //初始化棋子
this.chessPlayer = pg.view.find(this, "chess/chess_player"); this.chessPlayer = pg.view.find(this, "chess/chess_player");
this.chessRobot = pg.view.find(this, "chess/chess_robot"); this.chessRobot = pg.view.find(this, "chess/chess_robot");
let point = map[0];
this.chessPlayer.x = Number(point.yellow_x);
this.chessPlayer.y = Number(point.yellow_y);
this.chessRobot.x = Number(point.blue_x);
this.chessRobot.y = Number(point.blue_y);
} }
getMovePoints(now, runNum) { getMovePoints(now, runNum) {
let points = []; let points = [];
...@@ -169,6 +182,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -169,6 +182,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.checkCell(); this.checkCell();
}) })
break; break;
case CELLTYPE.WIN:
this.gameOver();
break;
default: default:
this.turnNext(); this.turnNext();
break; break;
...@@ -181,7 +197,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -181,7 +197,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let type = Number(cell.type); let type = Number(cell.type);
switch (type) { switch (type) {
case CELLTYPE.SPEAK: case CELLTYPE.SPEAK:
pg.event.emit("speak_open") pg.event.emit("speak_open", cell)
break; break;
case CELLTYPE.DELAY_TIME: case CELLTYPE.DELAY_TIME:
setTimeout(() => { setTimeout(() => {
...@@ -202,6 +218,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -202,6 +218,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.checkCell(); this.checkCell();
}) })
break; break;
case CELLTYPE.WIN:
this.gameOver();
break;
default: default:
this.turnNext(); this.turnNext();
break; break;
...@@ -218,11 +237,16 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -218,11 +237,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.turnRobot) return; if (this.turnRobot) return;
this.stopTouzi(); this.stopTouzi();
} }
lastPointId: number;
stopTouzi(runNum = 0) { stopTouzi(runNum = 0) {
pg.audio.stopAudio(this.touziAudio);
let touzi_ani = pg.view.find(this, "touzi_ani"); let touzi_ani = pg.view.find(this, "touzi_ani");
let icon = pg.view.find(touzi_ani, "icon"); let icon = pg.view.find(touzi_ani, "icon");
let touzi = icon.getComponent("touzi"); let touzi = icon.getComponent("touzi");
let hand = pg.view.find(touzi_ani, "hand"); let hand = pg.view.find(touzi_ani, "hand");
let btn_stop = pg.view.find(touzi_ani, "btn_stop");
btn_stop.active = false;
this.lastPointId = this.playerPoint + 1;
if (!runNum) { if (!runNum) {
runNum = 1 + Math.floor(Math.random() * 6); runNum = 1 + Math.floor(Math.random() * 6);
if (this.turnRobot) runNum = 1 + Math.floor(Math.random() * 5); if (this.turnRobot) runNum = 1 + Math.floor(Math.random() * 5);
...@@ -238,25 +262,52 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -238,25 +262,52 @@ export default class SceneComponent extends MyCocosSceneComponent {
}) })
} }
private stopHandTimer: number; private stopHandTimer: number;
private touziAudio: number;
startTouzi() { startTouzi() {
let touzi_ani = pg.view.find(this, "touzi_ani"); let touzi_ani = pg.view.find(this, "touzi_ani");
let icon = pg.view.find(touzi_ani, "icon"); let icon = pg.view.find(touzi_ani, "icon");
let touzi = icon.getComponent("touzi"); let touzi = icon.getComponent("touzi");
let hand = pg.view.find(touzi_ani, "hand"); let hand = pg.view.find(touzi_ani, "hand");
let btn_stop = pg.view.find(touzi_ani, "btn_stop");
btn_stop.active = true;
touzi_ani.active = true; touzi_ani.active = true;
touzi.startAni(); touzi.startAni();
if (this.turnRobot) { if (this.turnRobot) {
setTimeout(() => { setTimeout(() => {
this.stopTouzi(); this.stopTouzi();
}, 100); }, 300 + Math.random() * 200);
} else { } else {
this.stopHandTimer = setTimeout(() => { this.stopHandTimer = setTimeout(() => {
hand.active = true; hand.active = true;
}, 5000); }, 5000);
} }
pg.hw.playLocalAudio("touzi", true).then((id: number) => {
this.touziAudio = id;
})
}
//----------------------------OVER-------------------
gameOver() {
let state = pg.view.find(this, "state");
let bg_win = pg.view.find(state, "bg_win");
let bg_lose = pg.view.find(state, "bg_lose");
pg.view.visible(state, true);
if (this.playerPoint > this.robotPoint) {
pg.view.visible(bg_win, true);
pg.view.visible(bg_lose, false);
pg.hw.playLocalAudio("flower");
} else {
pg.view.visible(bg_win, false);
pg.view.visible(bg_lose, true);
}
setTimeout(() => {
pg.view.visible(bg_win, false);
pg.view.visible(bg_lose, false);
pg.event.emit("game_over");
}, 5000);
// onHomeworkFinish最后需要添加作业完成
onHomeworkFinish();
} }
//-----------------------------TOOL------------------------------- //-----------------------------TOOL-------------------------------
// onHomeworkFinish最后需要添加作业完成
playLocalAudio(audioName) { playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource); const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
......
...@@ -38,7 +38,8 @@ export default class NewClass extends cc.Component { ...@@ -38,7 +38,8 @@ export default class NewClass extends cc.Component {
id: i, id: i,
time: 0.2, time: 0.2,
x: pos.x, x: pos.x,
y: pos.y y: pos.y,
audionode: "star"
}) })
} }
movement.loadTween(this.node, movementList).then(() => { movement.loadTween(this.node, movementList).then(() => {
......
export default [{ "id": "1", "blue_x": "-360", "blue_y": "70", "yellow_x": "-455", "yellow_y": "70", "type": "0", "value": "0" }, { "id": "2", "blue_x": "-410", "blue_y": "163", "yellow_x": "-410", "yellow_y": "282", "type": "1", "value": "blackboard" }, { "id": "3", "blue_x": "-270", "blue_y": "147", "yellow_x": "-269", "yellow_y": "282", "type": "1", "value": "window" }, { "id": "4", "blue_x": "-129", "blue_y": "147", "yellow_x": "-130", "yellow_y": "282", "type": "1", "value": "door" }, { "id": "5", "blue_x": "7", "blue_y": "147", "yellow_x": "12", "yellow_y": "282", "type": "2", "value": "2" }, { "id": "6", "blue_x": "150", "blue_y": "147", "yellow_x": "150", "yellow_y": "282", "type": "1", "value": "window" }, { "id": "7", "blue_x": "293", "blue_y": "147", "yellow_x": "290", "yellow_y": "282", "type": "5", "value": "14" }, { "id": "8", "blue_x": "500", "blue_y": "211", "yellow_x": "433", "yellow_y": "282", "type": "1", "value": "door" }, { "id": "9", "blue_x": "338", "blue_y": "71", "yellow_x": "512", "yellow_y": "100", "type": "3", "value": "1" }, { "id": "10", "blue_x": "354", "blue_y": "-64", "yellow_x": "503", "yellow_y": "-66", "type": "1", "value": "door" }, { "id": "11", "blue_x": "516", "blue_y": "-204", "yellow_x": "503", "yellow_y": "-210", "type": "1", "value": "blackboard" }, { "id": "12", "blue_x": "291", "blue_y": "-126", "yellow_x": "292", "yellow_y": "-283", "type": "1", "value": "window" }, { "id": "13", "blue_x": "148", "blue_y": "-126", "yellow_x": "154", "yellow_y": "-283", "type": "2", "value": "3" }, { "id": "14", "blue_x": "9", "blue_y": "-126", "yellow_x": "12", "yellow_y": "-283", "type": "1", "value": "blackboard" }, { "id": "15", "blue_x": "-129", "blue_y": "-126", "yellow_x": "-127", "yellow_y": "-283", "type": "2", "value": "1" }, { "id": "16", "blue_x": "-270", "blue_y": "-126", "yellow_x": "-270", "yellow_y": "-283", "type": "1", "value": "window" }, { "id": "17", "blue_x": "-410", "blue_y": "-126", "yellow_x": "-410", "yellow_y": "-309", "type": "4", "value": "5" }, { "id": "18", "blue_x": "-548", "blue_y": "-126", "yellow_x": "-548", "yellow_y": "-288", "type": "1", "value": "door" }, { "id": "19", "blue_x": "-773", "blue_y": "-216", "yellow_x": "-692", "yellow_y": "-294", "type": "1", "value": "blackboard" }, { "id": "20", "blue_x": "-607", "blue_y": "-64", "yellow_x": "-764", "yellow_y": "-71", "type": "1", "value": "window" }, { "id": "21", "blue_x": "-607", "blue_y": "84", "yellow_x": "-780", "yellow_y": "73", "type": "4", "value": "5" }, { "id": "22", "blue_x": "-607", "blue_y": "220", "yellow_x": "-773", "yellow_y": "213", "type": "2", "value": "3" }, { "id": "23", "blue_x": "-607", "blue_y": "353", "yellow_x": "-764", "yellow_y": "353", "type": "1", "value": "door" }, { "id": "24", "blue_x": "-775", "blue_y": "487", "yellow_x": "-771", "yellow_y": "500", "type": "2", "value": "5" }, { "id": "25", "blue_x": "-550", "blue_y": "420", "yellow_x": "-550", "yellow_y": "548", "type": "1", "value": "window" }, { "id": "26", "blue_x": "-408", "blue_y": "394", "yellow_x": "-410", "yellow_y": "548", "type": "4", "value": "5" }, { "id": "27", "blue_x": "-270", "blue_y": "419", "yellow_x": "-268", "yellow_y": "562", "type": "2", "value": "2" }, { "id": "28", "blue_x": "-121", "blue_y": "419", "yellow_x": "-125", "yellow_y": "562", "type": "1", "value": "door" }, { "id": "29", "blue_x": "14", "blue_y": "419", "yellow_x": "15", "yellow_y": "562", "type": "1", "value": "blackboard" }, { "id": "30", "blue_x": "148", "blue_y": "388", "yellow_x": "152", "yellow_y": "562", "type": "3", "value": "1" }, { "id": "31", "blue_x": "286", "blue_y": "404", "yellow_x": "290", "yellow_y": "562", "type": "1", "value": "window" }, { "id": "32", "blue_x": "433", "blue_y": "404", "yellow_x": "431", "yellow_y": "562", "type": "2", "value": "1" }, { "id": "33", "blue_x": "574", "blue_y": "394", "yellow_x": "570", "yellow_y": "562", "type": "4", "value": "5" }, { "id": "34", "blue_x": "796", "blue_y": "490", "yellow_x": "714", "yellow_y": "562", "type": "1", "value": "blackboard" }, { "id": "35", "blue_x": "637", "blue_y": "354", "yellow_x": "784", "yellow_y": "351", "type": "1", "value": "door" }, { "id": "36", "blue_x": "624", "blue_y": "204", "yellow_x": "784", "yellow_y": "206", "type": "2", "value": "3" }, { "id": "37", "blue_x": "624", "blue_y": "66", "yellow_x": "784", "yellow_y": "68", "type": "5", "value": "43" }, { "id": "38", "blue_x": "624", "blue_y": "-60", "yellow_x": "798", "yellow_y": "-60", "type": "3", "value": "1" }, { "id": "39", "blue_x": "624", "blue_y": "-198", "yellow_x": "788", "yellow_y": "-207", "type": "1", "value": "window" }, { "id": "40", "blue_x": "624", "blue_y": "-343", "yellow_x": "788", "yellow_y": "-352", "type": "2", "value": "1" }, { "id": "41", "blue_x": "784", "blue_y": "-488", "yellow_x": "788", "yellow_y": "-484", "type": "1", "value": "blackboard" }, { "id": "42", "blue_x": "570", "blue_y": "-415", "yellow_x": "570", "yellow_y": "-551", "type": "1", "value": "window" }, { "id": "43", "blue_x": "429", "blue_y": "-415", "yellow_x": "424", "yellow_y": "-554", "type": "2", "value": "2" }, { "id": "44", "blue_x": "291", "blue_y": "-415", "yellow_x": "292", "yellow_y": "-554", "type": "1", "value": "door" }, { "id": "45", "blue_x": "146", "blue_y": "-415", "yellow_x": "148", "yellow_y": "-450", "type": "4", "value": "5" }, { "id": "46", "blue_x": "9", "blue_y": "-415", "yellow_x": "6", "yellow_y": "-554", "type": "1", "value": "blackboard" }, { "id": "47", "blue_x": "-132", "blue_y": "-415", "yellow_x": "-130", "yellow_y": "-554", "type": "1", "value": "window" }, { "id": "48", "blue_x": "-268", "blue_y": "-415", "yellow_x": "-268", "yellow_y": "-554", "type": "1", "value": "door" }, { "id": "49", "blue_x": "-410", "blue_y": "-415", "yellow_x": "-416", "yellow_y": "-554", "type": "2", "value": "2" }, { "id": "50", "blue_x": "-546", "blue_y": "-415", "yellow_x": "-550", "yellow_y": "-554", "type": "1", "value": "blackboard" }, { "id": "51", "blue_x": "-685", "blue_y": "-495", "yellow_x": "-685", "yellow_y": "-495", "type": "0", "value": "0" }] export default [{ "id": "1", "yellow_x": "-480", "yellow_y": "70", "blue_x": "-345", "blue_y": "70", "type": "0", "value": "0" }, { "id": "2", "yellow_x": "-480", "yellow_y": "290", "blue_x": "-345", "blue_y": "135", "type": "1", "value": "blackboard" }, { "id": "3", "yellow_x": "-270", "yellow_y": "290", "blue_x": "-270", "blue_y": "135", "type": "1", "value": "window" }, { "id": "4", "yellow_x": "-130", "yellow_y": "290", "blue_x": "-130", "blue_y": "135", "type": "1", "value": "door" }, { "id": "5", "yellow_x": "-10", "yellow_y": "290", "blue_x": "-10", "blue_y": "135", "type": "2", "value": "2" }, { "id": "6", "yellow_x": "150", "yellow_y": "290", "blue_x": "150", "blue_y": "135", "type": "1", "value": "window" }, { "id": "7", "yellow_x": "300", "yellow_y": "290", "blue_x": "300", "blue_y": "135", "type": "5", "value": "14" }, { "id": "8", "yellow_x": "500", "yellow_y": "290", "blue_x": "370", "blue_y": "135", "type": "1", "value": "door" }, { "id": "9", "yellow_x": "500", "yellow_y": "70", "blue_x": "370", "blue_y": "70", "type": "3", "value": "1" }, { "id": "10", "yellow_x": "500", "yellow_y": "-70", "blue_x": "370", "blue_y": "-70", "type": "1", "value": "door" }, { "id": "11", "yellow_x": "500", "yellow_y": "-280", "blue_x": "370", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "12", "yellow_x": "290", "yellow_y": "-280", "blue_x": "290", "blue_y": "-125", "type": "1", "value": "window" }, { "id": "13", "yellow_x": "150", "yellow_y": "-280", "blue_x": "150", "blue_y": "-125", "type": "2", "value": "3" }, { "id": "14", "yellow_x": "10", "yellow_y": "-280", "blue_x": "10", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "15", "yellow_x": "-130", "yellow_y": "-280", "blue_x": "-130", "blue_y": "-125", "type": "2", "value": "1" }, { "id": "16", "yellow_x": "-270", "yellow_y": "-280", "blue_x": "-270", "blue_y": "-125", "type": "1", "value": "window" }, { "id": "17", "yellow_x": "-410", "yellow_y": "-280", "blue_x": "-410", "blue_y": "-125", "type": "4", "value": "5" }, { "id": "18", "yellow_x": "-550", "yellow_y": "-280", "blue_x": "-550", "blue_y": "-125", "type": "1", "value": "door" }, { "id": "19", "yellow_x": "-775", "yellow_y": "-280", "blue_x": "-600", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "20", "yellow_x": "-775", "yellow_y": "-55", "blue_x": "-600", "blue_y": "-55", "type": "1", "value": "window" }, { "id": "21", "yellow_x": "-775", "yellow_y": "80", "blue_x": "-600", "blue_y": "80", "type": "4", "value": "5" }, { "id": "22", "yellow_x": "-775", "yellow_y": "220", "blue_x": "-600", "blue_y": "220", "type": "2", "value": "3" }, { "id": "23", "yellow_x": "-775", "yellow_y": "365", "blue_x": "-600", "blue_y": "365", "type": "1", "value": "door" }, { "id": "24", "yellow_x": "-775", "yellow_y": "550", "blue_x": "-600", "blue_y": "420", "type": "2", "value": "5" }, { "id": "25", "yellow_x": "-550", "yellow_y": "550", "blue_x": "-550", "blue_y": "420", "type": "1", "value": "window" }, { "id": "26", "yellow_x": "-410", "yellow_y": "550", "blue_x": "-410", "blue_y": "420", "type": "4", "value": "5" }, { "id": "27", "yellow_x": "-270", "yellow_y": "550", "blue_x": "-270", "blue_y": "420", "type": "2", "value": "2" }, { "id": "28", "yellow_x": "-130", "yellow_y": "550", "blue_x": "-130", "blue_y": "420", "type": "1", "value": "door" }, { "id": "29", "yellow_x": "10", "yellow_y": "550", "blue_x": "10", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "30", "yellow_x": "150", "yellow_y": "550", "blue_x": "150", "blue_y": "420", "type": "3", "value": "1" }, { "id": "31", "yellow_x": "290", "yellow_y": "550", "blue_x": "290", "blue_y": "420", "type": "1", "value": "window" }, { "id": "32", "yellow_x": "430", "yellow_y": "550", "blue_x": "430", "blue_y": "420", "type": "2", "value": "1" }, { "id": "33", "yellow_x": "570", "yellow_y": "550", "blue_x": "570", "blue_y": "420", "type": "4", "value": "5" }, { "id": "34", "yellow_x": "790", "yellow_y": "550", "blue_x": "630", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "35", "yellow_x": "790", "yellow_y": "360", "blue_x": "630", "blue_y": "360", "type": "1", "value": "door" }, { "id": "36", "yellow_x": "790", "yellow_y": "215", "blue_x": "630", "blue_y": "215", "type": "2", "value": "3" }, { "id": "37", "yellow_x": "790", "yellow_y": "70", "blue_x": "630", "blue_y": "70", "type": "5", "value": "43" }, { "id": "38", "yellow_x": "790", "yellow_y": "-75", "blue_x": "630", "blue_y": "-75", "type": "3", "value": "1" }, { "id": "39", "yellow_x": "790", "yellow_y": "-220", "blue_x": "630", "blue_y": "-220", "type": "1", "value": "window" }, { "id": "40", "yellow_x": "790", "yellow_y": "-365", "blue_x": "630", "blue_y": "-365", "type": "2", "value": "1" }, { "id": "41", "yellow_x": "790", "yellow_y": "-550", "blue_x": "630", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "42", "yellow_x": "570", "yellow_y": "-550", "blue_x": "570", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "43", "yellow_x": "430", "yellow_y": "-550", "blue_x": "430", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "44", "yellow_x": "290", "yellow_y": "-550", "blue_x": "290", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "45", "yellow_x": "150", "yellow_y": "-550", "blue_x": "150", "blue_y": "-405", "type": "4", "value": "5" }, { "id": "46", "yellow_x": "10", "yellow_y": "-550", "blue_x": "10", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "47", "yellow_x": "-130", "yellow_y": "-550", "blue_x": "-130", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "48", "yellow_x": "-270", "yellow_y": "-550", "blue_x": "-270", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "49", "yellow_x": "-410", "yellow_y": "-550", "blue_x": "-410", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "50", "yellow_x": "-550", "yellow_y": "-550", "blue_x": "-550", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "51", "yellow_x": "-690", "yellow_y": "-490", "blue_x": "-690", "blue_y": "-490", "type": "0", "value": "0" }]
\ No newline at end of file \ No newline at end of file
...@@ -428,6 +428,21 @@ let pg = { ...@@ -428,6 +428,21 @@ let pg = {
} }
}, },
audio: {
stopAudio(audioId) {
if (!audioId) return;
cc.audioEngine.stopEffect(audioId);
}
},
hw: {
playLocalAudio(audioName, loop = false) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, loop);
resolve(id);
})
}
},
event: Emitter.getInstance() event: Emitter.getInstance()
}; };
export default pg; export default pg;
\ No newline at end of file
...@@ -42,11 +42,20 @@ export default class NewClass extends cc.Component { ...@@ -42,11 +42,20 @@ export default class NewClass extends cc.Component {
pg.view.touchOn(this.btn_audio_start, this.onTouchStart, this); pg.view.touchOn(this.btn_audio_start, this.onTouchStart, this);
pg.view.touchOn(this.btn_audio_stop, this.onTouchStop, this); pg.view.touchOn(this.btn_audio_stop, this.onTouchStop, this);
this.tryCount = 0;
pg.event.on("speak_open", () => { this.open() }) pg.event.on("speak_open", (data) => {
this.tryCount = 0;
this.open(data)
})
} }
open() { private tryCount: number;
private val: string;
open(cell) {
if (cell) {
this.val = cell.value;
}
this.text_tip.active = true; this.text_tip.active = true;
this.btn_audio_start.active = true; this.btn_audio_start.active = true;
this.btn_audio_stop.active = false; this.btn_audio_stop.active = false;
...@@ -67,8 +76,47 @@ export default class NewClass extends cc.Component { ...@@ -67,8 +76,47 @@ export default class NewClass extends cc.Component {
pg.view.playDBAnimation(this.speak_ske, "newAnimation", 0); pg.view.playDBAnimation(this.speak_ske, "newAnimation", 0);
this.btn_audio_start.active = false; this.btn_audio_start.active = false;
this.btn_audio_stop.active = true; this.btn_audio_stop.active = true;
let win: any = window;
win.courseware && win.courseware.startTest(this.val); //开始录音
} }
onTouchStop() { onTouchStop() {
this.btn_audio_start.active = false;
this.btn_audio_stop.active = false;
let win: any = window;
if (!win.courseware) {
setTimeout(() => {
let data = {
"dtLastResponse": "2021-09-17 13:36:26:109",
"refText": "I haven't found anything out about him yet.",
"recordId": "6144295213f0a2200000ed93",
"eof": 1,
"result": {
"pronunciation": 25,
"resource_version": "3.1.0",
"fluency": 60,
"rhythm": 90,
"kernel_version": "5.2.4",
"overall": 75,
"integrity": 100,
"duration": "6.779",
"rear_tone": "fall",
"speed": 96,
},
"tokenId": "6144295408558b08dd000001",
"applicationId": "154838659000009e"
};
this.onRealStop(data.result.overall);
}, 100);
} else {
win.courseware && win.courseware.stopTest((data: any) => {
data = JSON.parse(data);
this.onRealStop(data.result.overall);
});
}
}
onRealStop(score) {
pg.view.playDBAnimation(this.speak_ske, "newAnimation", 1); pg.view.playDBAnimation(this.speak_ske, "newAnimation", 1);
this.text_tip.active = false; this.text_tip.active = false;
this.btn_audio_start.active = false; this.btn_audio_start.active = false;
...@@ -78,7 +126,8 @@ export default class NewClass extends cc.Component { ...@@ -78,7 +126,8 @@ export default class NewClass extends cc.Component {
this.bg_tryagain.active = false; this.bg_tryagain.active = false;
setTimeout(() => { setTimeout(() => {
let score = Math.random() * 100 + 50; // let score = Math.random() * 100 - 50;
pg.hw.playLocalAudio("goodjob");
if (score > 50) { if (score > 50) {
this.bg_goodjob.active = true; this.bg_goodjob.active = true;
setTimeout(() => { setTimeout(() => {
...@@ -86,14 +135,26 @@ export default class NewClass extends cc.Component { ...@@ -86,14 +135,26 @@ export default class NewClass extends cc.Component {
pg.event.emit("speak_success"); pg.event.emit("speak_success");
}, 2000); }, 2000);
} else { } else {
this.bg_tryagain.active = true; if (this.tryCount >= 1) {
//需要处理提供两次机会。重置一次到open状态 this.bg_tryagain.active = true;
setTimeout(() => { pg.hw.playLocalAudio("tryagain");
this.close(); this.tryCount++;
pg.event.emit("speak_fail"); //需要处理提供两次机会。重置一次到open状态
}, 2000); setTimeout(() => {
this.close();
pg.event.emit("speak_fail");
}, 2000);
} else {
this.bg_tryagain.active = true;
pg.hw.playLocalAudio("tryagain");
this.tryCount++;
setTimeout(() => {
this.open(null);
}, 1000);
}
} }
}, 200); }, 300);
} }
start() { start() {
......
...@@ -14,15 +14,27 @@ export default class NewClass extends cc.Component { ...@@ -14,15 +14,27 @@ export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS: // LIFE-CYCLE CALLBACKS:
onLoad() { onLoad() {
this.initView();
let panel_gray = pg.view.find(this, "panel_gray"); let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start"); let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart"); let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs"); let bg_vs = pg.view.find(this, "bg_vs");
pg.view.touchOn(btn_start, this.onTouchStart, this); pg.view.touchOn(btn_start, this.onTouchStart, this);
pg.view.touchOn(btn_restart, this.onTouchRestart, this);
pg.event.on("game_over", () => {
this.onGameOver();
})
}
initView() {
let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
panel_gray.active = true; panel_gray.active = true;
btn_start.active = true; btn_start.active = true;
} }
onTouchStart() { onTouchStart() {
pg.hw.playLocalAudio("vs");
let panel_gray = pg.view.find(this, "panel_gray"); let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start"); let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart"); let btn_restart = pg.view.find(this, "btn_restart");
...@@ -30,11 +42,35 @@ export default class NewClass extends cc.Component { ...@@ -30,11 +42,35 @@ export default class NewClass extends cc.Component {
panel_gray.active = true; panel_gray.active = true;
btn_start.active = false; btn_start.active = false;
bg_vs.active = true; bg_vs.active = true;
pg.event.emit("game_start");
setTimeout(() => { setTimeout(() => {
bg_vs.active = false; bg_vs.active = false;
panel_gray.active = false; panel_gray.active = false;
pg.event.emit("game_start") }, 2000);
}, 100); }
onTouchRestart() {
pg.hw.playLocalAudio("vs");
let panel_gray = pg.view.find(this, "panel_gray");
let btn_start = pg.view.find(this, "btn_start");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
panel_gray.active = true;
btn_start.active = false;
btn_restart.active = false;
bg_vs.active = true;
setTimeout(() => {
bg_vs.active = false;
panel_gray.active = false;
btn_restart.active = false;
pg.event.emit("game_start");
}, 2000);
}
onGameOver() {
let panel_gray = pg.view.find(this, "panel_gray");
let btn_restart = pg.view.find(this, "btn_restart");
let bg_vs = pg.view.find(this, "bg_vs");
panel_gray.active = true;
btn_restart.active = true;
} }
update(dt) { } update(dt) { }
} }
...@@ -57,7 +57,7 @@ export default class NewClass extends cc.Component { ...@@ -57,7 +57,7 @@ export default class NewClass extends cc.Component {
this.playing = false; this.playing = false;
setTimeout(() => { setTimeout(() => {
resolve(''); resolve('');
}, 100); }, 1500);
}); });
} }
start() { start() {
......
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