Commit 5fabb20b authored by Vũ Gia Vương's avatar Vũ Gia Vương

update BreakingBottleScreen

parent 417b3c67
......@@ -78,31 +78,31 @@
"__id__": 11
},
{
"__id__": 66
"__id__": 67
},
{
"__id__": 81
"__id__": 82
},
{
"__id__": 30
},
{
"__id__": 83
"__id__": 84
},
{
"__id__": 100
"__id__": 101
},
{
"__id__": 110
"__id__": 111
}
],
"_active": true,
"_components": [
{
"__id__": 184
"__id__": 185
},
{
"__id__": 185
"__id__": 186
}
],
"_prefab": null,
......@@ -550,6 +550,9 @@
"_components": [
{
"__id__": 28
},
{
"__id__": 66
}
],
"_prefab": null,
......@@ -3182,6 +3185,16 @@
"_N$affectedByScale": false,
"_id": "bdTblgZJJCZY2V0juzYpu8"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"_id": "98lXLksvRCM6lZRz5MAv8p"
},
{
"__type__": "cc.Node",
"_name": "ActionScreen",
......@@ -3191,22 +3204,22 @@
},
"_children": [
{
"__id__": 67
"__id__": 68
},
{
"__id__": 70
"__id__": 71
},
{
"__id__": 72
"__id__": 73
},
{
"__id__": 76
"__id__": 77
}
],
"_active": false,
"_components": [
{
"__id__": 80
"__id__": 81
}
],
"_prefab": null,
......@@ -3262,16 +3275,16 @@
"_name": "Chum",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
"__id__": 69
},
{
"__id__": 69
"__id__": 70
}
],
"_prefab": null,
......@@ -3327,7 +3340,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 68
},
"_enabled": true,
"_id": "32Nb7fXTdNIYe2FGNiHQD8"
......@@ -3337,7 +3350,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 68
},
"_enabled": true,
"_materials": [
......@@ -3379,13 +3392,13 @@
"_name": "hu",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
"__id__": 72
}
],
"_prefab": null,
......@@ -3441,7 +3454,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3483,17 +3496,17 @@
"_name": "buaPos",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [
{
"__id__": 73
"__id__": 74
}
],
"_active": true,
"_components": [
{
"__id__": 75
"__id__": 76
}
],
"_prefab": null,
......@@ -3549,13 +3562,13 @@
"_name": "Bua",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 73
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 75
}
],
"_prefab": null,
......@@ -3611,7 +3624,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 74
},
"_enabled": true,
"_materials": [
......@@ -3653,7 +3666,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 73
},
"_enabled": true,
"_id": "74FwAooblKp5Uz0cmQR1wo"
......@@ -3663,17 +3676,17 @@
"_name": "Tutorial Tap",
"_objFlags": 0,
"_parent": {
"__id__": 66
"__id__": 67
},
"_children": [
{
"__id__": 77
"__id__": 78
}
],
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 80
}
],
"_prefab": null,
......@@ -3729,13 +3742,13 @@
"_name": "hand",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 77
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 79
}
],
"_prefab": null,
......@@ -3791,7 +3804,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 78
},
"_enabled": true,
"_materials": [
......@@ -3823,7 +3836,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 77
},
"_enabled": true,
"_id": "e7adhzbtVIXItHuXv9Y+hG"
......@@ -3833,14 +3846,14 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 67
},
"_enabled": true,
"bottleIdle": {
"__id__": 70
"__id__": 71
},
"bottleAction": {
"__id__": 67
"__id__": 68
},
"_id": "45yzC1EPtJP4Z8W/DF1iwD"
},
......@@ -3855,7 +3868,7 @@
"_active": false,
"_components": [
{
"__id__": 82
"__id__": 83
}
],
"_prefab": null,
......@@ -3911,7 +3924,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 82
},
"_enabled": true,
"_id": "96hHP+ssxLNpn8/i2AKAyI"
......@@ -3925,22 +3938,22 @@
},
"_children": [
{
"__id__": 84
"__id__": 85
},
{
"__id__": 86
"__id__": 87
},
{
"__id__": 91
"__id__": 92
}
],
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 99
},
{
"__id__": 99
"__id__": 100
}
],
"_prefab": null,
......@@ -3996,13 +4009,13 @@
"_name": "Mask copy",
"_objFlags": 0,
"_parent": {
"__id__": 83
"__id__": 84
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 86
}
],
"_prefab": null,
......@@ -4058,7 +4071,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 85
},
"_enabled": true,
"_materials": [
......@@ -4090,20 +4103,20 @@
"_name": "The",
"_objFlags": 0,
"_parent": {
"__id__": 83
"__id__": 84
},
"_children": [
{
"__id__": 87
"__id__": 88
}
],
"_active": true,
"_components": [
{
"__id__": 89
"__id__": 90
},
{
"__id__": 90
"__id__": 91
}
],
"_prefab": null,
......@@ -4159,13 +4172,13 @@
"_name": "text1",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 89
}
],
"_prefab": null,
......@@ -4221,7 +4234,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -4253,7 +4266,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 87
},
"_enabled": true,
"frames": [
......@@ -4271,7 +4284,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -4313,17 +4326,17 @@
"_name": "Replay Button",
"_objFlags": 0,
"_parent": {
"__id__": 83
"__id__": 84
},
"_children": [
{
"__id__": 92
"__id__": 93
}
],
"_active": true,
"_components": [
{
"__id__": 97
"__id__": 98
}
],
"_prefab": null,
......@@ -4379,20 +4392,20 @@
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 91
"__id__": 92
},
"_children": [
{
"__id__": 93
"__id__": 94
}
],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 96
},
{
"__id__": 96
"__id__": 97
}
],
"_prefab": null,
......@@ -4448,13 +4461,13 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 92
"__id__": 93
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
"__id__": 95
}
],
"_prefab": null,
......@@ -4510,7 +4523,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 94
},
"_enabled": true,
"_materials": [
......@@ -4545,7 +4558,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -4577,7 +4590,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 93
},
"_enabled": true,
"alignMode": 0,
......@@ -4604,7 +4617,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 92
},
"_enabled": true,
"_normalMaterial": null,
......@@ -4677,7 +4690,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 92
"__id__": 93
},
"_id": "adCMRaOEVD5LOjd7MAm9EO"
},
......@@ -4686,7 +4699,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 84
},
"_enabled": true,
"_id": "bcaw0ZNyRPGoK8ATotq1yF"
......@@ -4696,7 +4709,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 84
},
"_enabled": true,
"_id": "17J7OqMb1NsbF4iJiNTrDS"
......@@ -4710,22 +4723,22 @@
},
"_children": [
{
"__id__": 101
"__id__": 102
},
{
"__id__": 103
"__id__": 104
},
{
"__id__": 105
"__id__": 106
},
{
"__id__": 107
"__id__": 108
}
],
"_active": true,
"_components": [
{
"__id__": 109
"__id__": 110
}
],
"_prefab": null,
......@@ -4781,13 +4794,13 @@
"_name": "beer-bottle-rolling-on-a-sidewalk-82234",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 101
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
"__id__": 103
}
],
"_prefab": null,
......@@ -4843,7 +4856,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 102
},
"_enabled": true,
"_clip": {
......@@ -4862,13 +4875,13 @@
"_name": "Cartoon Short Version 2_01",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 101
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 105
}
],
"_prefab": null,
......@@ -4924,7 +4937,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
"__id__": 104
},
"_enabled": true,
"_clip": {
......@@ -4943,13 +4956,13 @@
"_name": "tieng_va_cham_chai_thuy_tinh-www_tiengdong_com",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 101
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 107
}
],
"_prefab": null,
......@@ -5005,7 +5018,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 106
},
"_enabled": true,
"_clip": {
......@@ -5024,13 +5037,13 @@
"_name": "breaking-a-vase-remix-87091",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 101
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
"__id__": 109
}
],
"_prefab": null,
......@@ -5086,7 +5099,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 108
},
"_enabled": true,
"_clip": {
......@@ -5105,17 +5118,17 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 101
},
"_enabled": true,
"rollingSound": {
"__id__": 102
"__id__": 103
},
"breakingSound": {
"__id__": 108
"__id__": 109
},
"dropSound": {
"__id__": 106
"__id__": 107
},
"_id": "a5vu6IE1ROn6VO7UPM9J3p"
},
......@@ -5128,37 +5141,22 @@
},
"_children": [
{
"__id__": 111
},
{
"__id__": 113
},
{
"__id__": 115
},
{
"__id__": 120
},
{
"__id__": 171
"__id__": 112
},
{
"__id__": 173
"__id__": 114
},
{
"__id__": 176
"__id__": 178
},
{
"__id__": 179
"__id__": 181
}
],
"_active": true,
"_components": [
{
"__id__": 182
},
{
"__id__": 183
"__id__": 184
}
],
"_prefab": null,
......@@ -5214,13 +5212,13 @@
"_name": "BG",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 112
"__id__": 113
}
],
"_prefab": null,
......@@ -5276,7 +5274,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 112
},
"_enabled": true,
"_materials": [
......@@ -5305,117 +5303,38 @@
},
{
"__type__": "cc.Node",
"_name": "Layer 723",
"_name": "BottleController",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 114
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"__id__": 115
},
"_contentSize": {
"__type__": "cc.Size",
"width": 326,
"height": 311
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
23.26,
-52.304,
0,
0,
0,
0,
1,
2,
2,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3d46evHUVDqadYPx9W8uKv"
{
"__id__": 118
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 113
"__id__": 120
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "089541ca-5089-4ec3-970f-32084f5706d6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"__id__": 122
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9aEHHSCy5LAYZWVIMwiKdo"
{
"__id__": 159
},
{
"__type__": "cc.Node",
"_name": "The copy",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 172
},
"_children": [
{
"__id__": 116
"__id__": 175
}
],
"_active": true,
"_components": [
{
"__id__": 118
},
{
"__id__": 119
"__id__": 177
}
],
"_prefab": null,
......@@ -5429,8 +5348,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1393
"width": 500,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5464,18 +5383,21 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "46d6VRPY1PzJ0JUN88ggZD"
"_id": "93EQDERhBAwreiqQ6+2Aya"
},
{
"__type__": "cc.Node",
"_name": "text1",
"_name": "The copy",
"_objFlags": 0,
"_parent": {
"__id__": 115
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 116
},
{
"__id__": 117
}
......@@ -5491,8 +5413,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 458,
"height": 145
"width": 1080,
"height": 1393
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5504,7 +5426,7 @@
"ctor": "Float64Array",
"array": [
0,
-232.087,
0,
0,
0,
0,
......@@ -5526,39 +5448,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "86Ls0/UsxPHrX1wNSkGt3Y"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "95fbff81-21f6-4a58-9bc5-c8fc3f869e8c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "18lYnFPJxHbo1jlGrnQP0R"
"_id": "46d6VRPY1PzJ0JUN88ggZD"
},
{
"__type__": "16a952mWXdLX4fDDoWJWpu4",
......@@ -5622,21 +5512,18 @@
},
{
"__type__": "cc.Node",
"_name": "Bottle",
"_name": "text1",
"_objFlags": 0,
"_parent": {
"__id__": 110
},
"_children": [
{
"__id__": 121
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 158
"__id__": 119
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -5648,8 +5535,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
"height": 500
"width": 458,
"height": 145
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5661,7 +5548,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-232.087,
0,
0,
0,
......@@ -5683,37 +5570,54 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "93EQDERhBAwreiqQ6+2Aya"
"_id": "86Ls0/UsxPHrX1wNSkGt3Y"
},
{
"__type__": "cc.Node",
"_name": "Body",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 120
},
"_children": [
{
"__id__": 122
"node": {
"__id__": 118
},
"_enabled": true,
"_materials": [
{
"__id__": 128
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "95fbff81-21f6-4a58-9bc5-c8fc3f869e8c"
},
{
"__id__": 134
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
{
"__id__": 140
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "18lYnFPJxHbo1jlGrnQP0R"
},
{
"__id__": 146
"__type__": "cc.Node",
"_name": "Layer 723",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
"__id__": 121
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -5725,8 +5629,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 326,
"height": 311
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5738,15 +5642,15 @@
"ctor": "Float64Array",
"array": [
0,
-52.304,
0,
0,
0,
0,
0,
1,
1,
1,
1
2,
2,
2
]
},
"_eulerAngles": {
......@@ -5760,23 +5664,129 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "af+DTFH8VMB76BCh8YyVUU"
"_id": "3d46evHUVDqadYPx9W8uKv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "089541ca-5089-4ec3-970f-32084f5706d6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9aEHHSCy5LAYZWVIMwiKdo"
},
{
"__type__": "cc.Node",
"_name": "6",
"_name": "Body",
"_objFlags": 0,
"_parent": {
"__id__": 121
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 123
},
{
"__id__": 124
"__id__": 129
},
{
"__id__": 135
},
{
"__id__": 141
},
{
"__id__": 147
},
{
"__id__": 153
}
],
"_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": "af+DTFH8VMB76BCh8YyVUU"
},
{
"__type__": "cc.Node",
"_name": "6",
"_objFlags": 0,
"_parent": {
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 124
},
{
"__id__": 125
......@@ -5786,6 +5796,9 @@
},
{
"__id__": 127
},
{
"__id__": 128
}
],
"_prefab": null,
......@@ -5841,7 +5854,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 123
},
"_enabled": true,
"_id": "cfh1jBullN7JO53xK2NK9d"
......@@ -5851,7 +5864,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 123
},
"_enabled": true,
"_materials": [
......@@ -5883,7 +5896,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 123
},
"_enabled": true,
"tag": 0,
......@@ -5951,10 +5964,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 123
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -5976,7 +5989,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 123
},
"_enabled": true,
"tag": 0,
......@@ -6019,14 +6032,11 @@
"_name": "3",
"_objFlags": 0,
"_parent": {
"__id__": 121
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 129
},
{
"__id__": 130
},
......@@ -6038,6 +6048,9 @@
},
{
"__id__": 133
},
{
"__id__": 134
}
],
"_prefab": null,
......@@ -6093,7 +6106,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 129
},
"_enabled": true,
"_materials": [
......@@ -6125,7 +6138,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 129
},
"_enabled": true,
"_id": "4f6Dt6/09FwL+yIiIkzOdP"
......@@ -6135,7 +6148,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 129
},
"_enabled": true,
"tag": 0,
......@@ -6233,10 +6246,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 129
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -6258,7 +6271,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
"__id__": 129
},
"_enabled": true,
"tag": 0,
......@@ -6301,14 +6314,11 @@
"_name": "2",
"_objFlags": 0,
"_parent": {
"__id__": 121
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 135
},
{
"__id__": 136
},
......@@ -6320,6 +6330,9 @@
},
{
"__id__": 139
},
{
"__id__": 140
}
],
"_prefab": null,
......@@ -6375,7 +6388,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 135
},
"_enabled": true,
"_materials": [
......@@ -6407,7 +6420,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 135
},
"_enabled": true,
"_id": "63ZB/kFSVEKavLaqo0Hp3l"
......@@ -6417,7 +6430,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 135
},
"_enabled": true,
"tag": 0,
......@@ -6520,10 +6533,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 135
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -6545,7 +6558,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
"__id__": 135
},
"_enabled": true,
"tag": 0,
......@@ -6588,14 +6601,11 @@
"_name": "4",
"_objFlags": 0,
"_parent": {
"__id__": 121
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 141
},
{
"__id__": 142
},
......@@ -6607,6 +6617,9 @@
},
{
"__id__": 145
},
{
"__id__": 146
}
],
"_prefab": null,
......@@ -6662,7 +6675,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 141
},
"_enabled": true,
"_materials": [
......@@ -6694,7 +6707,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 141
},
"_enabled": true,
"_id": "21oKTWFXpPAbnbcJMb9BD0"
......@@ -6704,7 +6717,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 141
},
"_enabled": true,
"tag": 0,
......@@ -6827,10 +6840,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 141
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -6852,7 +6865,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
"__id__": 141
},
"_enabled": true,
"tag": 0,
......@@ -6895,14 +6908,11 @@
"_name": "1",
"_objFlags": 0,
"_parent": {
"__id__": 121
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 147
},
{
"__id__": 148
},
......@@ -6914,6 +6924,9 @@
},
{
"__id__": 151
},
{
"__id__": 152
}
],
"_prefab": null,
......@@ -6969,7 +6982,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 147
},
"_enabled": true,
"_materials": [
......@@ -7001,7 +7014,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 147
},
"_enabled": true,
"tag": 0,
......@@ -7104,7 +7117,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 147
},
"_enabled": true,
"_id": "bcmluUpTRPK6hZlUXAbqw5"
......@@ -7114,10 +7127,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 147
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -7139,7 +7152,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
"__id__": 147
},
"_enabled": true,
"tag": 0,
......@@ -7182,14 +7195,11 @@
"_name": "5",
"_objFlags": 0,
"_parent": {
"__id__": 121
"__id__": 122
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
},
{
"__id__": 154
},
......@@ -7201,6 +7211,9 @@
},
{
"__id__": 157
},
{
"__id__": 158
}
],
"_prefab": null,
......@@ -7256,7 +7269,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 153
},
"_enabled": true,
"_id": "68uH5Wy0NHeJJxTq87yA/F"
......@@ -7266,7 +7279,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 153
},
"_enabled": true,
"_materials": [
......@@ -7298,7 +7311,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 153
},
"_enabled": true,
"tag": 0,
......@@ -7406,10 +7419,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 153
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -7431,7 +7444,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 153
},
"_enabled": true,
"tag": 0,
......@@ -7474,14 +7487,14 @@
"_name": "Nap",
"_objFlags": 0,
"_parent": {
"__id__": 120
"__id__": 114
},
"_children": [
{
"__id__": 159
"__id__": 160
},
{
"__id__": 165
"__id__": 166
}
],
"_active": true,
......@@ -7539,14 +7552,11 @@
"_name": "nap 2",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 159
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
},
{
"__id__": 161
},
......@@ -7558,6 +7568,9 @@
},
{
"__id__": 164
},
{
"__id__": 165
}
],
"_prefab": null,
......@@ -7613,7 +7626,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"_materials": [
......@@ -7645,7 +7658,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"tag": 0,
......@@ -7793,7 +7806,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"_id": "66j+VkXfpNoadfW56880/G"
......@@ -7803,10 +7816,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -7828,7 +7841,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"tag": 0,
......@@ -7871,14 +7884,11 @@
"_name": "nap 1",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 159
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
},
{
"__id__": 167
},
......@@ -7890,6 +7900,9 @@
},
{
"__id__": 170
},
{
"__id__": 171
}
],
"_prefab": null,
......@@ -7945,7 +7958,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 166
},
"_enabled": true,
"_materials": [
......@@ -7977,7 +7990,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 166
},
"_enabled": true,
"_id": "24D4XJuZlE+q6fQu9Zy6vU"
......@@ -7987,7 +8000,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 166
},
"_enabled": true,
"tag": 0,
......@@ -8095,10 +8108,10 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 166
},
"_enabled": true,
"_type": 1,
"_type": 0,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
......@@ -8120,7 +8133,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 166
},
"_enabled": true,
"tag": 0,
......@@ -8160,18 +8173,18 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "Hammer",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 172
"__id__": 173
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -8183,8 +8196,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 20,
"height": 20
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8218,55 +8231,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e3jCDOU0VExKvoPYRYipk/"
"_id": "ecEAZtsQ1M86ZSI5xa+HtN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e7aba14b-f956-4480-b254-8d57832e273f"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4aeKl+F5NDy4t+ofdhiju2"
},
{
"__type__": "cc.Node",
"_name": "Ground",
"__type__": "cc.Node",
"_name": "Bua",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 172
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
},
{
"__id__": 175
}
],
"_prefab": null,
......@@ -8280,8 +8258,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2000,
"height": 100
"width": 462.01,
"height": 540.78
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8292,8 +8270,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-898.1,
200,
-150,
0,
0,
0,
......@@ -8315,74 +8293,62 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "69sT2jMJ1Eo4eI0cKvUR7R"
"_id": "eb8hbSoSxMx7ZXOGQBwKBk"
},
{
"__type__": "cc.RigidBody",
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
},
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "b9YodRnt9BtbHX8sfyUQpm"
},
"_materials": [
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 2000,
"height": 100
"__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3"
}
],
"paused": false,
"defaultSkin": "Bua",
"defaultAnimation": "Idle",
"_preCacheMode": 0,
"_cacheMode": 0,
"loop": false,
"premultipliedAlpha": true,
"timeScale": 1,
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_skeletonCache": null,
"_animationName": "Idle",
"_animationQueue": [],
"_headAniInfo": null,
"_playTimes": 1,
"_isAniComplete": true,
"_N$skeletonData": {
"__uuid__": "a5d5b5a3-7ac9-4207-a35a-9fd1ce088b83"
},
"_id": "b8Mk8Eu8dBG4ECrSWuKcF2"
"_N$_defaultCacheMode": 0,
"_N$debugSlots": false,
"_N$debugBones": false,
"_N$debugMesh": false,
"_N$useTint": false,
"_N$enableBatch": false,
"_id": "0dlMrbSXxJU6Vbpc+nVqiW"
},
{
"__type__": "cc.Node",
"_name": "default_sprite_splash",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 177
},
{
"__id__": 178
"__id__": 176
}
],
"_prefab": null,
......@@ -8396,8 +8362,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
"width": 97.87,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8408,8 +8374,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
3.01,
-526.727,
185.327,
630.994,
0,
0,
0,
......@@ -8431,73 +8397,71 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a02Lxjqk9HJYVidyPlB44o"
"_id": "a7nRd/23FDOY7UoJR9BT/k"
},
{
"__type__": "cc.RigidBody",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
"__id__": 175
},
"_enabled": true,
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "f1vILs+9dGzId9dSCs9quj"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Label",
"_N$string": "Label",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "cc2wCYN+5FT47FBkBwmBt/"
},
{
"__type__": "cc.PhysicsBoxCollider",
"__type__": "6fcd79x0JdPZKDzUr010UMy",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
"__id__": 114
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 100,
"height": 100
"hammerNode": {
"__id__": 172
},
"_id": "55p7kNBX9GUKwcKmGcqJ9A"
"_id": "bajJhmrelJN6Gv2WqcoCLj"
},
{
"__type__": "cc.Node",
"_name": "Hammer",
"_name": "Ground",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 179
},
"_children": [
{
"__id__": 180
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -8509,8 +8473,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 600
"width": 2000,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8522,7 +8486,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-898.1,
0,
0,
0,
......@@ -8544,20 +8508,74 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ecEAZtsQ1M86ZSI5xa+HtN"
"_id": "69sT2jMJ1Eo4eI0cKvUR7R"
},
{
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 178
},
"_enabled": true,
"_type": 1,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "b9YodRnt9BtbHX8sfyUQpm"
},
{
"__type__": "cc.PhysicsBoxCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 178
},
"_enabled": true,
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 2000,
"height": 100
},
"_id": "b8Mk8Eu8dBG4ECrSWuKcF2"
},
{
"__type__": "cc.Node",
"_name": "Bua",
"_name": "Obstance",
"_objFlags": 0,
"_parent": {
"__id__": 179
"__id__": 111
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 181
"__id__": 182
},
{
"__id__": 183
}
],
"_prefab": null,
......@@ -8571,8 +8589,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 462.01,
"height": 540.78
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8583,8 +8601,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
200,
-150,
3.01,
-604.414,
0,
0,
0,
......@@ -8606,72 +8624,64 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "eb8hbSoSxMx7ZXOGQBwKBk"
"_id": "a02Lxjqk9HJYVidyPlB44o"
},
{
"__type__": "sp.Skeleton",
"__type__": "cc.RigidBody",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 180
"__id__": 181
},
"_enabled": true,
"_materials": [
{
"__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3"
}
],
"paused": false,
"defaultSkin": "Bua",
"defaultAnimation": "Idle",
"_preCacheMode": 0,
"_cacheMode": 0,
"loop": false,
"premultipliedAlpha": true,
"timeScale": 1,
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_skeletonCache": null,
"_animationName": "Idle",
"_animationQueue": [],
"_headAniInfo": null,
"_playTimes": 1,
"_isAniComplete": true,
"_N$skeletonData": {
"__uuid__": "a5d5b5a3-7ac9-4207-a35a-9fd1ce088b83"
"_type": 2,
"_allowSleep": true,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_N$_defaultCacheMode": 0,
"_N$debugSlots": false,
"_N$debugBones": false,
"_N$debugMesh": false,
"_N$useTint": false,
"_N$enableBatch": false,
"_id": "0dlMrbSXxJU6Vbpc+nVqiW"
"_angularVelocity": 0,
"_fixedRotation": false,
"enabledContactListener": false,
"bullet": false,
"awakeOnLoad": true,
"_id": "f1vILs+9dGzId9dSCs9quj"
},
{
"__type__": "90267gmddZPkLBW/eIiYJR6",
"__type__": "cc.PhysicsCircleCollider",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 181
},
"_enabled": true,
"_id": "4eyUw4PwxKSq63DGUgJory"
"tag": 0,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"body": null,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 20,
"_id": "0fuA0DuwxDErcjlTRl+J1g"
},
{
"__type__": "6fcd79x0JdPZKDzUr010UMy",
"__type__": "90267gmddZPkLBW/eIiYJR6",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 111
},
"_enabled": true,
"hammerNode": {
"__id__": 179
},
"_id": "e8vixNUuZPSqJIbe4huu8F"
"_id": "4eyUw4PwxKSq63DGUgJory"
},
{
"__type__": "cc.Canvas",
......
......@@ -22,9 +22,9 @@ export default class BreakingBottleController extends cc.Component {
this._cardNode = this.node.getComponentInChildren(TheController).node;
this._cardNode.active = false;
this.node.position = cc.v3(0, 0);
this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchStart, this);
this.node.on(cc.Node.EventType.TOUCH_END, this.onTouchEnd, this);
eventTarget.on(CHECK_FRAGMENT, this.checkFragment, this);
eventTarget.on(HAMMER, this.onHammer, this);
}
......
......@@ -16,6 +16,7 @@ export default class FragmentController extends cc.Component {
this._physicsCollider.points = this._collider.points;
this._physicsCollider.enabled = false;
this._rg = this.node.getComponent(cc.RigidBody);
this._rg.type = cc.RigidBodyType.Static;
eventTarget.on(CHECK_TOUCH, this.checkTouch, this);
}
......
import { eventTarget, PLAY_ANIM_NUT1, PLAY_ANIM_NUT2, PLAY_ANIM_NUT3, PLAY_ANIM_NUT4, SHOW_ACTION_SCREEN, SHOW_CARD_POPUP, SHOW_START_SCREEN } from "../Events";
import { eventTarget, PLAY_ANIM_NUT1, PLAY_ANIM_NUT2, PLAY_ANIM_NUT3, PLAY_ANIM_NUT4, SHOW_ACTION_SCREEN, SHOW_START_SCREEN } from "../Events";
import BuaController from "../GamePlay/BuaController";
const { ccclass, property } = cc._decorator;
......@@ -14,6 +14,8 @@ export default class ActionScreen extends cc.Component {
private _spine: sp.Skeleton = null;
onLoad() {
return;
eventTarget.on(SHOW_ACTION_SCREEN, this.showScreen, this);
eventTarget.on(SHOW_START_SCREEN, this.hideScreen, this);
eventTarget.on(PLAY_ANIM_NUT1, this.hideBottle, this);
......
import { eventTarget, SHOW_ACTION_SCREEN, SHOW_START_SCREEN } from "../Events";
const { ccclass, property } = cc._decorator;
@ccclass
export default class BreakingBottleScreen extends cc.Component {
onLoad() {
eventTarget.on(SHOW_ACTION_SCREEN, this.showScreen, this);
eventTarget.on(SHOW_START_SCREEN, this.hideScreen, this);
// this.node.position = cc.v3(400, 600, 0);
}
private hideBottle() {
// this.bottleAction.active = true;
// this.bottleIdle.active = false;
}
private showScreen() {
console.log('showScreen', this.node)
// this.bottleAction.active = false;
// this.bottleIdle.active = true;
// this._spine.setAnimation(0, 'Idle', true);
// this._buaController.onSetTool();
this.node.active = true;
this.node.position = cc.v3();
}
private hideScreen() {
this.node.active = false;
}
}
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