Commit 3ca854f0 authored by Tt's avatar Tt

飞行棋修改

parent 8cdc0b84
......@@ -21,6 +21,7 @@ export default class NewClass extends cc.Component {
private aning;
onLoad() {
this.aning = false;
this.showAni();
}
protected onDestroy(): void {
cc.Tween.stopAll();
......@@ -29,16 +30,19 @@ export default class NewClass extends cc.Component {
showAni() {
if (this.aning) return;
if (this.node && this.node.active) {
this.node.x += 400;
this.node.y -= 200;
this.aning = true;
cc.tween(this.node).by(0.3, { x: -400, y: 200 }).delay(1.5).call(() => {
this.aning = false;
this.showAni();
}).start();
// this.node.y -= 200;
// this.aning = true;
cc.tween(this.node).repeatForever(
cc.tween()
.by(.5, { y: -50 })
.by(.5, { y: 50 }).start()
).start();
// this.aning = false;
// this.showAni();
// }).start();
}
}
update(dt) {
this.showAni();
// this.showAni();
}
}
......@@ -87,49 +87,49 @@
"__id__": 39
},
{
"__id__": 41
"__id__": 42
},
{
"__id__": 43
"__id__": 44
},
{
"__id__": 48
"__id__": 50
},
{
"__id__": 55
"__id__": 57
},
{
"__id__": 92
"__id__": 96
},
{
"__id__": 106
"__id__": 113
},
{
"__id__": 141
"__id__": 148
},
{
"__id__": 181
"__id__": 188
},
{
"__id__": 187
"__id__": 194
},
{
"__id__": 203
"__id__": 210
},
{
"__id__": 213
"__id__": 220
}
],
"_active": true,
"_components": [
{
"__id__": 226
"__id__": 233
},
{
"__id__": 227
"__id__": 234
},
{
"__id__": 228
"__id__": 235
}
],
"_prefab": null,
......@@ -1777,7 +1777,7 @@
"_spriteFrame": {
"__uuid__": "976960db-8ac1-41c2-9050-602f6d791e48"
},
"_type": 0,
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
......@@ -1830,6 +1830,9 @@
"_components": [
{
"__id__": 40
},
{
"__id__": 41
}
],
"_prefab": null,
......@@ -1913,6 +1916,33 @@
"_N$cacheMode": 0,
"_id": "0e7Pe0QUZGvYzLeNPVknyP"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 78.77800000000002,
"_right": 0,
"_top": 136.974,
"_bottom": 485.226,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c4Lurn4flEsZKmI5HV6wOl"
},
{
"__type__": "cc.Node",
"_name": "bg_map",
......@@ -1924,7 +1954,7 @@
"_active": true,
"_components": [
{
"__id__": 42
"__id__": 43
}
],
"_prefab": null,
......@@ -1980,7 +2010,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 42
},
"_enabled": true,
"_materials": [
......@@ -2016,14 +2046,18 @@
},
"_children": [
{
"__id__": 44
"__id__": 45
},
{
"__id__": 46
"__id__": 47
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 49
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2035,8 +2069,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 92,
"height": 92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2047,8 +2081,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
-597.462,
-313.981,
0,
0,
0,
......@@ -2077,13 +2111,13 @@
"_name": "on",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 44
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 46
}
],
"_prefab": null,
......@@ -2109,8 +2143,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-579.353,
-306.642,
0,
0,
0,
0,
0,
......@@ -2139,7 +2173,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 45
},
"_enabled": true,
"_materials": [
......@@ -2171,13 +2205,13 @@
"_name": "off",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 44
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 47
"__id__": 48
}
],
"_prefab": null,
......@@ -2203,8 +2237,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-579.353,
-306.642,
0,
0,
0,
0,
0,
......@@ -2233,7 +2267,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 47
},
"_enabled": true,
"_materials": [
......@@ -2260,6 +2294,33 @@
"_atlas": null,
"_id": "fbLCweZg5Kc7sa52rmcaVP"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 23.53800000000001,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c88eoaKf9PF7j7iYtJBNHw"
},
{
"__type__": "cc.Node",
"_name": "btn_laba",
......@@ -2268,14 +2329,14 @@
"__id__": 2
},
"_children": [
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
}
],
"_active": true,
......@@ -2333,13 +2394,13 @@
"_name": "btn_laba",
"_objFlags": 0,
"_parent": {
"__id__": 48
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
"__id__": 52
}
],
"_prefab": null,
......@@ -2395,7 +2456,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
"__id__": 51
},
"_enabled": true,
"_materials": [
......@@ -2427,13 +2488,13 @@
"_name": "btn_laba1",
"_objFlags": 0,
"_parent": {
"__id__": 48
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 54
}
],
"_prefab": null,
......@@ -2489,7 +2550,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 53
},
"_enabled": true,
"_materials": [
......@@ -2521,13 +2582,13 @@
"_name": "btn_laba2",
"_objFlags": 0,
"_parent": {
"__id__": 48
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 56
}
],
"_prefab": null,
......@@ -2583,7 +2644,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 55
},
"_enabled": true,
"_materials": [
......@@ -2619,19 +2680,19 @@
},
"_children": [
{
"__id__": 56
"__id__": 58
},
{
"__id__": 73
"__id__": 76
}
],
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 94
},
{
"__id__": 91
"__id__": 95
}
],
"_prefab": null,
......@@ -2687,18 +2748,22 @@
"_name": "player",
"_objFlags": 0,
"_parent": {
"__id__": 55
"__id__": 57
},
"_children": [
{
"__id__": 57
"__id__": 59
},
{
"__id__": 59
"__id__": 61
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 75
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2722,7 +2787,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-605.175,
-624.181,
139.324,
0,
0,
......@@ -2752,13 +2817,13 @@
"_name": "icon_player",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 60
}
],
"_prefab": null,
......@@ -2814,7 +2879,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 59
},
"_enabled": true,
"_materials": [
......@@ -2846,12 +2911,9 @@
"_name": "icon_player_dice",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 58
},
"_children": [
{
"__id__": 60
},
{
"__id__": 62
},
......@@ -2866,12 +2928,15 @@
},
{
"__id__": 70
},
{
"__id__": 72
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 72
"__id__": 74
}
],
"_prefab": null,
......@@ -2927,13 +2992,13 @@
"_name": "icon_6",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
"__id__": 63
}
],
"_prefab": null,
......@@ -2989,7 +3054,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 62
},
"_enabled": true,
"_materials": [
......@@ -3021,13 +3086,13 @@
"_name": "icon_5",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 65
}
],
"_prefab": null,
......@@ -3083,7 +3148,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
"__id__": 64
},
"_enabled": true,
"_materials": [
......@@ -3115,13 +3180,13 @@
"_name": "icon_4",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
"__id__": 67
}
],
"_prefab": null,
......@@ -3177,7 +3242,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 66
},
"_enabled": true,
"_materials": [
......@@ -3209,13 +3274,13 @@
"_name": "icon_3",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 69
}
],
"_prefab": null,
......@@ -3271,7 +3336,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 68
},
"_enabled": true,
"_materials": [
......@@ -3303,13 +3368,13 @@
"_name": "icon_2",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 61
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 69
"__id__": 71
}
],
"_prefab": null,
......@@ -3365,7 +3430,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 70
},
"_enabled": true,
"_materials": [
......@@ -3397,13 +3462,13 @@
"_name": "icon_1",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 61
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 71
"__id__": 73
}
],
"_prefab": null,
......@@ -3459,7 +3524,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
"__id__": 72
},
"_enabled": true,
"_materials": [
......@@ -3491,7 +3556,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 61
},
"_enabled": true,
"_materials": [
......@@ -3518,23 +3583,54 @@
"_atlas": null,
"_id": "d9D+4CiwVGW7+3phk1RiwV"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": -7.18100000000004,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "74kqDUyZdNurHUtsFR/Xs2"
},
{
"__type__": "cc.Node",
"_name": "robot",
"_objFlags": 0,
"_parent": {
"__id__": 55
"__id__": 57
},
"_children": [
{
"__id__": 74
"__id__": 77
},
{
"__id__": 76
"__id__": 79
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 93
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -3558,7 +3654,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
526.876,
561.876,
29.968,
0,
0,
......@@ -3588,13 +3684,13 @@
"_name": "icon_robot",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
"__id__": 78
}
],
"_prefab": null,
......@@ -3650,7 +3746,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 77
},
"_enabled": true,
"_materials": [
......@@ -3682,32 +3778,32 @@
"_name": "icon_robot_dice",
"_objFlags": 0,
"_parent": {
"__id__": 73
"__id__": 76
},
"_children": [
{
"__id__": 77
"__id__": 80
},
{
"__id__": 79
"__id__": 82
},
{
"__id__": 81
"__id__": 84
},
{
"__id__": 83
"__id__": 86
},
{
"__id__": 85
"__id__": 88
},
{
"__id__": 87
"__id__": 90
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 89
"__id__": 92
}
],
"_prefab": null,
......@@ -3763,13 +3859,13 @@
"_name": "icon_6",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 81
}
],
"_prefab": null,
......@@ -3825,7 +3921,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 80
},
"_enabled": true,
"_materials": [
......@@ -3857,13 +3953,13 @@
"_name": "icon_5",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 83
}
],
"_prefab": null,
......@@ -3919,7 +4015,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"_materials": [
......@@ -3951,13 +4047,13 @@
"_name": "icon_4",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 82
"__id__": 85
}
],
"_prefab": null,
......@@ -4013,7 +4109,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 84
},
"_enabled": true,
"_materials": [
......@@ -4045,13 +4141,13 @@
"_name": "icon_3",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
"__id__": 87
}
],
"_prefab": null,
......@@ -4107,7 +4203,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -4139,13 +4235,13 @@
"_name": "icon_2",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 79
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 86
"__id__": 89
}
],
"_prefab": null,
......@@ -4201,7 +4297,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -4233,13 +4329,13 @@
"_name": "icon_1",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 79
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 88
"__id__": 91
}
],
"_prefab": null,
......@@ -4295,7 +4391,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -4327,7 +4423,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 79
},
"_enabled": true,
"_materials": [
......@@ -4354,12 +4450,39 @@
"_atlas": null,
"_id": "4d25mezMpLfZXDuCR+NxgH"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": 105.12400000000002,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "98+c2hasxOlI7YdQl6Wrj8"
},
{
"__type__": "32f0cXvwnlAO58ohUBSECCO",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 57
},
"_enabled": true,
"label": null,
......@@ -4371,7 +4494,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 57
},
"_enabled": true,
"alignMode": 1,
......@@ -4402,19 +4525,22 @@
},
"_children": [
{
"__id__": 93
"__id__": 97
},
{
"__id__": 98
},
{
"__id__": 103
},
{
"__id__": 108
}
],
"_active": true,
"_components": [
{
"__id__": 105
"__id__": 112
}
],
"_prefab": null,
......@@ -4465,25 +4591,83 @@
"groupIndex": 0,
"_id": "fbfS0wN+dK1660sHtbl1TJ"
},
{
"__type__": "cc.Node",
"_name": "items",
"_objFlags": 0,
"_parent": {
"__id__": 96
},
"_children": [],
"_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": "8124jFaUFLaaFbJQNj9Opk"
},
{
"__type__": "cc.Node",
"_name": "chess_player",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 96
},
"_children": [
{
"__id__": 94
"__id__": 99
}
],
"_active": true,
"_components": [
{
"__id__": 96
"__id__": 101
},
{
"__id__": 97
"__id__": 102
}
],
"_prefab": null,
......@@ -4509,8 +4693,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-458.757,
-303.725,
-289,
57,
0,
0,
0,
......@@ -4539,13 +4723,13 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 100
}
],
"_prefab": null,
......@@ -4601,7 +4785,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 99
},
"_enabled": true,
"_clip": {
......@@ -4620,7 +4804,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -4652,7 +4836,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 98
},
"_enabled": true,
"isRobot": false,
......@@ -4663,20 +4847,20 @@
"_name": "chess_robot",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 96
},
"_children": [
{
"__id__": 99
"__id__": 104
}
],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 106
},
{
"__id__": 102
"__id__": 107
}
],
"_prefab": null,
......@@ -4702,8 +4886,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-427.102,
-303.12,
-248,
57,
0,
0,
0,
......@@ -4732,13 +4916,13 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 98
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
"__id__": 105
}
],
"_prefab": null,
......@@ -4794,7 +4978,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
"__id__": 104
},
"_enabled": true,
"_clip": {
......@@ -4813,7 +4997,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 103
},
"_enabled": true,
"_materials": [
......@@ -4845,7 +5029,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 103
},
"_enabled": true,
"isRobot": true,
......@@ -4853,25 +5037,29 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 92
"__id__": 96
},
"_children": [],
"_active": true,
"_children": [
{
"__id__": 109
}
],
"_active": false,
"_components": [
{
"__id__": 104
"__id__": 111
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 237,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
......@@ -4888,8 +5076,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-813.247,
-60.406,
-268.519,
132.65,
0,
0,
0,
......@@ -4913,12 +5101,106 @@
"groupIndex": 0,
"_id": "6f/UcL7thPHaIWBMC6fWvu"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 108
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 75,
"height": 75
},
"_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": "7c3Do/6PVKO6eMyyzcsoJn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
"__id__": 109
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "14usLjBBNM0JzvuY9rX26g"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"_materials": [
......@@ -4950,7 +5232,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 96
},
"_enabled": true,
"alignMode": 1,
......@@ -4981,19 +5263,19 @@
},
"_children": [
{
"__id__": 107
"__id__": 114
},
{
"__id__": 134
"__id__": 141
},
{
"__id__": 137
"__id__": 144
}
],
"_active": false,
"_components": [
{
"__id__": 140
"__id__": 147
}
],
"_prefab": null,
......@@ -5049,53 +5331,53 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 106
"__id__": 113
},
"_children": [
{
"__id__": 108
"__id__": 115
},
{
"__id__": 110
"__id__": 117
},
{
"__id__": 112
"__id__": 119
},
{
"__id__": 114
"__id__": 121
},
{
"__id__": 116
"__id__": 123
},
{
"__id__": 118
"__id__": 125
},
{
"__id__": 120
"__id__": 127
},
{
"__id__": 122
"__id__": 129
},
{
"__id__": 124
"__id__": 131
},
{
"__id__": 126
"__id__": 133
},
{
"__id__": 128
"__id__": 135
},
{
"__id__": 130
"__id__": 137
}
],
"_active": true,
"_components": [
{
"__id__": 132
"__id__": 139
},
{
"__id__": 133
"__id__": 140
}
],
"_prefab": null,
......@@ -5151,13 +5433,13 @@
"_name": "bg_1",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 109
"__id__": 116
}
],
"_prefab": null,
......@@ -5213,7 +5495,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
"__id__": 115
},
"_enabled": true,
"_materials": [
......@@ -5245,13 +5527,13 @@
"_name": "bg_2",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 111
"__id__": 118
}
],
"_prefab": null,
......@@ -5307,7 +5589,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 117
},
"_enabled": true,
"_materials": [
......@@ -5339,13 +5621,13 @@
"_name": "bg_3",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 113
"__id__": 120
}
],
"_prefab": null,
......@@ -5401,7 +5683,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
"__id__": 119
},
"_enabled": true,
"_materials": [
......@@ -5433,13 +5715,13 @@
"_name": "bg_4",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 115
"__id__": 122
}
],
"_prefab": null,
......@@ -5495,7 +5777,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 121
},
"_enabled": true,
"_materials": [
......@@ -5527,13 +5809,13 @@
"_name": "bg_5",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 117
"__id__": 124
}
],
"_prefab": null,
......@@ -5589,7 +5871,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
"__id__": 123
},
"_enabled": true,
"_materials": [
......@@ -5621,13 +5903,13 @@
"_name": "bg_6",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 119
"__id__": 126
}
],
"_prefab": null,
......@@ -5683,7 +5965,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 125
},
"_enabled": true,
"_materials": [
......@@ -5715,13 +5997,13 @@
"_name": "bg_dice3",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 128
}
],
"_prefab": null,
......@@ -5777,7 +6059,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -5809,13 +6091,13 @@
"_name": "bg_dice2",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 123
"__id__": 130
}
],
"_prefab": null,
......@@ -5871,7 +6153,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 129
},
"_enabled": true,
"_materials": [
......@@ -5903,13 +6185,13 @@
"_name": "bg_dice1",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 125
"__id__": 132
}
],
"_prefab": null,
......@@ -5965,7 +6247,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
"__id__": 131
},
"_enabled": true,
"_materials": [
......@@ -5997,13 +6279,13 @@
"_name": "bg_dice5",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 127
"__id__": 134
}
],
"_prefab": null,
......@@ -6059,7 +6341,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 126
"__id__": 133
},
"_enabled": true,
"_materials": [
......@@ -6091,13 +6373,13 @@
"_name": "bg_dice4",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 136
}
],
"_prefab": null,
......@@ -6153,7 +6435,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 135
},
"_enabled": true,
"_materials": [
......@@ -6185,13 +6467,13 @@
"_name": "bg_dice6",
"_objFlags": 0,
"_parent": {
"__id__": 107
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 131
"__id__": 138
}
],
"_prefab": null,
......@@ -6247,7 +6529,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
"__id__": 137
},
"_enabled": true,
"_materials": [
......@@ -6279,7 +6561,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 114
},
"_enabled": true,
"label": null,
......@@ -6291,7 +6573,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 114
},
"_enabled": true,
"alignMode": 1,
......@@ -6318,16 +6600,16 @@
"_name": "btn_stop",
"_objFlags": 0,
"_parent": {
"__id__": 106
"__id__": 113
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 135
"__id__": 142
},
{
"__id__": 136
"__id__": 143
}
],
"_prefab": null,
......@@ -6383,7 +6665,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 141
},
"_enabled": true,
"_materials": [
......@@ -6415,7 +6697,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 141
},
"_enabled": true,
"_normalMaterial": null,
......@@ -6476,7 +6758,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 134
"__id__": 141
},
"_id": "6btfsmisBFibMp9UnkII+V"
},
......@@ -6485,16 +6767,16 @@
"_name": "hand",
"_objFlags": 0,
"_parent": {
"__id__": 106
"__id__": 113
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 138
"__id__": 145
},
{
"__id__": 139
"__id__": 146
}
],
"_prefab": null,
......@@ -6521,7 +6803,7 @@
"ctor": "Float64Array",
"array": [
2.136,
-232.019,
-209.385,
0,
0,
0,
......@@ -6550,7 +6832,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
"__id__": 144
},
"_enabled": true,
"_materials": [
......@@ -6582,7 +6864,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
"__id__": 144
},
"_enabled": true,
"label": null,
......@@ -6594,7 +6876,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
"__id__": 113
},
"_enabled": true,
"_materials": [
......@@ -6630,10 +6912,7 @@
},
"_children": [
{
"__id__": 142
},
{
"__id__": 144
"__id__": 149
},
{
"__id__": 151
......@@ -6642,28 +6921,31 @@
"__id__": 158
},
{
"__id__": 161
"__id__": 165
},
{
"__id__": 163
"__id__": 168
},
{
"__id__": 165
"__id__": 170
},
{
"__id__": 171
"__id__": 172
},
{
"__id__": 177
"__id__": 178
},
{
"__id__": 184
}
],
"_active": true,
"_components": [
{
"__id__": 179
"__id__": 186
},
{
"__id__": 180
"__id__": 187
}
],
"_prefab": null,
......@@ -6719,13 +7001,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 143
"__id__": 150
}
],
"_prefab": null,
......@@ -6781,7 +7063,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
"__id__": 149
},
"_enabled": true,
"_materials": [
......@@ -6813,17 +7095,17 @@
"_name": "text_tip",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [
{
"__id__": 145
"__id__": 152
},
{
"__id__": 147
"__id__": 154
},
{
"__id__": 149
"__id__": 156
}
],
"_active": false,
......@@ -6881,13 +7163,13 @@
"_name": "text_tip",
"_objFlags": 0,
"_parent": {
"__id__": 144
"__id__": 151
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 146
"__id__": 153
}
],
"_prefab": null,
......@@ -6943,7 +7225,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
"__id__": 152
},
"_enabled": true,
"_materials": [
......@@ -6975,13 +7257,13 @@
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 144
"__id__": 151
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 148
"__id__": 155
}
],
"_prefab": null,
......@@ -7037,7 +7319,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -7072,13 +7354,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 144
"__id__": 151
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 150
"__id__": 157
}
],
"_prefab": null,
......@@ -7134,7 +7416,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 149
"__id__": 156
},
"_enabled": true,
"_materials": [
......@@ -7166,20 +7448,20 @@
"_name": "btn_audio_clock",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [
{
"__id__": 152
"__id__": 159
},
{
"__id__": 154
"__id__": 161
}
],
"_active": false,
"_components": [
{
"__id__": 157
"__id__": 164
}
],
"_prefab": null,
......@@ -7235,13 +7517,13 @@
"_name": "time_0",
"_objFlags": 0,
"_parent": {
"__id__": 151
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
"__id__": 160
}
],
"_prefab": null,
......@@ -7297,7 +7579,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 159
},
"_enabled": true,
"_materials": [
......@@ -7332,16 +7614,16 @@
"_name": "time_1",
"_objFlags": 0,
"_parent": {
"__id__": 151
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 155
"__id__": 162
},
{
"__id__": 156
"__id__": 163
}
],
"_prefab": null,
......@@ -7397,7 +7679,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 161
},
"_enabled": true,
"_materials": [
......@@ -7432,7 +7714,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 161
},
"_enabled": true,
"_color": {
......@@ -7450,7 +7732,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
"__id__": 158
},
"_enabled": true,
"_materials": [
......@@ -7482,16 +7764,16 @@
"_name": "btn_audio_start",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 159
"__id__": 166
},
{
"__id__": 160
"__id__": 167
}
],
"_prefab": null,
......@@ -7547,7 +7829,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 165
},
"_enabled": true,
"_materials": [
......@@ -7579,7 +7861,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 165
},
"_enabled": true,
"_normalMaterial": null,
......@@ -7647,13 +7929,13 @@
"_name": "btn_audio_stop",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 162
"__id__": 169
}
],
"_prefab": null,
......@@ -7709,7 +7991,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
"__id__": 168
},
"_enabled": true,
"_materials": [
......@@ -7741,13 +8023,13 @@
"_name": "speak_ske",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 164
"__id__": 171
}
],
"_prefab": null,
......@@ -7803,7 +8085,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 163
"__id__": 170
},
"_enabled": true,
"_materials": [
......@@ -7843,20 +8125,20 @@
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [
{
"__id__": 166
"__id__": 173
},
{
"__id__": 168
"__id__": 175
}
],
"_active": false,
"_components": [
{
"__id__": 170
"__id__": 177
}
],
"_prefab": null,
......@@ -7912,13 +8194,13 @@
"_name": "bg_light-big",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 172
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 167
"__id__": 174
}
],
"_prefab": null,
......@@ -7974,7 +8256,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 166
"__id__": 173
},
"_enabled": true,
"_materials": [
......@@ -8006,13 +8288,13 @@
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 165
"__id__": 172
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 169
"__id__": 176
}
],
"_prefab": null,
......@@ -8068,7 +8350,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 168
"__id__": 175
},
"_enabled": true,
"_materials": [
......@@ -8100,7 +8382,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 172
},
"_enabled": false,
"_materials": [
......@@ -8132,20 +8414,20 @@
"_name": "bg_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [
{
"__id__": 172
"__id__": 179
},
{
"__id__": 174
"__id__": 181
}
],
"_active": false,
"_components": [
{
"__id__": 176
"__id__": 183
}
],
"_prefab": null,
......@@ -8201,13 +8483,13 @@
"_name": "bg_light-small",
"_objFlags": 0,
"_parent": {
"__id__": 171
"__id__": 178
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 173
"__id__": 180
}
],
"_prefab": null,
......@@ -8263,7 +8545,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 172
"__id__": 179
},
"_enabled": true,
"_materials": [
......@@ -8295,13 +8577,13 @@
"_name": "bg_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 171
"__id__": 178
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 175
"__id__": 182
}
],
"_prefab": null,
......@@ -8357,7 +8639,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 174
"__id__": 181
},
"_enabled": true,
"_materials": [
......@@ -8389,7 +8671,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
"__id__": 178
},
"_enabled": true,
"_materials": [
......@@ -8421,13 +8703,13 @@
"_name": "bg_comeon",
"_objFlags": 0,
"_parent": {
"__id__": 141
"__id__": 148
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 178
"__id__": 185
}
],
"_prefab": null,
......@@ -8483,7 +8765,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 177
"__id__": 184
},
"_enabled": true,
"_materials": [
......@@ -8515,7 +8797,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
"__id__": 148
},
"_enabled": true,
"alignMode": 1,
......@@ -8542,7 +8824,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
"__id__": 148
},
"_enabled": true,
"label": null,
......@@ -8558,16 +8840,16 @@
},
"_children": [
{
"__id__": 182
"__id__": 189
},
{
"__id__": 184
"__id__": 191
}
],
"_active": true,
"_components": [
{
"__id__": 186
"__id__": 193
}
],
"_prefab": null,
......@@ -8623,13 +8905,13 @@
"_name": "bg_win",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 188
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 183
"__id__": 190
}
],
"_prefab": null,
......@@ -8685,7 +8967,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 182
"__id__": 189
},
"_enabled": true,
"_materials": [
......@@ -8717,13 +8999,13 @@
"_name": "bg_lose",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 188
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 185
"__id__": 192
}
],
"_prefab": null,
......@@ -8779,7 +9061,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
"__id__": 191
},
"_enabled": true,
"_materials": [
......@@ -8811,7 +9093,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
"__id__": 188
},
"_enabled": true,
"alignMode": 1,
......@@ -8842,25 +9124,25 @@
},
"_children": [
{
"__id__": 188
"__id__": 195
},
{
"__id__": 191
"__id__": 198
},
{
"__id__": 194
"__id__": 201
},
{
"__id__": 197
"__id__": 204
},
{
"__id__": 200
"__id__": 207
}
],
"_active": false,
"_components": [
{
"__id__": 202
"__id__": 209
}
],
"_prefab": null,
......@@ -8916,16 +9198,16 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 189
"__id__": 196
},
{
"__id__": 190
"__id__": 197
}
],
"_prefab": null,
......@@ -8981,7 +9263,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 188
"__id__": 195
},
"_enabled": true,
"_materials": [
......@@ -9013,7 +9295,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 188
"__id__": 195
},
"_enabled": true,
"alignMode": 1,
......@@ -9040,16 +9322,16 @@
"_name": "bg_vs",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 192
"__id__": 199
},
{
"__id__": 193
"__id__": 200
}
],
"_prefab": null,
......@@ -9105,7 +9387,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 191
"__id__": 198
},
"_enabled": true,
"_materials": [
......@@ -9137,7 +9419,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 191
"__id__": 198
},
"_enabled": true,
"alignMode": 1,
......@@ -9164,16 +9446,16 @@
"_name": "player1",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 195
"__id__": 202
},
{
"__id__": 196
"__id__": 203
}
],
"_prefab": null,
......@@ -9229,7 +9511,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 194
"__id__": 201
},
"_enabled": true,
"_materials": [
......@@ -9261,7 +9543,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 194
"__id__": 201
},
"_enabled": false,
"alignMode": 1,
......@@ -9288,16 +9570,16 @@
"_name": "player2",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 198
"__id__": 205
},
{
"__id__": 199
"__id__": 206
}
],
"_prefab": null,
......@@ -9353,7 +9635,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
"__id__": 204
},
"_enabled": true,
"_materials": [
......@@ -9385,7 +9667,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
"__id__": 204
},
"_enabled": false,
"alignMode": 1,
......@@ -9412,13 +9694,13 @@
"_name": "icon_vs",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 194
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 201
"__id__": 208
}
],
"_prefab": null,
......@@ -9474,7 +9756,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 200
"__id__": 207
},
"_enabled": true,
"_materials": [
......@@ -9506,7 +9788,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
"__id__": 194
},
"_enabled": true,
"alignMode": 1,
......@@ -9537,16 +9819,16 @@
},
"_children": [
{
"__id__": 204
"__id__": 211
},
{
"__id__": 206
"__id__": 213
},
{
"__id__": 208
"__id__": 215
},
{
"__id__": 210
"__id__": 217
}
],
"_active": false,
......@@ -9604,13 +9886,13 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 203
"__id__": 210
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 205
"__id__": 212
}
],
"_prefab": null,
......@@ -9666,7 +9948,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 204
"__id__": 211
},
"_enabled": true,
"_materials": [
......@@ -9698,13 +9980,13 @@
"_name": "bg_di",
"_objFlags": 0,
"_parent": {
"__id__": 203
"__id__": 210
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 207
"__id__": 214
}
],
"_prefab": null,
......@@ -9760,7 +10042,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 206
"__id__": 213
},
"_enabled": true,
"_materials": [
......@@ -9792,13 +10074,13 @@
"_name": "desc",
"_objFlags": 0,
"_parent": {
"__id__": 203
"__id__": 210
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 209
"__id__": 216
}
],
"_prefab": null,
......@@ -9854,7 +10136,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 208
"__id__": 215
},
"_enabled": true,
"_materials": [
......@@ -9889,16 +10171,16 @@
"_name": "btn_start",
"_objFlags": 0,
"_parent": {
"__id__": 203
"__id__": 210
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 211
"__id__": 218
},
{
"__id__": 212
"__id__": 219
}
],
"_prefab": null,
......@@ -9954,7 +10236,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 210
"__id__": 217
},
"_enabled": true,
"_materials": [
......@@ -9986,7 +10268,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 210
"__id__": 217
},
"_enabled": true,
"_normalMaterial": null,
......@@ -10058,22 +10340,22 @@
},
"_children": [
{
"__id__": 214
"__id__": 221
},
{
"__id__": 216
"__id__": 223
},
{
"__id__": 218
"__id__": 225
},
{
"__id__": 220
"__id__": 227
},
{
"__id__": 222
"__id__": 229
},
{
"__id__": 224
"__id__": 231
}
],
"_active": true,
......@@ -10131,13 +10413,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 213
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 215
"__id__": 222
}
],
"_prefab": null,
......@@ -10193,7 +10475,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 214
"__id__": 221
},
"_enabled": true,
"_materials": [
......@@ -10225,13 +10507,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 213
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 217
"__id__": 224
}
],
"_prefab": null,
......@@ -10287,7 +10569,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 216
"__id__": 223
},
"_enabled": true,
"_materials": [
......@@ -10319,13 +10601,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 213
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 219
"__id__": 226
}
],
"_prefab": null,
......@@ -10381,7 +10663,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 218
"__id__": 225
},
"_enabled": true,
"_materials": [
......@@ -10413,13 +10695,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 213
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 221
"__id__": 228
}
],
"_prefab": null,
......@@ -10475,7 +10757,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 220
"__id__": 227
},
"_enabled": true,
"_materials": [
......@@ -10507,13 +10789,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 213
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 223
"__id__": 230
}
],
"_prefab": null,
......@@ -10569,7 +10851,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 222
"__id__": 229
},
"_enabled": true,
"_materials": [
......@@ -10601,13 +10883,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 213
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 225
"__id__": 232
}
],
"_prefab": null,
......@@ -10663,7 +10945,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 224
"__id__": 231
},
"_enabled": true,
"_materials": [
......
......@@ -76,6 +76,8 @@ export default class NewClass extends MyCocosSceneComponent {
this.layout_start.active = true;
pg.audio.playAudioByUrl(Game.getIns().question.audio);
this.initMap();
}
initEvent() {
pg.view.touchOn(pg.view.find(this.layout_start, 'btn_start'), this.onTouchStart, this);
......@@ -107,6 +109,7 @@ export default class NewClass extends MyCocosSceneComponent {
pg.audio.resumeBgm();
}
onTouchStart() {
this.layout_start.active = false;
cc.audioEngine.stopAllEffects();
......@@ -134,8 +137,21 @@ export default class NewClass extends MyCocosSceneComponent {
vs.active = false;
}).start();
}
initMap() {
let chess = pg.view.find(this, 'chess');
let items = pg.view.find(chess, 'items');
let item = pg.view.find(chess, 'item');
item.active = false;
let list = Game.getIns().getItemList();
list.forEach(li => {
let node = cc.instantiate(item);
node.x = li.box_x;
node.y = li.box_y;
node.active = true;
pg.view.setNetImg(node.getChildByName('img'), li.ext.img, { w: 75, h: 75 })
node.parent = items;
})
}
//-----------------------------流程------------------------------
private playerPoint: number;//
private robotPoint: number;//
......@@ -344,6 +360,7 @@ export default class NewClass extends MyCocosSceneComponent {
let hand = pg.view.find(touzi_ani, "hand");
let btn_stop = pg.view.find(touzi_ani, "btn_stop");
pg.view.visible(touzi_ani, true);
pg.event.emit("player_point_update", { isRobot: this.turnRobot, num: 0 });
touzi.startAni();
if (this.turnRobot) {
this.scheduleOnce(this.stopTouzi, 1);
......
......@@ -98,7 +98,7 @@ export default class SpeakRecord extends cc.Component {
let img = pg.view.find(this.text_tip, "img");
let ext = this.data.ext;
pg.view.setNetImg(img, ext.img, { w: 550, h: 270 })
pg.view.setString(text, ext.text);
pg.view.setString(text, ext.tip);
this.onTouchVoice();
pg.view.touchOn(img, this.onTouchVoice, this);
}
......
......@@ -112,6 +112,11 @@ export default class Game {
})
}
}
getItemList() {
return this.map.filter(m => {
return m.type === '1';
})
}
mapFull() {
}
......
......@@ -28,7 +28,7 @@
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 200,
"borderRight": 0,
"subMetas": {}
}
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"width": 983,
"height": 702,
"platformSettings": {},
"subMetas": {
"bg_map": {
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 229,
"height": 145,
"width": 279,
"height": 101,
"platformSettings": {},
"subMetas": {
"btn_audio-stop": {
......
assets/ns20_jsqj/textures/btn_start.png

6.51 KB | W: | H:

assets/ns20_jsqj/textures/btn_start.png

6.02 KB | W: | H:

assets/ns20_jsqj/textures/btn_start.png
assets/ns20_jsqj/textures/btn_start.png
assets/ns20_jsqj/textures/btn_start.png
assets/ns20_jsqj/textures/btn_start.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 102,
"height": 98,
"width": 39,
"height": 59,
"platformSettings": {},
"subMetas": {
"icon_player": {
......
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