Commit df7b2366 authored by 杨一航's avatar 杨一航

fix

parent a9681f62
......@@ -10,6 +10,9 @@ const { ccclass, property } = cc._decorator;
@ccclass
export default class EndView extends cc.Component {
@property(cc.Node)
frame: cc.Node = null;
@property(cc.Node)
winRoot: cc.Node = null;
......@@ -32,13 +35,18 @@ export default class EndView extends cc.Component {
replayNode: cc.Node = null;
onLoad() {
this.node.opacity = 0;
this.replayNode.on("click", this.replay, this)
}
showView(win: boolean, redScore, blueScore, redUrl, blueUrl) {
this.node.opacity = 255;
this.frame.scale = 0;
cc.tween(this.frame).to(1, { scale: 1 }, { easing: "sineIn" }).start();
this.winRoot.active = win;
this.loseRoot.active = !win;
this.lb_blue.string = blueScore;
......@@ -53,7 +61,7 @@ export default class EndView extends cc.Component {
}
replay() {
cc.game.restart();
cc.director.loadScene("L5R1_bingo");
}
}
......@@ -22,46 +22,19 @@
},
{
"__id__": 7
},
{
"__id__": 10
},
{
"__id__": 21
},
{
"__id__": 32
},
{
"__id__": 41
},
{
"__id__": 50
},
{
"__id__": 57
},
{
"__id__": 60
},
{
"__id__": 63
},
{
"__id__": 66
}
],
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 71
},
{
"__id__": 70
"__id__": 72
}
],
"_prefab": {
"__id__": 71
"__id__": 73
},
"_opacity": 255,
"_color": {
......@@ -262,20 +235,111 @@
},
{
"__type__": "cc.Node",
"_name": "bg",
"_name": "frame",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 8
},
{
"__id__": 11
},
{
"__id__": 22
},
{
"__id__": 33
},
{
"__id__": 42
},
{
"__id__": 51
},
{
"__id__": 58
},
{
"__id__": 61
},
{
"__id__": 64
},
{
"__id__": 67
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 70
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
"__id__": 9
}
],
"_prefab": {
"__id__": 9
"__id__": 10
},
"_opacity": 255,
"_color": {
......@@ -329,7 +393,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
"__id__": 8
},
"_enabled": true,
"_materials": [
......@@ -364,7 +428,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "e8kFWBNHVF743x/xQsX2Te",
"fileId": "14eiYnMdJCM5lL8ZCQ1U7h",
"sync": false
},
{
......@@ -372,23 +436,23 @@
"_name": "winRoot",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [
{
"__id__": 11
"__id__": 12
},
{
"__id__": 14
"__id__": 15
},
{
"__id__": 17
"__id__": 18
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 20
"__id__": 21
},
"_opacity": 255,
"_color": {
......@@ -442,17 +506,17 @@
"_name": "top",
"_objFlags": 0,
"_parent": {
"__id__": 10
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
"__id__": 13
}
],
"_prefab": {
"__id__": 13
"__id__": 14
},
"_opacity": 255,
"_color": {
......@@ -506,7 +570,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
"__id__": 12
},
"_enabled": true,
"_materials": [
......@@ -541,7 +605,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "58vQKe4uFEDpeO0kXszVEG",
"fileId": "aex+eqEi1MerCIM+owZfyg",
"sync": false
},
{
......@@ -549,17 +613,17 @@
"_name": "reward",
"_objFlags": 0,
"_parent": {
"__id__": 10
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 16
}
],
"_prefab": {
"__id__": 16
"__id__": 17
},
"_opacity": 255,
"_color": {
......@@ -613,7 +677,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"_materials": [
......@@ -648,7 +712,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "10yeAUWtVMFJgWwYntYf57",
"fileId": "532I/hCrFCl7KjGtK+SUXk",
"sync": false
},
{
......@@ -656,17 +720,17 @@
"_name": "WIN_",
"_objFlags": 0,
"_parent": {
"__id__": 10
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 19
}
],
"_prefab": {
"__id__": 19
"__id__": 20
},
"_opacity": 255,
"_color": {
......@@ -720,7 +784,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 18
},
"_enabled": true,
"_materials": [
......@@ -755,7 +819,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "b7qmEbewFIpocGOarJZgMb",
"fileId": "f69yFoeWpCcYXzHA2tLyDK",
"sync": false
},
{
......@@ -766,7 +830,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "7f9VXSbUhJfLWvNkzWSmaV",
"fileId": "53wxjsg39PUZggN0MLBhDX",
"sync": false
},
{
......@@ -774,23 +838,23 @@
"_name": "loseRoot",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [
{
"__id__": 22
"__id__": 23
},
{
"__id__": 25
"__id__": 26
},
{
"__id__": 28
"__id__": 29
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 31
"__id__": 32
},
"_opacity": 255,
"_color": {
......@@ -844,17 +908,17 @@
"_name": "top",
"_objFlags": 0,
"_parent": {
"__id__": 21
"__id__": 22
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 24
}
],
"_prefab": {
"__id__": 24
"__id__": 25
},
"_opacity": 255,
"_color": {
......@@ -908,7 +972,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"_materials": [
......@@ -943,7 +1007,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "beTZROgupL+LM6dnKJUk7D",
"fileId": "3fGT5Kr7lBq5Mcs4HX7Nc0",
"sync": false
},
{
......@@ -951,17 +1015,17 @@
"_name": "reward",
"_objFlags": 0,
"_parent": {
"__id__": 21
"__id__": 22
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 26
"__id__": 27
}
],
"_prefab": {
"__id__": 27
"__id__": 28
},
"_opacity": 255,
"_color": {
......@@ -1015,7 +1079,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
"__id__": 26
},
"_enabled": true,
"_materials": [
......@@ -1050,7 +1114,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "77Le9D5KlIgb1eTfry4MjH",
"fileId": "6c2Aqd9dJPwrzepijX9yim",
"sync": false
},
{
......@@ -1058,17 +1122,17 @@
"_name": "LOSE",
"_objFlags": 0,
"_parent": {
"__id__": 21
"__id__": 22
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 30
}
],
"_prefab": {
"__id__": 30
"__id__": 31
},
"_opacity": 255,
"_color": {
......@@ -1122,7 +1186,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
"__id__": 29
},
"_enabled": true,
"_materials": [
......@@ -1157,7 +1221,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "dceVi2xXRElq+D60X/mhXx",
"fileId": "33PtapH4dCoKNNCqBljo/y",
"sync": false
},
{
......@@ -1168,7 +1232,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "feEMaWOARJ8I3mE8hCiO0v",
"fileId": "2cLkon4OVN07/qaDUPIQeQ",
"sync": false
},
{
......@@ -1176,21 +1240,21 @@
"_name": "redHead",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [
{
"__id__": 33
"__id__": 34
}
],
"_active": true,
"_components": [
{
"__id__": 39
"__id__": 40
}
],
"_prefab": {
"__id__": 40
"__id__": 41
},
"_opacity": 255,
"_color": {
......@@ -1244,21 +1308,21 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 33
},
"_children": [
{
"__id__": 34
"__id__": 35
}
],
"_active": true,
"_components": [
{
"__id__": 37
"__id__": 38
}
],
"_prefab": {
"__id__": 38
"__id__": 39
},
"_opacity": 255,
"_color": {
......@@ -1312,17 +1376,17 @@
"_name": "redIcon",
"_objFlags": 0,
"_parent": {
"__id__": 33
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 36
}
],
"_prefab": {
"__id__": 36
"__id__": 37
},
"_opacity": 255,
"_color": {
......@@ -1376,7 +1440,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
"__id__": 35
},
"_enabled": true,
"_materials": [
......@@ -1409,7 +1473,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "c3QqnPGt1HdIrqsKi3wRXL",
"fileId": "b9/kHURpJOBpm33UvEuNOZ",
"sync": false
},
{
......@@ -1417,7 +1481,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 34
},
"_enabled": true,
"_materials": [
......@@ -1440,7 +1504,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "fdbOIRw9hICoKbqMf7dfB6",
"fileId": "75u0ThSXlJSKt6riVtYN35",
"sync": false
},
{
......@@ -1448,7 +1512,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
"__id__": 33
},
"_enabled": true,
"_materials": [
......@@ -1483,7 +1547,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "fbVF6OxpZCm4XFn3eCD/p7",
"fileId": "b1WN+iOOJKWpI/JWr+eCJe",
"sync": false
},
{
......@@ -1491,21 +1555,21 @@
"_name": "blueHead",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [
{
"__id__": 42
"__id__": 43
}
],
"_active": true,
"_components": [
{
"__id__": 48
"__id__": 49
}
],
"_prefab": {
"__id__": 49
"__id__": 50
},
"_opacity": 255,
"_color": {
......@@ -1559,21 +1623,21 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 41
"__id__": 42
},
"_children": [
{
"__id__": 43
"__id__": 44
}
],
"_active": true,
"_components": [
{
"__id__": 46
"__id__": 47
}
],
"_prefab": {
"__id__": 47
"__id__": 48
},
"_opacity": 255,
"_color": {
......@@ -1627,17 +1691,17 @@
"_name": "blueIcon",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 43
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 45
}
],
"_prefab": {
"__id__": 45
"__id__": 46
},
"_opacity": 255,
"_color": {
......@@ -1691,7 +1755,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 44
},
"_enabled": true,
"_materials": [
......@@ -1724,7 +1788,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "4dJgGV6QxKzr8pTU8BRj1T",
"fileId": "ea+guJxilLfb085g/MbZjR",
"sync": false
},
{
......@@ -1732,7 +1796,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 43
},
"_enabled": true,
"_materials": [
......@@ -1755,7 +1819,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "96eptC68xCe79uXxKQdwEP",
"fileId": "02HtruvfNLZrm9aCNIIaDH",
"sync": false
},
{
......@@ -1763,7 +1827,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 42
},
"_enabled": true,
"_materials": [
......@@ -1798,7 +1862,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "ddjpdndaxEBp/lOmELr5Rq",
"fileId": "81HYfPb5VKpKxYSyd+xiFN",
"sync": false
},
{
......@@ -1806,24 +1870,24 @@
"_name": "replayBtn",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [
{
"__id__": 51
"__id__": 52
}
],
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 55
},
{
"__id__": 55
"__id__": 56
}
],
"_prefab": {
"__id__": 56
"__id__": 57
},
"_opacity": 255,
"_color": {
......@@ -1877,17 +1941,17 @@
"_name": "lb",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 51
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 53
}
],
"_prefab": {
"__id__": 53
"__id__": 54
},
"_opacity": 255,
"_color": {
......@@ -1941,7 +2005,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 52
},
"_enabled": true,
"_materials": [
......@@ -1977,7 +2041,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "bdTHMTCPZMR57j8NdNwdol",
"fileId": "3ct2FArv5OVYGX9eLwufVr",
"sync": false
},
{
......@@ -1985,7 +2049,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 51
},
"_enabled": true,
"_materials": [
......@@ -2017,7 +2081,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 51
},
"_enabled": true,
"_normalMaterial": null,
......@@ -2088,25 +2152,25 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "d0VpVFkVtJl402mQ/V9+el",
"fileId": "ae0VJA3HxL6o0ga3sPnnT6",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "单独红灯 - 001",
"_name": "rlight",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 59
}
],
"_prefab": {
"__id__": 59
"__id__": 60
},
"_opacity": 255,
"_color": {
......@@ -2160,7 +2224,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 58
},
"_enabled": true,
"_materials": [
......@@ -2195,25 +2259,25 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "1eZAEZkGRL6Jw6LeN/Yf0r",
"fileId": "4c44jLzQ5AzZyXgxnInYF+",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "单独蓝灯 - 001",
"_name": "blight",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
"__id__": 62
}
],
"_prefab": {
"__id__": 62
"__id__": 63
},
"_opacity": 255,
"_color": {
......@@ -2267,7 +2331,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 61
},
"_enabled": true,
"_materials": [
......@@ -2302,7 +2366,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "6dJTCgYgJLmLD51thr2eYC",
"fileId": "5bcEPU2slBv72E0wbZbSSG",
"sync": false
},
{
......@@ -2310,17 +2374,17 @@
"_name": "lb_red",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 65
}
],
"_prefab": {
"__id__": 65
"__id__": 66
},
"_opacity": 255,
"_color": {
......@@ -2374,7 +2438,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 64
},
"_enabled": true,
"_materials": [
......@@ -2410,7 +2474,7 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "c6mQvagTZMXYBKSxCKd6cI",
"fileId": "31U2Kdxk9Emq+EXuZeA+cS",
"sync": false
},
{
......@@ -2418,17 +2482,17 @@
"_name": "lb_blue",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 68
}
],
"_prefab": {
"__id__": 68
"__id__": 69
},
"_opacity": 255,
"_color": {
......@@ -2482,7 +2546,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 67
},
"_enabled": true,
"_materials": [
......@@ -2518,7 +2582,18 @@
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "adkxAS8n9OzpjttuFq0B/J",
"fileId": "b5fJ4ROPVOkbssuuGwL9k8",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "84b72720-2013-4f2b-b787-52900432f34f"
},
"fileId": "b9tBmfLLFIbZqQFkbLxgYh",
"sync": false
},
{
......@@ -2529,26 +2604,29 @@
"__id__": 1
},
"_enabled": true,
"frame": {
"__id__": 7
},
"winRoot": {
"__id__": 10
"__id__": 11
},
"loseRoot": {
"__id__": 21
"__id__": 22
},
"redIcon": {
"__id__": 34
"__id__": 35
},
"blueIcon": {
"__id__": 43
"__id__": 44
},
"lb_red": {
"__id__": 64
"__id__": 65
},
"lb_blue": {
"__id__": 67
"__id__": 68
},
"replayNode": {
"__id__": 50
"__id__": 51
},
"_id": ""
},
......
......@@ -43,14 +43,14 @@ export default class Keyboard extends cc.Component {
for (let i = 0; i < btnList.length; ++i) {
let btnNode = btnList[i];
let key = btnNode.name;
btnNode.on("click", this.enterWord.bind(this, key), this);
btnNode.getChildByName("btn").on("click", this.enterWord.bind(this, key), this);
}
this.btnOkNode.on("click", this.sendWords, this)
this.btnbackNode.on("click", this.backWord, this)
this.btnShowNode.on("click", this.showIn, this)
this.btnHideNode.on("click", this.showOut, this)
this.btnHideNode.on("click", this.showOut.bind(this, false), this)
this.btnShowNode.active = false;
this.btnHideNode.active = false;
......@@ -97,7 +97,6 @@ export default class Keyboard extends cc.Component {
}
showOut(hideMini = false) {
if (this._moving) return;
this._moving = true;
this._wordList = [];
......@@ -108,7 +107,9 @@ export default class Keyboard extends cc.Component {
if (hideMini) {
this.btnShowNode.active = false;
this.btnHideNode.active = false;
} else {
this.btnShowNode.active = true;
this.btnHideNode.active = false;
}
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -105,22 +105,22 @@
"__id__": 302
},
{
"__id__": 393
"__id__": 379
},
{
"__id__": 444
"__id__": 430
}
],
"_active": true,
"_components": [
{
"__id__": 446
"__id__": 432
},
{
"__id__": 447
"__id__": 433
},
{
"__id__": 448
"__id__": 434
}
],
"_prefab": null,
......@@ -1400,7 +1400,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_1",
"_name": "bird0",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -1502,7 +1502,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_2",
"_name": "bird1",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -1604,7 +1604,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_3",
"_name": "bird2",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -1706,7 +1706,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_4",
"_name": "bird3",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -1808,7 +1808,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_1",
"_name": "bird4",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -1910,7 +1910,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_2",
"_name": "bird5",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2012,7 +2012,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_3",
"_name": "bird6",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2114,7 +2114,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_4",
"_name": "bird7",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2216,7 +2216,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_1",
"_name": "bird8",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2318,7 +2318,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_2",
"_name": "bird9",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2420,7 +2420,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_3",
"_name": "bird10",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2522,7 +2522,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_4",
"_name": "bird11",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2624,7 +2624,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_1",
"_name": "bird12",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2726,7 +2726,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_2",
"_name": "bird13",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2828,7 +2828,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_3",
"_name": "bird14",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -2930,7 +2930,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_4",
"_name": "bird15",
"_objFlags": 0,
"_parent": {
"__id__": 27
......@@ -3139,7 +3139,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_1",
"_name": "bird0",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3233,7 +3233,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_2",
"_name": "bird1",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3327,7 +3327,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_3",
"_name": "bird2",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3421,7 +3421,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird1_4",
"_name": "bird3",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3515,7 +3515,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_1",
"_name": "bird4",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3609,7 +3609,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_2",
"_name": "bird5",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3703,7 +3703,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_3",
"_name": "bird6",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3797,7 +3797,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird2_4",
"_name": "bird7",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3891,7 +3891,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_1",
"_name": "bird8",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -3985,7 +3985,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_2",
"_name": "bird9",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -4079,7 +4079,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_3",
"_name": "bird10",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -4173,7 +4173,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird3_4",
"_name": "bird11",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -4267,7 +4267,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_1",
"_name": "bird12",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -4361,7 +4361,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_2",
"_name": "bird13",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -4455,7 +4455,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_3",
"_name": "bird14",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -4549,7 +4549,7 @@
},
{
"__type__": "cc.Node",
"_name": "bird4_4",
"_name": "bird15",
"_objFlags": 0,
"_parent": {
"__id__": 60
......@@ -14887,27 +14887,6 @@
},
{
"__id__": 377
},
{
"__id__": 379
},
{
"__id__": 381
},
{
"__id__": 383
},
{
"__id__": 385
},
{
"__id__": 387
},
{
"__id__": 389
},
{
"__id__": 391
}
],
"_active": true,
......@@ -15124,7 +15103,7 @@
},
{
"__type__": "cc.Node",
"_name": "wordhas",
"_name": "wordRight",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15182,7 +15161,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "13nDqtA3NB/7SHi6pHblna"
"_id": "4aKa1X9RNCrZg9Vl7/POj1"
},
{
"__type__": "cc.AudioSource",
......@@ -15193,7 +15172,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "c3b862bd-e4e7-4a45-840d-1cd2665703a9"
"__uuid__": "a97668f7-c0e5-4a83-89dc-2aeabafdef57"
},
"_volume": 1,
"_mute": false,
......@@ -15201,11 +15180,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "086qEGO99KgZzvUDqPBkv+"
"_id": "e71J3RZLpDXp0HPyXUD0oh"
},
{
"__type__": "cc.Node",
"_name": "catRoud1",
"_name": "wordCardwrong",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15263,7 +15242,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "064Ciy21JJnLKdhYEk7MxO"
"_id": "01KTx48A9IB4VKtqBI57GY"
},
{
"__type__": "cc.AudioSource",
......@@ -15274,7 +15253,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "cf3a477b-0cbd-43e9-b045-c1a174450e50"
"__uuid__": "c41aa3a7-b710-4d29-93e2-d8b037cc47e1"
},
"_volume": 1,
"_mute": false,
......@@ -15282,11 +15261,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "f4CDb0UQJBh7icvB7mfzmT"
"_id": "b58oWXWZlLK4bDIEak1Ihh"
},
{
"__type__": "cc.Node",
"_name": "catRound2",
"_name": "line",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15344,7 +15323,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "abnMTq0nJBmYOGkD8s44o4"
"_id": "e6WANexPhNI4xIQhj25EHn"
},
{
"__type__": "cc.AudioSource",
......@@ -15355,7 +15334,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "379e6082-1ade-4c00-ac06-aa2d28146c3a"
"__uuid__": "84f98c7e-680e-41c4-9933-7ec53e966cd5"
},
"_volume": 1,
"_mute": false,
......@@ -15363,11 +15342,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "73CNPe0P5Nq6CxzrHjzGry"
"_id": "1ap94fYa1OwrCiyN3wITl4"
},
{
"__type__": "cc.Node",
"_name": "bingoWin",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15425,7 +15404,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "511tPdriZJJLAs2v6HIDvn"
"_id": "30k4VSxBxAZbej6K54D0LV"
},
{
"__type__": "cc.AudioSource",
......@@ -15436,19 +15415,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "ffdf578e-0629-48d4-b0de-c23d30b9d1dd"
"__uuid__": "2634b981-e21c-4670-ba5f-096b815eb072"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "dcabATe4VIULjFjLWbaqA5"
"preload": false,
"_id": "0beLtu/7dNqYpXcpfVuGoZ"
},
{
"__type__": "cc.Node",
"_name": "bingoLose",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15506,7 +15485,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d54LN+NMhGjLICSAm5wHMq"
"_id": "e87DSaFCVJfb2PAUkf4/o7"
},
{
"__type__": "cc.AudioSource",
......@@ -15517,19 +15496,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "bd69b85e-b726-4921-9723-f6d56a6d2a0a"
"__uuid__": "9268c83c-97f3-422e-ac30-3c5176abbecd"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "d2Ugms5PdDP4Rzws8heyKH"
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Node",
"_name": "wordRight",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15587,7 +15566,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4aKa1X9RNCrZg9Vl7/POj1"
"_id": "1cNakbaS1Gy40LPvVVdAI8"
},
{
"__type__": "cc.AudioSource",
......@@ -15598,19 +15577,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "a97668f7-c0e5-4a83-89dc-2aeabafdef57"
"__uuid__": "cc6df8ec-94fa-43c7-99cf-3e6ca74283eb"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "e71J3RZLpDXp0HPyXUD0oh"
"preload": false,
"_id": "dcIx+Mhk5PWIj3iTjP1Drv"
},
{
"__type__": "cc.Node",
"_name": "wordCardwrong",
"_name": "win",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15668,7 +15647,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "01KTx48A9IB4VKtqBI57GY"
"_id": "6etA53PppFPaFBLOTwY/9M"
},
{
"__type__": "cc.AudioSource",
......@@ -15679,19 +15658,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "c41aa3a7-b710-4d29-93e2-d8b037cc47e1"
"__uuid__": "095ead76-b9b5-47ef-b562-3eb09bd10b31"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "b58oWXWZlLK4bDIEak1Ihh"
"preload": false,
"_id": "f7lBXDUa9Nn7aQP25PxIF6"
},
{
"__type__": "cc.Node",
"_name": "allDone",
"_name": "loss",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15749,7 +15728,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4aPprKHZFGh53++ZV44Bwz"
"_id": "8f8xU9Oz5JSardi0SuL62p"
},
{
"__type__": "cc.AudioSource",
......@@ -15760,19 +15739,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "c736692f-86cb-4a84-bd39-ca2786751d89"
"__uuid__": "beb9ebd0-f1eb-462f-a629-f8de8c06dc7a"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "4fsnubuCNGPJPq37z0ghme"
"preload": false,
"_id": "30CssVbmFB3Y/4GusOmkZ6"
},
{
"__type__": "cc.Node",
"_name": "timeDone",
"_name": "piece",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15830,7 +15809,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "78i5hjei9GwKU0bLTY2viD"
"_id": "92Z3fPuANGsbe9r0l0dwRb"
},
{
"__type__": "cc.AudioSource",
......@@ -15841,19 +15820,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "402d025a-7ce0-45f4-a5b8-2238441bc5c3"
"__uuid__": "ab4124ed-e3fd-4436-8c94-1fe388f215ae"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "ecExHYjkNBSq/hg6x6ce/I"
"preload": false,
"_id": "13T4clSgFMf7BFSuBY/iqQ"
},
{
"__type__": "cc.Node",
"_name": "round2begin",
"_name": "match",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15911,7 +15890,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b3RV//vppASrNmFJgyDS4R"
"_id": "ebPv5of1ZBeaEZzqgDkB1d"
},
{
"__type__": "cc.AudioSource",
......@@ -15922,19 +15901,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "379e6082-1ade-4c00-ac06-aa2d28146c3a"
"__uuid__": "cea5587b-af50-40ca-b249-8adf586ed31c"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "3fD4ncxDJCrLdxAnElnpcM"
"preload": false,
"_id": "dendZ1DP5NFq0Tt/9HbhLl"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -15992,7 +15971,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "30k4VSxBxAZbej6K54D0LV"
"_id": "35/QpFBQ9AUos6RoIsDwQV"
},
{
"__type__": "cc.AudioSource",
......@@ -16003,7 +15982,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "2634b981-e21c-4670-ba5f-096b815eb072"
"__uuid__": "9268c83c-97f3-422e-ac30-3c5176abbecd"
},
"_volume": 1,
"_mute": false,
......@@ -16011,11 +15990,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "0beLtu/7dNqYpXcpfVuGoZ"
"_id": "59r8wNUfdEtZa1cEwMzd5E"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_name": "grow",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16073,7 +16052,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e87DSaFCVJfb2PAUkf4/o7"
"_id": "cboXn9Ln5IoI57m9wBw7Hz"
},
{
"__type__": "cc.AudioSource",
......@@ -16084,7 +16063,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "9268c83c-97f3-422e-ac30-3c5176abbecd"
"__uuid__": "537c47fc-8421-4043-8465-69956a09594f"
},
"_volume": 1,
"_mute": false,
......@@ -16092,11 +16071,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
"_id": "b8fbpJeRNNvaU9SKSp9TZK"
},
{
"__type__": "cc.Node",
"_name": "right",
"_name": "youturnTip",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16154,7 +16133,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "1cNakbaS1Gy40LPvVVdAI8"
"_id": "e24MRhOVdAeJNXlhDmc8Zw"
},
{
"__type__": "cc.AudioSource",
......@@ -16165,19 +16144,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "cc6df8ec-94fa-43c7-99cf-3e6ca74283eb"
"__uuid__": "c893db8b-68b6-4f1a-a35a-983fb376ece7"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dcIx+Mhk5PWIj3iTjP1Drv"
"preload": true,
"_id": "b7f3vm+2VFvaPWvtqF4yE+"
},
{
"__type__": "cc.Node",
"_name": "win",
"_name": "otherturn",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16235,7 +16214,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6etA53PppFPaFBLOTwY/9M"
"_id": "82EqTJu85BwrwI57+uanNi"
},
{
"__type__": "cc.AudioSource",
......@@ -16246,19 +16225,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "095ead76-b9b5-47ef-b562-3eb09bd10b31"
"__uuid__": "d982949c-bff2-4ae3-b847-9ba05ddd961a"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "f7lBXDUa9Nn7aQP25PxIF6"
"preload": true,
"_id": "1e6v94nbpHVKxUuot0E2K8"
},
{
"__type__": "cc.Node",
"_name": "loss",
"_name": "gameStart",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16316,7 +16295,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8f8xU9Oz5JSardi0SuL62p"
"_id": "c84FviOFFChZFnpROjk9ZZ"
},
{
"__type__": "cc.AudioSource",
......@@ -16327,19 +16306,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "beb9ebd0-f1eb-462f-a629-f8de8c06dc7a"
"__uuid__": "72246b94-167e-4a13-b4b4-0ab93f556a38"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "30CssVbmFB3Y/4GusOmkZ6"
"preload": true,
"_id": "eeOuz26YpGn6A3sfNkCoAU"
},
{
"__type__": "cc.Node",
"_name": "piece",
"_name": "flyd",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16397,7 +16376,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "92Z3fPuANGsbe9r0l0dwRb"
"_id": "44VPvrt8RKd6qEpzmHa9+Y"
},
{
"__type__": "cc.AudioSource",
......@@ -16408,19 +16387,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "ab4124ed-e3fd-4436-8c94-1fe388f215ae"
"__uuid__": "125f9b59-96b8-48ec-a791-45ae546aaaf5"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "13T4clSgFMf7BFSuBY/iqQ"
"preload": true,
"_id": "aeLkCnE8pJyJURYbSNCfyc"
},
{
"__type__": "cc.Node",
"_name": "match",
"_name": "book",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16478,7 +16457,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ebPv5of1ZBeaEZzqgDkB1d"
"_id": "b2t7v3d31KXYVBvgt38Bbm"
},
{
"__type__": "cc.AudioSource",
......@@ -16489,19 +16468,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "cea5587b-af50-40ca-b249-8adf586ed31c"
"__uuid__": "1186d583-e7b6-428a-8eb3-4395c278a714"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dendZ1DP5NFq0Tt/9HbhLl"
"preload": true,
"_id": "bdvGGyagNCVInVoiNlu4kq"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_name": "bush",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16559,7 +16538,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "35/QpFBQ9AUos6RoIsDwQV"
"_id": "80D5oB6mhFVLvuCVdU/uAk"
},
{
"__type__": "cc.AudioSource",
......@@ -16570,19 +16549,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "9268c83c-97f3-422e-ac30-3c5176abbecd"
"__uuid__": "93462777-90a8-4014-8f79-766e9f1171eb"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "59r8wNUfdEtZa1cEwMzd5E"
"preload": true,
"_id": "6fUnYhQmNLJLKtkRiTt0Ya"
},
{
"__type__": "cc.Node",
"_name": "grow",
"_name": "farm",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16640,7 +16619,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cboXn9Ln5IoI57m9wBw7Hz"
"_id": "61VeJYbTFDbodY0uBtn1Tz"
},
{
"__type__": "cc.AudioSource",
......@@ -16651,19 +16630,19 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "537c47fc-8421-4043-8465-69956a09594f"
"__uuid__": "029fd470-e6f8-463a-942f-5992313056a2"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "b8fbpJeRNNvaU9SKSp9TZK"
"preload": true,
"_id": "26ebsXpOpKq5Zqh7MhBhD2"
},
{
"__type__": "cc.Node",
"_name": "youturnTip",
"_name": "car",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16721,7 +16700,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e24MRhOVdAeJNXlhDmc8Zw"
"_id": "b5pR7vifNNTatZ/F68KN1D"
},
{
"__type__": "cc.AudioSource",
......@@ -16732,7 +16711,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "c893db8b-68b6-4f1a-a35a-983fb376ece7"
"__uuid__": "6739634e-4b68-490b-bba2-9a0268beaa14"
},
"_volume": 1,
"_mute": false,
......@@ -16740,11 +16719,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "b7f3vm+2VFvaPWvtqF4yE+"
"_id": "27Usyt4hBLfoDUN+NIU9Xz"
},
{
"__type__": "cc.Node",
"_name": "otherturn",
"_name": "nurse",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16802,7 +16781,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "82EqTJu85BwrwI57+uanNi"
"_id": "1bSemmvJtKoYiYrbLjSTYY"
},
{
"__type__": "cc.AudioSource",
......@@ -16813,7 +16792,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "d982949c-bff2-4ae3-b847-9ba05ddd961a"
"__uuid__": "53186d4b-8aee-4ffb-bbc5-bda34934e632"
},
"_volume": 1,
"_mute": false,
......@@ -16821,11 +16800,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "1e6v94nbpHVKxUuot0E2K8"
"_id": "cbpkvr3qpF5JXxx82jSiDm"
},
{
"__type__": "cc.Node",
"_name": "gameStart",
"_name": "mouse",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16883,7 +16862,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c84FviOFFChZFnpROjk9ZZ"
"_id": "eakR4/rGtChrIHq4zG54hF"
},
{
"__type__": "cc.AudioSource",
......@@ -16894,7 +16873,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "72246b94-167e-4a13-b4b4-0ab93f556a38"
"__uuid__": "4787b516-cfb8-4e94-9ecb-511207551bf6"
},
"_volume": 1,
"_mute": false,
......@@ -16902,11 +16881,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "eeOuz26YpGn6A3sfNkCoAU"
"_id": "c0r8gwov5FlYkmLdOsMPp+"
},
{
"__type__": "cc.Node",
"_name": "flyd",
"_name": "purple",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -16964,7 +16943,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "44VPvrt8RKd6qEpzmHa9+Y"
"_id": "62Ob8ca41H5LdjTGgc7HCE"
},
{
"__type__": "cc.AudioSource",
......@@ -16975,7 +16954,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "125f9b59-96b8-48ec-a791-45ae546aaaf5"
"__uuid__": "36a17193-9c5f-487a-9daf-f189dc25579e"
},
"_volume": 1,
"_mute": false,
......@@ -16983,11 +16962,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "aeLkCnE8pJyJURYbSNCfyc"
"_id": "1eYE7Lau1BUbWlJY96ruCO"
},
{
"__type__": "cc.Node",
"_name": "book",
"_name": "boy",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17045,7 +17024,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b2t7v3d31KXYVBvgt38Bbm"
"_id": "c0ypdGbEVBfKWJckk2vJvI"
},
{
"__type__": "cc.AudioSource",
......@@ -17056,7 +17035,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "1186d583-e7b6-428a-8eb3-4395c278a714"
"__uuid__": "bef612ef-131c-4462-a287-c382db48aaa7"
},
"_volume": 1,
"_mute": false,
......@@ -17064,11 +17043,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "bdvGGyagNCVInVoiNlu4kq"
"_id": "35D/Cnzj1NKKuTx+mJCRHc"
},
{
"__type__": "cc.Node",
"_name": "bush",
"_name": "foot",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17126,7 +17105,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "80D5oB6mhFVLvuCVdU/uAk"
"_id": "ceHa2clpNBz4reRut0ZyJZ"
},
{
"__type__": "cc.AudioSource",
......@@ -17137,7 +17116,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "93462777-90a8-4014-8f79-766e9f1171eb"
"__uuid__": "2c5cbd6d-6ad3-46de-9b9f-32babc96561d"
},
"_volume": 1,
"_mute": false,
......@@ -17145,11 +17124,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "6fUnYhQmNLJLKtkRiTt0Ya"
"_id": "eaLuCuk+5Bgqfh4NOmXR59"
},
{
"__type__": "cc.Node",
"_name": "farm",
"_name": "soil",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17207,7 +17186,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "61VeJYbTFDbodY0uBtn1Tz"
"_id": "e9B9DcgMtNT565okH4Bds+"
},
{
"__type__": "cc.AudioSource",
......@@ -17218,7 +17197,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "029fd470-e6f8-463a-942f-5992313056a2"
"__uuid__": "9691ab79-cadc-48e2-b116-89d84dce5e8d"
},
"_volume": 1,
"_mute": false,
......@@ -17226,11 +17205,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "26ebsXpOpKq5Zqh7MhBhD2"
"_id": "c15kCNAKxH96ZUHYlFxrnN"
},
{
"__type__": "cc.Node",
"_name": "car",
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17288,7 +17267,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b5pR7vifNNTatZ/F68KN1D"
"_id": "aaHdGJ6cxBOYGrGKjBJsXe"
},
{
"__type__": "cc.AudioSource",
......@@ -17299,7 +17278,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "6739634e-4b68-490b-bba2-9a0268beaa14"
"__uuid__": "57d94c1c-c834-4248-8dc6-9c3de6c9da92"
},
"_volume": 1,
"_mute": false,
......@@ -17307,11 +17286,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "27Usyt4hBLfoDUN+NIU9Xz"
"_id": "30U4TsogVCrLL4Eem35yXv"
},
{
"__type__": "cc.Node",
"_name": "nurse",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17369,7 +17348,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "1bSemmvJtKoYiYrbLjSTYY"
"_id": "63I7TBGVZLJbXfIb2ys3rO"
},
{
"__type__": "cc.AudioSource",
......@@ -17380,7 +17359,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "53186d4b-8aee-4ffb-bbc5-bda34934e632"
"__uuid__": "b0b4c7f1-7e6f-4a7a-9bc0-308cd55d37aa"
},
"_volume": 1,
"_mute": false,
......@@ -17388,11 +17367,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "cbpkvr3qpF5JXxx82jSiDm"
"_id": "d1nd82ottGTIJ3xTNMyfzJ"
},
{
"__type__": "cc.Node",
"_name": "mouse",
"_name": "cow",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17450,7 +17429,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "eakR4/rGtChrIHq4zG54hF"
"_id": "237GgCX2NO3q7OLdT3RnIo"
},
{
"__type__": "cc.AudioSource",
......@@ -17461,7 +17440,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "4787b516-cfb8-4e94-9ecb-511207551bf6"
"__uuid__": "04c4579c-137f-4199-9aac-4565f34577e0"
},
"_volume": 1,
"_mute": false,
......@@ -17469,11 +17448,11 @@
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "c0r8gwov5FlYkmLdOsMPp+"
"_id": "ectrRYNmdMW6/+K6ti486n"
},
{
"__type__": "cc.Node",
"_name": "purple",
"_name": "teacher",
"_objFlags": 0,
"_parent": {
"__id__": 302
......@@ -17531,7 +17510,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "62Ob8ca41H5LdjTGgc7HCE"
"_id": "c7k/AOM0dFCIjab71Hbm74"
},
{
"__type__": "cc.AudioSource",
......@@ -17541,573 +17520,6 @@
"__id__": 365
},
"_enabled": true,
"_clip": {
"__uuid__": "36a17193-9c5f-487a-9daf-f189dc25579e"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "1eYE7Lau1BUbWlJY96ruCO"
},
{
"__type__": "cc.Node",
"_name": "boy",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 368
}
],
"_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": "c0ypdGbEVBfKWJckk2vJvI"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 367
},
"_enabled": true,
"_clip": {
"__uuid__": "bef612ef-131c-4462-a287-c382db48aaa7"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "35D/Cnzj1NKKuTx+mJCRHc"
},
{
"__type__": "cc.Node",
"_name": "foot",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 370
}
],
"_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": "ceHa2clpNBz4reRut0ZyJZ"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 369
},
"_enabled": true,
"_clip": {
"__uuid__": "2c5cbd6d-6ad3-46de-9b9f-32babc96561d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "eaLuCuk+5Bgqfh4NOmXR59"
},
{
"__type__": "cc.Node",
"_name": "soil",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 372
}
],
"_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": "e9B9DcgMtNT565okH4Bds+"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 371
},
"_enabled": true,
"_clip": {
"__uuid__": "9691ab79-cadc-48e2-b116-89d84dce5e8d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "c15kCNAKxH96ZUHYlFxrnN"
},
{
"__type__": "cc.Node",
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 374
}
],
"_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": "aaHdGJ6cxBOYGrGKjBJsXe"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 373
},
"_enabled": true,
"_clip": {
"__uuid__": "57d94c1c-c834-4248-8dc6-9c3de6c9da92"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "30U4TsogVCrLL4Eem35yXv"
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 376
}
],
"_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": "63I7TBGVZLJbXfIb2ys3rO"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 375
},
"_enabled": true,
"_clip": {
"__uuid__": "b0b4c7f1-7e6f-4a7a-9bc0-308cd55d37aa"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "d1nd82ottGTIJ3xTNMyfzJ"
},
{
"__type__": "cc.Node",
"_name": "cow",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 378
}
],
"_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": "237GgCX2NO3q7OLdT3RnIo"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 377
},
"_enabled": true,
"_clip": {
"__uuid__": "04c4579c-137f-4199-9aac-4565f34577e0"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": true,
"_id": "ectrRYNmdMW6/+K6ti486n"
},
{
"__type__": "cc.Node",
"_name": "teacher",
"_objFlags": 0,
"_parent": {
"__id__": 302
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 380
}
],
"_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": "c7k/AOM0dFCIjab71Hbm74"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
},
"_enabled": true,
"_clip": {
"__uuid__": "b7aef287-a3b7-48f0-a38d-ade5723c2500"
},
......@@ -18130,7 +17542,7 @@
"_active": true,
"_components": [
{
"__id__": 382
"__id__": 368
}
],
"_prefab": null,
......@@ -18186,7 +17598,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 381
"__id__": 367
},
"_enabled": true,
"_clip": {
......@@ -18211,7 +17623,7 @@
"_active": true,
"_components": [
{
"__id__": 384
"__id__": 370
}
],
"_prefab": null,
......@@ -18267,7 +17679,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 383
"__id__": 369
},
"_enabled": true,
"_clip": {
......@@ -18292,7 +17704,7 @@
"_active": true,
"_components": [
{
"__id__": 386
"__id__": 372
}
],
"_prefab": null,
......@@ -18348,7 +17760,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 385
"__id__": 371
},
"_enabled": true,
"_clip": {
......@@ -18373,7 +17785,7 @@
"_active": true,
"_components": [
{
"__id__": 388
"__id__": 374
}
],
"_prefab": null,
......@@ -18429,7 +17841,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 387
"__id__": 373
},
"_enabled": true,
"_clip": {
......@@ -18454,7 +17866,7 @@
"_active": true,
"_components": [
{
"__id__": 390
"__id__": 376
}
],
"_prefab": null,
......@@ -18510,7 +17922,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 389
"__id__": 375
},
"_enabled": true,
"_clip": {
......@@ -18535,7 +17947,7 @@
"_active": true,
"_components": [
{
"__id__": 392
"__id__": 378
}
],
"_prefab": null,
......@@ -18591,7 +18003,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 391
"__id__": 377
},
"_enabled": true,
"_clip": {
......@@ -18614,10 +18026,10 @@
},
"_children": [
{
"__id__": 394
"__id__": 380
},
{
"__id__": 397
"__id__": 383
}
],
"_active": false,
......@@ -18675,11 +18087,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 393
"__id__": 379
},
"_children": [
{
"__id__": 395
"__id__": 381
}
],
"_active": true,
......@@ -18737,13 +18149,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 394
"__id__": 380
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 396
"__id__": 382
}
],
"_prefab": null,
......@@ -18799,7 +18211,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 395
"__id__": 381
},
"_enabled": true,
"_materials": [
......@@ -18834,9 +18246,30 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 393
"__id__": 379
},
"_children": [
{
"__id__": 384
},
{
"__id__": 386
},
{
"__id__": 388
},
{
"__id__": 390
},
{
"__id__": 392
},
{
"__id__": 394
},
{
"__id__": 396
},
{
"__id__": 398
},
......@@ -18884,27 +18317,6 @@
},
{
"__id__": 428
},
{
"__id__": 430
},
{
"__id__": 432
},
{
"__id__": 434
},
{
"__id__": 436
},
{
"__id__": 438
},
{
"__id__": 440
},
{
"__id__": 442
}
],
"_active": true,
......@@ -18962,13 +18374,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 399
"__id__": 385
}
],
"_prefab": null,
......@@ -19024,7 +18436,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 398
"__id__": 384
},
"_enabled": true,
"_materials": [
......@@ -19056,13 +18468,13 @@
"_name": "brown",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 401
"__id__": 387
}
],
"_prefab": null,
......@@ -19118,7 +18530,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 400
"__id__": 386
},
"_enabled": true,
"_materials": [
......@@ -19150,13 +18562,13 @@
"_name": "bush",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 403
"__id__": 389
}
],
"_prefab": null,
......@@ -19212,7 +18624,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 402
"__id__": 388
},
"_enabled": true,
"_materials": [
......@@ -19244,13 +18656,13 @@
"_name": "mouse",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 405
"__id__": 391
}
],
"_prefab": null,
......@@ -19306,7 +18718,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 404
"__id__": 390
},
"_enabled": true,
"_materials": [
......@@ -19338,13 +18750,13 @@
"_name": "house",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 407
"__id__": 393
}
],
"_prefab": null,
......@@ -19400,7 +18812,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 406
"__id__": 392
},
"_enabled": true,
"_materials": [
......@@ -19432,13 +18844,13 @@
"_name": "toy",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 409
"__id__": 395
}
],
"_prefab": null,
......@@ -19494,7 +18906,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 408
"__id__": 394
},
"_enabled": true,
"_materials": [
......@@ -19526,13 +18938,13 @@
"_name": "cow",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 411
"__id__": 397
}
],
"_prefab": null,
......@@ -19588,7 +19000,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 410
"__id__": 396
},
"_enabled": true,
"_materials": [
......@@ -19620,13 +19032,13 @@
"_name": "purple",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 413
"__id__": 399
}
],
"_prefab": null,
......@@ -19682,7 +19094,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 412
"__id__": 398
},
"_enabled": true,
"_materials": [
......@@ -19714,13 +19126,13 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 415
"__id__": 401
}
],
"_prefab": null,
......@@ -19776,7 +19188,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 414
"__id__": 400
},
"_enabled": true,
"_materials": [
......@@ -19808,13 +19220,13 @@
"_name": "foot",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 417
"__id__": 403
}
],
"_prefab": null,
......@@ -19870,7 +19282,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 416
"__id__": 402
},
"_enabled": true,
"_materials": [
......@@ -19902,13 +19314,13 @@
"_name": "book",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 419
"__id__": 405
}
],
"_prefab": null,
......@@ -19964,7 +19376,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 418
"__id__": 404
},
"_enabled": true,
"_materials": [
......@@ -19996,13 +19408,13 @@
"_name": "boy",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 421
"__id__": 407
}
],
"_prefab": null,
......@@ -20058,7 +19470,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 420
"__id__": 406
},
"_enabled": true,
"_materials": [
......@@ -20090,13 +19502,13 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 423
"__id__": 409
}
],
"_prefab": null,
......@@ -20152,7 +19564,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 422
"__id__": 408
},
"_enabled": true,
"_materials": [
......@@ -20184,13 +19596,13 @@
"_name": "car",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 425
"__id__": 411
}
],
"_prefab": null,
......@@ -20246,7 +19658,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 424
"__id__": 410
},
"_enabled": true,
"_materials": [
......@@ -20278,13 +19690,13 @@
"_name": "soil",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 427
"__id__": 413
}
],
"_prefab": null,
......@@ -20340,7 +19752,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 426
"__id__": 412
},
"_enabled": true,
"_materials": [
......@@ -20372,13 +19784,13 @@
"_name": "nurse",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 429
"__id__": 415
}
],
"_prefab": null,
......@@ -20434,7 +19846,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 428
"__id__": 414
},
"_enabled": true,
"_materials": [
......@@ -20466,13 +19878,13 @@
"_name": "girl",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 431
"__id__": 417
}
],
"_prefab": null,
......@@ -20528,7 +19940,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 430
"__id__": 416
},
"_enabled": true,
"_materials": [
......@@ -20560,13 +19972,13 @@
"_name": "tractor",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 433
"__id__": 419
}
],
"_prefab": null,
......@@ -20622,7 +20034,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 432
"__id__": 418
},
"_enabled": true,
"_materials": [
......@@ -20654,13 +20066,13 @@
"_name": "doctor",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 435
"__id__": 421
}
],
"_prefab": null,
......@@ -20716,7 +20128,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 434
"__id__": 420
},
"_enabled": true,
"_materials": [
......@@ -20748,13 +20160,13 @@
"_name": "farm",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 437
"__id__": 423
}
],
"_prefab": null,
......@@ -20810,7 +20222,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 436
"__id__": 422
},
"_enabled": true,
"_materials": [
......@@ -20842,13 +20254,13 @@
"_name": "teacher",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 439
"__id__": 425
}
],
"_prefab": null,
......@@ -20904,7 +20316,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 438
"__id__": 424
},
"_enabled": true,
"_materials": [
......@@ -20936,13 +20348,13 @@
"_name": "BlueBox",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 441
"__id__": 427
}
],
"_prefab": null,
......@@ -20998,7 +20410,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 440
"__id__": 426
},
"_enabled": true,
"_materials": [
......@@ -21030,13 +20442,13 @@
"_name": "RedBox",
"_objFlags": 0,
"_parent": {
"__id__": 397
"__id__": 383
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 443
"__id__": 429
}
],
"_prefab": null,
......@@ -21092,7 +20504,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 442
"__id__": 428
},
"_enabled": true,
"_materials": [
......@@ -21130,7 +20542,7 @@
"_active": true,
"_components": [
{
"__id__": 445
"__id__": 431
}
],
"_prefab": null,
......@@ -21186,7 +20598,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 444
"__id__": 430
},
"_enabled": true,
"_materials": [
......
import { delayCall } from "../../../form/src/app/play/Unit";
import EndView from "../prefabs/endView/EndView";
import Keyboard from "../prefabs/keyboards/Keyboard";
import LoadingLayer from "../script/BoardGame_yyh_LoadingLayer";
......@@ -41,21 +40,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
_gameWordList = [];
excellent: any;
_nowData: any;
private _myData: any;
private _loadingDone: boolean = false;
private _loadingCall: Function
private _playingAudio: boolean;
private _canClick: any;
private _recordBefore: boolean = false;
private _coinNode: cc.Node;
private _springNode: cc.Node;
private _leftTime: number;
private _redLb: cc.Label;
private _blueLb: cc.Label;
private _redDot: cc.Node;
private _blueDot: cc.Node;
private _lastIndex: any;
private _checkLast: boolean;
private _keyboard: Keyboard;
private _blueHeadIcon: cc.Node;
private _redHeadIcon: cc.Node;
......@@ -72,6 +64,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
lb_round2: cc.Node;
private _localAudioRoot: cc.Node;
private _round: number;
private _catSpeaking: boolean;
private _audioNode: cc.Node;
onLoad() {
......@@ -106,12 +100,28 @@ export default class SceneComponent extends MyCocosSceneComponent {
addPreloadAudio() {
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.gameStartAudio });
this._audioResList.push({ url: this.data.gameLoadingAudio });
this._audioResList.push({ url: this.data.waitingWheel });
this._audioResList.push({ url: this.data.waitingPiece });
this._audioResList.push({ url: this.data.waitingTurn });
this._audioResList.push({ url: this.data.recordTip });
// 猫咪读条音频(匹配界面开始匹配前): audioUrl_loading
// 猫咪开始音频(刚进入游戏): audioUrl_start
// 猫咪第一轮答题待机音频(第一轮游戏过程中点击猫咪): audioUrl_waiting_firstRound
// 填词被抢先语音(填写完单词发现别人填写过): audioUrl_filled
// 第一次弹出键盘音频: audioUrl_keyboard_pop
// 第一轮因时间到而结束语音(第一轮结束时): audioUrl_timeout_firstround
// 第一轮因填写完成而结束语音(第一轮结束时): audioUrl_finish_firstRound
// 猫咪第二轮答题开始音频(第二轮游戏开始后): audioUrl_waiting_secondRound
// 猫咪胜利结束音频(两轮游戏都结束): audioUrl_win
// 猫咪失败结束音频(两轮游戏都结束): audioUrl_lose
this._audioResList.push({ url: this.data.audioUrl_loading });
this._audioResList.push({ url: this.data.audioUrl_start });
this._audioResList.push({ url: this.data.audioUrl_waiting_firstRound });
this._audioResList.push({ url: this.data.audioUrl_waiting_secondRound });
this._audioResList.push({ url: this.data.audioUrl_filled });
this._audioResList.push({ url: this.data.audioUrl_keyboard_pop });
this._audioResList.push({ url: this.data.audioUrl_timeout_firstround });
this._audioResList.push({ url: this.data.audioUrl_finish_firstRound });
this._audioResList.push({ url: this.data.audioUrl_win });
this._audioResList.push({ url: this.data.audioUrl_lose });
}
addPreloadAnima() { }
......@@ -127,7 +137,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
initLoadingLayer() {
this.loadingLayer.setMaxPlayerNumber(2);
this.loadingLayer.onLoadFinished(() => {
this.playAudioByUrl(this.data.gameStartAudio);
// this.playAudioByUrl(this.data.audioUrl_start);
this._loadingDone = true;
if (this._loadingCall) {
this._loadingCall();
......@@ -135,7 +145,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
});
this.playAudioByUrl(this.data.gameLoadingAudio);
this.playAudioByUrl(this.data.audioUrl_loading);
}
initView() {
this.initProtory();
......@@ -162,31 +172,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
this._clockNode = this.cat.parent.getChildByName("clock");
this._clockTime = this._clockNode.getChildByName("lb").getComponent(cc.Label);
this._wordCardRoot = cc.find("Canvas/center/wordBgRoot");
this._birdsRoot = cc.find("Canvas/center/birdsRoot");
this.lb_round2 = cc.find("Canvas/lb_round2");
this.cat.getComponent(dragonBones.ArmatureDisplay).addEventListener(dragonBones.EventObject.COMPLETE, () => {
console.log("ani complite");
this.catAni();
});
this.bfly.getComponent(dragonBones.ArmatureDisplay).addEventListener(dragonBones.EventObject.COMPLETE, () => {
this.bfly.getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 0);
});
this.cat.getChildByName("btn").on("click", () => {
if (this._playingAudio) {
if (this._catSpeaking) {
return;
}
this._playingAudio = true;
this.catAni(true);
this._catSpeaking = true;
this.catAni();
})
}
......@@ -204,33 +199,23 @@ export default class SceneComponent extends MyCocosSceneComponent {
});
}
catAni(playAudio?) {
catAni() {
if (this._round == 1) {
asyncPlayDragonBoneAnimation(this.cat, "begin", 0);
this.playLocalAudio("catRoud1", -1, () => {
this.playAudioByUrl(this.data.audioUrl_waiting_firstRound, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0);
this._playingAudio = false;
this._catSpeaking = false;
})
} else if (this._round == 2) {
asyncPlayDragonBoneAnimation(this.cat, "begin", 0);
this.playLocalAudio("catRound2", -1, () => {
this.playAudioByUrl(this.data.audioUrl_waiting_secondRound, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0);
this._playingAudio = false;
this._catSpeaking = false;
})
}
}
_status = {
state: 0,// -1:未开始 0 准备阶段 1 roll 2 判定
Red: 0,
Blue: 0,
RedTime: 0,
BlueTime: 0,
step: 0,
current: "Red",
time: 0
};
playerId;
isRoomOwner;
server: GameServer;
......@@ -367,16 +352,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
else if (type == MsgType.ROUND_START_EV) {
if (data.round == 1) {
this._round = 1
} else {
this._round = 2
let index = data.index;
this._stepWord = this._round2WordList[index].word;
cc.audioEngine.stopAllEffects();
this.playLocalAudio(this._stepWord);
this.unschedule(this._cyclePlayAudio)
this.schedule(this._cyclePlayAudio, 2.5, 3, 2.2)
// this.lb_round2.getComponent(cc.Label).string = "当前发音单词:" + this._stepWord
......@@ -438,7 +422,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
_doStartGameAni(data: MsgData) {
cc.log("_doStartGameAni")
this.log("_doStartGameAni")
this._updateClock(data.Time);
......@@ -454,27 +438,21 @@ export default class SceneComponent extends MyCocosSceneComponent {
}).delay(1.5).call(() => {
this._sendMsg(MsgType.USER_PREPARE_REQ, {});
this.playAudioByUrl(this.data.audioUrl_keyboard_pop)
this._keyboard.showIn();
}).by(1, { x: -offsetX }).start();
}
let doneLoadCall = async () => {
this._cardsAni();
if (this.data.gameStartAudio) {
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this.playAudioByUrl(this.data.gameStartAudio, () => {
aniCall();
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
})
} else {
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this.playLocalAudio("gameStart", -1, () => {
aniCall();
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
})
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this._catSpeaking = true;
this.playAudioByUrl(this.data.audioUrl_start, () => {
aniCall();
this._catSpeaking = false;
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
})
}
}
if (this._loadingDone) {
......@@ -495,35 +473,43 @@ export default class SceneComponent extends MyCocosSceneComponent {
this._updateClock(data.Time);
this._updateProgrss(data.RedScore, data.BuleSocre, data.Round)
}
_roundEndCheck(data) {
async _roundEndCheck(data) {
if (data.round == 1) {
this._round2WordList = data.answerList
console.log("====_round2WordList====");
console.log(this._round2WordList);
// resaon 1 全部完成, 2 时间到了
// reason 1 全部完成, 2 时间到了
this._keyboard.showOut(true);
this._clockTime.string = "0";
console.log("_roundEndCheck");
console.log(data);
if (data.resaon == 1) {
if (data.reason == 1) {
cc.audioEngine.stopAllEffects();
this._catSpeaking = false;
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this.playLocalAudio("allDone", -1, () => {
this._catSpeaking = true;
this.playAudioByUrl(this.data.audioUrl_finish_firstRound, () => {
this._reInitCards();
this.playLocalAudio("round2begin", -1, () => {
this.playAudioByUrl(this.data.audioUrl_waiting_secondRound, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
this._catSpeaking = false;
aniCall();
})
})
} else {
cc.audioEngine.stopAllEffects();
this._catSpeaking = false;
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this.playLocalAudio("timeDone", -1, async () => {
this._catSpeaking = true;
this.playAudioByUrl(this.data.audioUrl_timeout_firstround, async () => {
await this._updateCards(data.answerList, true)
this._reInitCards();
this.playLocalAudio("round2begin", -1, () => {
this.playAudioByUrl(this.data.audioUrl_waiting_secondRound, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
this._catSpeaking = false;
aniCall();
})
......@@ -554,10 +540,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else {
this.unschedule(this._cyclePlayAudio)
this.unschedule(this._cyclePlayAudio);
cc.audioEngine.stopAllEffects();
// 鸟飞走
await this._birdsFly(data.ary);
let endview = cc.instantiate(this.endViewPrefab);
......@@ -570,21 +557,69 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.playerId == data.uuid) {
this.playLocalAudio("bingoWin");
cc.audioEngine.stopAllEffects();
this._catSpeaking = false;
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this.playAudioByUrl(this.data.audioUrl_win, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
this._catSpeaking = false;
endViewCom.showView(
true,
realRedScore,
realBlueScore,
this._redUrl,
this._blueUrl
)
})
} else {
this.playLocalAudio("bingoLose");
cc.audioEngine.stopAllEffects();
this._catSpeaking = false;
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this.playAudioByUrl(this.data.audioUrl_lose, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
this._catSpeaking = false;
endViewCom.showView(
false,
realRedScore,
realBlueScore,
this._redUrl,
this._blueUrl
)
})
}
endViewCom.showView(
this.playerId == data.uuid,
realRedScore,
realBlueScore,
this._redUrl,
this._blueUrl
)
}
}
async _birdsFly(list) {
console.log("fly list=====");
console.log(list);
let len = list[1] - list[0];
let x = 1; let y = 1;
if (len == 1) {
x = 0;
} else if (len == 4) {
x = 0;
} else if (len == 5) {
x = -1
} else if (len == 3) {
x = 1
}
this.playLocalAudio("line");
for (let i = 0; i < list.length; ++i) {
let bird = this._birdsRoot.getChildByName("bird" + list[i])
let card = this._wordCardRoot.getChildByName("bird" + list[i])
cc.tween(bird).by(2, { x: x * 3000, y: y * 3000 }).start();
asyncPlayDragonBoneAnimation(bird, "right", 0);
cc.tween(card).by(2, { x: x * 3000, y: y * 3000 }).start()
}
await asyncDelay(2)
}
_initCardClickEvent() {
this._wordCardRoot.children.forEach((card, index) => {
if (!card.getComponent(cc.Button)) {
......@@ -733,7 +768,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (data.result == resultType.REPEAT) {
cc.log("这个单词已经存在了");
this.playLocalAudio("wordhas")
this.playAudioByUrl(this.data.audioUrl_filled)
} else if (data.result == resultType.WRONG) {
cc.log("抱歉 你答错了");
......@@ -849,9 +884,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
async _coursewareEnd(score: number) {
// if (this._status.Blue + this._status.step > 4 || this._status.Red + this._status.step > 4) {
// score = 50
// }
this.log("测评分数:" + score);
if (score >= 70) {
......@@ -895,150 +928,24 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
roundEndCheck(isRight?) {
const blueHead = cc.find("Canvas/road/blueHead");
const redHead = cc.find("Canvas/road/redHead");
blueHead.getChildByName("tree").getComponent(cc.ProgressBar).progress = this._status.Blue / 10;
redHead.getChildByName("tree").getComponent(cc.ProgressBar).progress = this._status.Red / 10;
if (isRight) {
// if (this.isMySide) {
// this._checkLast = true
// this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("right", 1);
// }
if (this._status.current == "Red") {
redHead.getChildByName("spine").getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 1);
} else {
blueHead.getChildByName("spine").getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 1)
}
} else {
// if (this.isMySide) {
// this._checkLast = true
// this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("wrong", 1);
// }
}
// this.networkHelper.sendFrame({
// type: "stateUpdate",
// uuid: this.myData.uuid,
// });
}
showYourTurn() {
this.log("=====showYourTurn===========");
return new Promise((resolve, reject) => {
const yourTurn = cc.find("Canvas/yourturn");
yourTurn.active = true;
this.playLocalAudio("youturnTip")
cc.tween(yourTurn)
.set({ opacity: 0, scale: 5 })
.to(1, { opacity: 255, scale: 2 })
.delay(0.5)
.to(0.5, { opacity: 0 })
.call(() => {
resolve(null);
})
.start();
});
}
async toEnd() {
const blueHead = cc.find("Canvas/road/blueHead");
const redHead = cc.find("Canvas/road/redHead");
blueHead.getChildByName("tree").getComponent(cc.ProgressBar).progress = this._status.Blue / 10;
redHead.getChildByName("tree").getComponent(cc.ProgressBar).progress = this._status.Red / 10;
this._redLb.string = `${this._status.Red}/10`;
this._blueLb.string = `${this._status.Blue}/10`;
let node = cc.find(`Canvas/road/root/piece${this._status.current}`);
// let pos = this._bluePointRoot.getChildByName("19").position;
// if (this._status.current == "Red") {
// pos = this._redPointRoot.getChildByName("19").position;
// }
// await asyncTweenTo(
// node,
// 0.7,
// { x: pos.x, y: pos.y },
// { easing: "cubicOut" }
// );
// if (this.isMySide) {
// this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("finish", 1);
// } else {
// }
// await asyncDelay(0.2);
}
showWin() {
let endRoot = cc.find("Canvas/endRoot")
endRoot.active = true;
endRoot.opacity = 0;
cc.tween(endRoot).to(1, { opacity: 255 }).start();
const win = cc.find("Canvas/endRoot/win");
win.active = true;
this.playLocalAudio("win");
}
showLoss() {
let endRoot = cc.find("Canvas/endRoot")
endRoot.active = true;
endRoot.opacity = 0;
cc.tween(endRoot).to(1, { opacity: 255 }).start();
const loss = cc.find("Canvas/endRoot/loss");
loss.active = true;
this.playLocalAudio("loss");
}
finish() {
// onHomeworkFinish();
}
async rollTheDice(num) {
if (this._isRolling) {
return;
}
this._springNode.getComponent(cc.Animation).play();
cc.tween(this._coinNode).by(0.14, { y: -10 }).start();
await asyncDelay(0.14);
this._coinNode.getChildByName("coinA").active = false;
this._coinNode.getChildByName("coinB").active = true;
cc.tween(this._coinNode).by(0.5, { y: 400 }).start();
await asyncDelay(0.5);
this._coinNode.parent = this._cardList[num].parent;
this._coinNode.position = cc.v3(this._cardList[num].x, this._cardList[num].y + 1000, 0)
cc.tween(this._coinNode).by(0.5, { y: -1000 }, { easing: cc.easeBounceIn.name }).start();
await asyncDelay(0.5);
this._coinNode.getChildByName("coinA").active = true;
this._coinNode.getChildByName("coinB").active = false;
return Promise.resolve();
}
async playLocalAudio(audioName) {
async playLocalAudio(audioName, time = -1, callback = null) {
if (this._audioNode) {
if (this._audioNode?.getComponent(cc.AudioSource)?.isPlaying) {
this._audioNode?.getComponent(cc.AudioSource).stop();
}
}
let audioNode = this._localAudioRoot.getChildByName(audioName);
if (audioNode) {
let realTime = audioNode.getComponent(cc.AudioSource).getDuration();
audioNode.getComponent(cc.AudioSource).play();
if (time > 0) realTime = time;
await asyncDelay(realTime);
callback && callback();
this._audioNode = audioNode;
// let realTime = audioNode.getComponent(cc.AudioSource).getDuration();
audioNode.getComponent(cc.AudioSource).play();
} else {
console.warn("no local audio with name " + audioName);
......@@ -1046,9 +953,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
// 生命周期
onDestroy() {
this.networkHelper.onDestroy();
......
......@@ -64,9 +64,9 @@ export class AI {
} else if (type == MsgType.ROUND_END_EV) {
let data = msgData;
if (data.round == 1) {
this._countDelay = 500000000;
} else {
this._countDelay = 500000000;
}
}
}
......
......@@ -135,7 +135,12 @@ export class MyCocosSceneComponent extends cc.Component {
// ------------------------------------------------
getSprNode(resName) {
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
let nodef = cc.find('Canvas/res/img/' + resName)
if (!nodef) {
console.warn("no name res = " + resName);
return;
}
const sf = nodef.getComponent(cc.Sprite).spriteFrame;
const node = new cc.Node();
node.addComponent(cc.Sprite).spriteFrame = sf;
return node;
......
......@@ -42,7 +42,7 @@ export class GameServer {
_answerList = []
private _useAI: boolean;
private _timer: number;
private _totalTime: number = 16;
private _totalTime: number = 160;
private _gameData: MsgData;
private _userPrepareCount: number;
private _lastTime: number;
......@@ -238,10 +238,13 @@ export class GameServer {
data: this._gameData.Msg
})
let realRedScore = (Math.floor(this._gameData.RedScore / 100) + this._gameData.RedScore % 100);
let realBlueScore = (Math.floor(this._gameData.BuleSocre / 100) + this._gameData.BuleSocre % 100);
let winSide = "Red"
if (this._gameData.BuleSocre > this._gameData.RedScore) {
if (realBlueScore > realRedScore) {
winSide = "Blue"
} else if (this._gameData.BuleSocre == this._gameData.RedScore) {
} else if (realRedScore == realBlueScore) {
let answerList = this._gameData.getAnswerList();
for (let i = answerList.length - 1; i >= 0; ++i) {
let answer = answerList[i];
......@@ -385,17 +388,16 @@ export class GameServer {
});
if (this._gameData.getAnswerList().length == 16) {
this._senMsg({
type: MsgType.ROOM_ST,
data: this._gameData.Msg
});
let answerList = this._gameData.getAnswerList();
for (let i = 0; i < answerList.length; ++i) {
this._round_1_cardList.push(answerList[i].word);
}
this._senMsg({
type: MsgType.ROUND_END_EV,
data: { round: this._gameData.Round, reason: 1, answerList: this._round_1_cardList }
data: { round: this._gameData.Round, reason: 1, answerList: answerList }
});
clearInterval(this._timer)
this._initRound2();
} else {
......
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