Commit e975e26a authored by Tt's avatar Tt

拖拽完成

parent 58994e8b
{
"ver": "2.0.1",
"uuid": "aa5dce85-83fb-44b4-817f-245e86d4bde9",
"downloadMode": 0,
"duration": 0.556563,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "433c5b0a-ebaa-4398-90aa-5e0d8ce58189",
"downloadMode": 0,
"duration": 0.39185,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "1df07874-8c2a-4e48-871b-9550d01c9e5f",
"downloadMode": 0,
"duration": 2.403265,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "bfa2aa31-940a-47ed-b340-9a682440aab0",
"downloadMode": 0,
"duration": 1.959184,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d1f740c5-6b88-4cec-8a02-151be9cefe61",
"downloadMode": 0,
"duration": 0.938688,
"subMetas": {}
}
\ No newline at end of file
......@@ -75,37 +75,37 @@
"__id__": 5
},
{
"__id__": 15
"__id__": 25
},
{
"__id__": 17
"__id__": 27
},
{
"__id__": 27
"__id__": 37
},
{
"__id__": 50
"__id__": 60
},
{
"__id__": 73
"__id__": 85
},
{
"__id__": 75
"__id__": 87
},
{
"__id__": 89
"__id__": 101
}
],
"_active": true,
"_components": [
{
"__id__": 90
"__id__": 102
},
{
"__id__": 91
"__id__": 103
},
{
"__id__": 92
"__id__": 104
}
],
"_prefab": null,
......@@ -639,6 +639,21 @@
"_children": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
},
{
"__id__": 21
},
{
"__id__": 23
}
],
"_active": true,
......@@ -772,6 +787,411 @@
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Node",
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
}
],
"_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": "38TDTFZM9CTJI+00zlRzhc"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"_clip": {
"__uuid__": "aa5dce85-83fb-44b4-817f-245e86d4bde9"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "30OhVPpKJL2KBoexz6TUVs"
},
{
"__type__": "cc.Node",
"_name": "move",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_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": "a2bw7c7XVAtrddV4MPb2t9"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_clip": {
"__uuid__": "433c5b0a-ebaa-4398-90aa-5e0d8ce58189"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "368MulBe9Ep4Qr6AGLbAdV"
},
{
"__type__": "cc.Node",
"_name": "right_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 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": "c84ZerHKBHL5JVFNJUsrJG"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_clip": {
"__uuid__": "d1f740c5-6b88-4cec-8a02-151be9cefe61"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "4bI+H3pnNB/4RjwcD+dmQK"
},
{
"__type__": "cc.Node",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "bbQubVnJ5CU7vSu6yLJ/Jq"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_clip": {
"__uuid__": "bfa2aa31-940a-47ed-b340-9a682440aab0"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "5bYxfbkxpGV6eid0GWQK8c"
},
{
"__type__": "cc.Node",
"_name": "next_question",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
}
],
"_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": "46dbueW/NHdoDZQBA1OnlG"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_clip": {
"__uuid__": "1df07874-8c2a-4e48-871b-9550d01c9e5f"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "ebLMdPG59GIKwJYdenrXrd"
},
{
"__type__": "cc.Node",
"_name": "view",
......@@ -783,7 +1203,7 @@
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 26
}
],
"_prefab": null,
......@@ -839,7 +1259,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
"__id__": 25
},
"_enabled": true,
"_materials": [
......@@ -875,19 +1295,19 @@
},
"_children": [
{
"__id__": 18
"__id__": 28
},
{
"__id__": 21
"__id__": 31
},
{
"__id__": 24
"__id__": 34
}
],
"_active": true,
"_components": [
{
"__id__": 26
"__id__": 36
}
],
"_prefab": null,
......@@ -943,16 +1363,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 29
},
{
"__id__": 20
"__id__": 30
}
],
"_prefab": null,
......@@ -1008,7 +1428,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 28
},
"_enabled": true,
"_materials": [
......@@ -1040,7 +1460,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 28
},
"_enabled": true,
"alignMode": 1,
......@@ -1067,16 +1487,16 @@
"_name": "bg_puzzle",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
"__id__": 32
},
{
"__id__": 23
"__id__": 33
}
],
"_prefab": null,
......@@ -1132,7 +1552,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
"__id__": 31
},
"_enabled": true,
"_materials": [
......@@ -1164,7 +1584,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
"__id__": 31
},
"_enabled": true,
"alignMode": 1,
......@@ -1191,13 +1611,13 @@
"_name": "bg_question",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 35
}
],
"_prefab": null,
......@@ -1253,7 +1673,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 34
},
"_enabled": true,
"_materials": [
......@@ -1285,7 +1705,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 27
},
"_enabled": true,
"alignMode": 1,
......@@ -1316,10 +1736,10 @@
},
"_children": [
{
"__id__": 28
"__id__": 38
},
{
"__id__": 48
"__id__": 58
}
],
"_active": true,
......@@ -1377,35 +1797,35 @@
"_name": "base",
"_objFlags": 0,
"_parent": {
"__id__": 27
"__id__": 37
},
"_children": [
{
"__id__": 29
"__id__": 39
},
{
"__id__": 31
"__id__": 41
},
{
"__id__": 33
"__id__": 43
},
{
"__id__": 35
"__id__": 45
},
{
"__id__": 37
"__id__": 47
},
{
"__id__": 41
"__id__": 51
},
{
"__id__": 43
"__id__": 53
},
{
"__id__": 45
"__id__": 55
},
{
"__id__": 46
"__id__": 56
}
],
"_active": false,
......@@ -1463,13 +1883,13 @@
"_name": "img_big",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 40
}
],
"_prefab": null,
......@@ -1525,7 +1945,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 39
},
"_enabled": true,
"_materials": [
......@@ -1557,13 +1977,13 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
"__id__": 42
}
],
"_prefab": null,
......@@ -1619,7 +2039,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"__id__": 41
},
"_enabled": true,
"_materials": [
......@@ -1651,13 +2071,13 @@
"_name": "label_big",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 44
}
],
"_prefab": null,
......@@ -1713,7 +2133,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 43
},
"_enabled": true,
"_materials": [
......@@ -1748,13 +2168,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 46
}
],
"_prefab": null,
......@@ -1810,7 +2230,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 45
},
"_enabled": true,
"_materials": [
......@@ -1845,11 +2265,11 @@
"_name": "line",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [
{
"__id__": 38
"__id__": 48
}
],
"_active": true,
......@@ -1907,16 +2327,16 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
"__id__": 49
},
{
"__id__": 40
"__id__": 50
}
],
"_prefab": null,
......@@ -1972,7 +2392,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
"__id__": 48
},
"_enabled": true,
"_materials": [
......@@ -2004,7 +2424,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
"__id__": 48
},
"_enabled": true,
"alignMode": 1,
......@@ -2031,13 +2451,13 @@
"_name": "layout_double",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
"__id__": 52
}
],
"_prefab": null,
......@@ -2093,7 +2513,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 51
},
"_enabled": true,
"_layoutSize": {
......@@ -2125,13 +2545,13 @@
"_name": "layout_single",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 54
}
],
"_prefab": null,
......@@ -2187,7 +2607,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 53
},
"_enabled": true,
"_layoutSize": {
......@@ -2219,7 +2639,7 @@
"_name": "layout_full",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
......@@ -2277,13 +2697,13 @@
"_name": "layout_center",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 57
}
],
"_prefab": null,
......@@ -2339,7 +2759,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 56
},
"_enabled": false,
"_layoutSize": {
......@@ -2371,13 +2791,13 @@
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 27
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
"__id__": 59
}
],
"_prefab": null,
......@@ -2433,7 +2853,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 58
},
"_enabled": true,
"_layoutSize": {
......@@ -2469,37 +2889,40 @@
},
"_children": [
{
"__id__": 51
"__id__": 61
},
{
"__id__": 53
"__id__": 63
},
{
"__id__": 55
"__id__": 65
},
{
"__id__": 57
"__id__": 67
},
{
"__id__": 59
"__id__": 69
},
{
"__id__": 61
"__id__": 71
},
{
"__id__": 63
"__id__": 73
},
{
"__id__": 65
"__id__": 75
},
{
"__id__": 67
"__id__": 77
},
{
"__id__": 69
"__id__": 79
},
{
"__id__": 71
"__id__": 81
},
{
"__id__": 83
}
],
"_active": true,
......@@ -2557,13 +2980,13 @@
"_name": "img_undone",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 62
}
],
"_prefab": null,
......@@ -2619,7 +3042,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 61
},
"_enabled": true,
"_materials": [
......@@ -2651,13 +3074,13 @@
"_name": "img_focus",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 64
}
],
"_prefab": null,
......@@ -2713,7 +3136,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 63
},
"_enabled": true,
"_materials": [
......@@ -2745,13 +3168,13 @@
"_name": "img_focus2",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 56
"__id__": 66
}
],
"_prefab": null,
......@@ -2807,7 +3230,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 65
},
"_enabled": true,
"_materials": [
......@@ -2839,13 +3262,13 @@
"_name": "img_keyboard_1",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 58
"__id__": 68
}
],
"_prefab": null,
......@@ -2901,7 +3324,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 67
},
"_enabled": true,
"_materials": [
......@@ -2933,13 +3356,13 @@
"_name": "img_keyboard_2",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 60
"__id__": 70
}
],
"_prefab": null,
......@@ -2995,7 +3418,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 69
},
"_enabled": true,
"_materials": [
......@@ -3027,13 +3450,13 @@
"_name": "img_keyboard_3",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 62
"__id__": 72
}
],
"_prefab": null,
......@@ -3089,7 +3512,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3121,13 +3544,13 @@
"_name": "img_keyboard_4",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 64
"__id__": 74
}
],
"_prefab": null,
......@@ -3183,7 +3606,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -3215,13 +3638,13 @@
"_name": "img_keyboard_5",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 66
"__id__": 76
}
],
"_prefab": null,
......@@ -3277,7 +3700,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3309,13 +3732,13 @@
"_name": "img_right",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 68
"__id__": 78
}
],
"_prefab": null,
......@@ -3371,7 +3794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 77
},
"_enabled": true,
"_materials": [
......@@ -3403,13 +3826,13 @@
"_name": "img_right_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 70
"__id__": 80
}
],
"_prefab": null,
......@@ -3465,7 +3888,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 79
},
"_enabled": true,
"_materials": [
......@@ -3497,13 +3920,13 @@
"_name": "img_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 72
"__id__": 82
}
],
"_prefab": null,
......@@ -3559,7 +3982,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 81
},
"_enabled": true,
"_materials": [
......@@ -3586,6 +4009,103 @@
"_atlas": null,
"_id": "84S/92Jc9F66tlezZm0sbS"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 60
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 84
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 38.28,
"height": 75.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2.274,
2.884,
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": "bcZPx8xDlJV7Xu27DHZqoO"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "R",
"_N$string": "R",
"_fontSize": 60,
"_lineHeight": 60,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "6d6846ac-918f-46f0-aff7-53ca2e2734ef"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b3rNELFNJADJp9Dj0OnDR+"
},
{
"__type__": "cc.Node",
"_name": "layout_blocks",
......@@ -3597,7 +4117,7 @@
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 86
}
],
"_prefab": null,
......@@ -3653,7 +4173,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 85
},
"_enabled": true,
"alignMode": 1,
......@@ -3684,28 +4204,28 @@
},
"_children": [
{
"__id__": 76
"__id__": 88
},
{
"__id__": 78
"__id__": 90
},
{
"__id__": 80
"__id__": 92
},
{
"__id__": 82
"__id__": 94
},
{
"__id__": 84
"__id__": 96
},
{
"__id__": 86
"__id__": 98
}
],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 100
}
],
"_prefab": null,
......@@ -3761,13 +4281,13 @@
"_name": "img_keyboard_1",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
"__id__": 89
}
],
"_prefab": null,
......@@ -3823,7 +4343,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -3855,13 +4375,13 @@
"_name": "img_keyboard_2",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 87
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 79
"__id__": 91
}
],
"_prefab": null,
......@@ -3917,7 +4437,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -3949,13 +4469,13 @@
"_name": "img_keyboard_3",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 87
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 81
"__id__": 93
}
],
"_prefab": null,
......@@ -4011,7 +4531,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 92
},
"_enabled": true,
"_materials": [
......@@ -4043,13 +4563,13 @@
"_name": "img_keyboard_4",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 87
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 83
"__id__": 95
}
],
"_prefab": null,
......@@ -4105,7 +4625,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 94
},
"_enabled": true,
"_materials": [
......@@ -4137,13 +4657,13 @@
"_name": "img_keyboard_5",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 87
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 85
"__id__": 97
}
],
"_prefab": null,
......@@ -4199,7 +4719,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 96
},
"_enabled": true,
"_materials": [
......@@ -4231,13 +4751,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 87
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 99
}
],
"_prefab": null,
......@@ -4293,7 +4813,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -4328,7 +4848,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 87
},
"_enabled": true,
"_normalMaterial": null,
......@@ -4389,7 +4909,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 75
"__id__": 87
},
"_id": "a5CSFc15pHJrUqBqHzlHYf"
},
......
......@@ -194,6 +194,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
})
}
// 更新当前面板颜色
updateCurrentNodeColor(node, data) {
let label = node.getChildByName('label')
pg.view.visible(label, true)
pg.view.setString(label, data.word)
for (let i = 1; i <= 5; i++) {
pg.view.visible(pg.view.find(node, 'img_keyboard_' + i), data.color == i);
}
let block = node.data;
block.val = data.word;
}
getBlockNodeByPos(x, y) {
return this.layout_blocks.children.find(node => node.data.x == x && node.data.y == y)
}
......@@ -284,41 +296,43 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.touching = null;
target.x = target.data.pos.x;
target.y = target.data.pos.y;
// this.playLocalAudio('error').then(() => {
// this.touching = null;
// // this.updateItem(target, data);
// })
return;
}
//是否正确
let isRight = collNode.data.rightVal == data.word;
if (isRight) {
let item = target;
// this.playLocalAudio('right').then(() => {
// if (data.audioUrl) {
// pg.audio.playAudioByUrlThen(data.audioUrl).then(() => {
// this.touching = null;
// })
// } else {
// this.touching = null;
// }
// })
this.playLocalAudio('move').then(() => { })
let item = target;
cc.tween(target).to(0.15, { scale: 0.9, rotation: 0 }).call(() => {
// block需要显示内容
this.updateCurrentNodeColor(collNode, data);
target.active = false;
this.touching = null;
item.off(cc.Node.EventType.TOUCH_START, this.onItemTouchStart, this);
item.off(cc.Node.EventType.TOUCH_MOVE, this.onItemTouchMove, this);
item.off(cc.Node.EventType.TOUCH_END, this.onItemTouchEnd, this);
item.off(cc.Node.EventType.TOUCH_CANCEL, this.onItemTouchCancel, this);
} else {
// this.playLocalAudio('error').then(() => {
// this.touching = null;
// // this.updateItem(target, data);
// })
this.touching = null;
target.x = target.data.pos.x;
target.y = target.data.pos.y;
}
// 判断此行是否完成
let lineFull = true;
if (lineFull) {
} else {
// 下一个格子刷新聚焦
this.updateHightLight();
}
}).start();
// this.playLocalAudio('right').then(() => {
// if (data.audioUrl) {
// pg.audio.playAudioByUrlThen(data.audioUrl).then(() => {
// this.touching = null;
// })
// } else {
// this.touching = null;
// }
// })
// this.touching = null;
// target.x = target.data.pos.x;
// target.y = target.data.pos.y;
// 检测一行是否完成, 完成加星星
// pg.event.emit('mouse_05_add')
......
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