Commit 8b4b07f4 authored by WangFan's avatar WangFan

增加完成处理

parent 4083a9aa
......@@ -75,25 +75,25 @@
"__id__": 5
},
{
"__id__": 47
"__id__": 48
},
{
"__id__": 69
"__id__": 70
},
{
"__id__": 86
"__id__": 89
}
],
"_active": true,
"_components": [
{
"__id__": 102
"__id__": 105
},
{
"__id__": 103
"__id__": 106
},
{
"__id__": 104
"__id__": 107
}
],
"_prefab": null,
......@@ -169,8 +169,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -183,7 +183,7 @@
"array": [
0,
0,
362.85545494732423,
0,
0,
0,
0,
......@@ -257,19 +257,19 @@
"__id__": 8
},
{
"__id__": 17
"__id__": 18
},
{
"__id__": 30
"__id__": 31
}
],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 46
},
{
"__id__": 46
"__id__": 47
}
],
"_prefab": null,
......@@ -436,7 +436,11 @@
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -448,8 +452,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -861,6 +865,33 @@
"_atlas": null,
"_id": "7e1W3DiylMM4f2AZ7HUXQb"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "11LUN/LzJPMqCx0dDmMknA"
},
{
"__type__": "cc.Node",
"_name": "static",
......@@ -870,22 +901,22 @@
},
"_children": [
{
"__id__": 18
"__id__": 19
},
{
"__id__": 20
"__id__": 21
},
{
"__id__": 22
"__id__": 23
},
{
"__id__": 24
"__id__": 25
},
{
"__id__": 26
"__id__": 27
},
{
"__id__": 28
"__id__": 29
}
],
"_active": true,
......@@ -943,13 +974,13 @@
"_name": "cloud_ske",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 20
}
],
"_prefab": null,
......@@ -1005,7 +1036,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 19
},
"_enabled": true,
"_materials": [
......@@ -1045,13 +1076,13 @@
"_name": "m3_ske",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 22
}
],
"_prefab": null,
......@@ -1107,7 +1138,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 21
},
"_enabled": true,
"_materials": [
......@@ -1147,13 +1178,13 @@
"_name": "g2_ske",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 24
}
],
"_prefab": null,
......@@ -1209,7 +1240,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 23
},
"_enabled": true,
"_materials": [
......@@ -1249,13 +1280,13 @@
"_name": "m1g1_ske",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 26
}
],
"_prefab": null,
......@@ -1311,7 +1342,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 25
},
"_enabled": true,
"_materials": [
......@@ -1351,13 +1382,13 @@
"_name": "tree_ske",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 27
"__id__": 28
}
],
"_prefab": null,
......@@ -1413,7 +1444,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
"__id__": 27
},
"_enabled": true,
"_materials": [
......@@ -1453,13 +1484,13 @@
"_name": "m2g2_ske",
"_objFlags": 0,
"_parent": {
"__id__": 17
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 30
}
],
"_prefab": null,
......@@ -1515,7 +1546,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
"__id__": 29
},
"_enabled": true,
"_materials": [
......@@ -1559,28 +1590,28 @@
},
"_children": [
{
"__id__": 31
"__id__": 32
},
{
"__id__": 33
"__id__": 34
},
{
"__id__": 35
"__id__": 36
},
{
"__id__": 37
"__id__": 38
},
{
"__id__": 39
"__id__": 40
},
{
"__id__": 41
"__id__": 42
},
{
"__id__": 43
"__id__": 44
}
],
"_active": false,
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
......@@ -1635,13 +1666,13 @@
"_name": "cloud_ske",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 32
"__id__": 33
}
],
"_prefab": null,
......@@ -1697,7 +1728,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"__id__": 32
},
"_enabled": true,
"_materials": [
......@@ -1737,13 +1768,13 @@
"_name": "m3_ske",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 35
}
],
"_prefab": null,
......@@ -1799,7 +1830,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 34
},
"_enabled": true,
"_materials": [
......@@ -1839,13 +1870,13 @@
"_name": "m1g1_ske",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 37
}
],
"_prefab": null,
......@@ -1901,7 +1932,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 36
},
"_enabled": true,
"_materials": [
......@@ -1941,13 +1972,13 @@
"_name": "g2_ske",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 39
}
],
"_prefab": null,
......@@ -2003,7 +2034,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
"__id__": 38
},
"_enabled": true,
"_materials": [
......@@ -2043,13 +2074,13 @@
"_name": "tree_ske",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 41
}
],
"_prefab": null,
......@@ -2105,7 +2136,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
"__id__": 40
},
"_enabled": true,
"_materials": [
......@@ -2145,13 +2176,13 @@
"_name": "m2g2_ske",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
"__id__": 43
}
],
"_prefab": null,
......@@ -2207,7 +2238,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 42
},
"_enabled": true,
"_materials": [
......@@ -2247,13 +2278,13 @@
"_name": "icon_mountain",
"_objFlags": 0,
"_parent": {
"__id__": 30
"__id__": 31
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 44
"__id__": 45
}
],
"_prefab": null,
......@@ -2309,7 +2340,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 44
},
"_enabled": true,
"_materials": [
......@@ -2404,13 +2435,13 @@
},
"_children": [
{
"__id__": 48
"__id__": 49
},
{
"__id__": 50
"__id__": 51
},
{
"__id__": 64
"__id__": 65
}
],
"_active": true,
......@@ -2468,13 +2499,13 @@
"_name": "game_view",
"_objFlags": 0,
"_parent": {
"__id__": 47
"__id__": 48
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 49
"__id__": 50
}
],
"_prefab": null,
......@@ -2530,7 +2561,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 49
},
"_enabled": true,
"_materials": [
......@@ -2562,20 +2593,20 @@
"_name": "sentence_box",
"_objFlags": 0,
"_parent": {
"__id__": 47
"__id__": 48
},
"_children": [
{
"__id__": 51
"__id__": 52
},
{
"__id__": 53
"__id__": 54
}
],
"_active": true,
"_components": [
{
"__id__": 63
"__id__": 64
}
],
"_prefab": null,
......@@ -2631,13 +2662,13 @@
"_name": "sentence",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 51
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 53
}
],
"_prefab": null,
......@@ -2693,7 +2724,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 52
},
"_enabled": true,
"_materials": [
......@@ -2728,23 +2759,23 @@
"_name": "microphone_area",
"_objFlags": 0,
"_parent": {
"__id__": 50
"__id__": 51
},
"_children": [
{
"__id__": 54
"__id__": 55
},
{
"__id__": 59
"__id__": 60
}
],
"_active": true,
"_components": [
{
"__id__": 61
"__id__": 62
},
{
"__id__": 62
"__id__": 63
}
],
"_prefab": null,
......@@ -2800,14 +2831,14 @@
"_name": "time_area",
"_objFlags": 0,
"_parent": {
"__id__": 53
"__id__": 54
},
"_children": [
{
"__id__": 55
"__id__": 56
},
{
"__id__": 57
"__id__": 58
}
],
"_active": true,
......@@ -2865,13 +2896,13 @@
"_name": "time_bg",
"_objFlags": 512,
"_parent": {
"__id__": 54
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 57
}
],
"_prefab": null,
......@@ -2927,7 +2958,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 56
},
"_enabled": true,
"_materials": [
......@@ -2959,13 +2990,13 @@
"_name": "time",
"_objFlags": 512,
"_parent": {
"__id__": 54
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 59
}
],
"_prefab": null,
......@@ -3021,7 +3052,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 58
},
"_enabled": true,
"_materials": [
......@@ -3056,13 +3087,13 @@
"_name": "icon_recording",
"_objFlags": 0,
"_parent": {
"__id__": 53
"__id__": 54
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 60
"__id__": 61
}
],
"_prefab": null,
......@@ -3118,7 +3149,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
"__id__": 60
},
"_enabled": true,
"_materials": [
......@@ -3150,7 +3181,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 54
},
"_enabled": true,
"_materials": [
......@@ -3182,7 +3213,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 54
},
"_enabled": true,
"_normalMaterial": null,
......@@ -3243,7 +3274,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 53
"__id__": 54
},
"_id": "82hOj6Qd1ATrynPlOZXPHu"
},
......@@ -3252,7 +3283,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 51
},
"_enabled": true,
"_materials": [
......@@ -3284,14 +3315,14 @@
"_name": "coin_area",
"_objFlags": 0,
"_parent": {
"__id__": 47
"__id__": 48
},
"_children": [
{
"__id__": 65
"__id__": 66
},
{
"__id__": 67
"__id__": 68
}
],
"_active": false,
......@@ -3349,13 +3380,13 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 64
"__id__": 65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 67
}
],
"_prefab": null,
......@@ -3411,7 +3442,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 66
},
"_enabled": true,
"_materials": [
......@@ -3443,13 +3474,13 @@
"_name": "coin1_ske",
"_objFlags": 0,
"_parent": {
"__id__": 64
"__id__": 65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
"__id__": 69
}
],
"_prefab": null,
......@@ -3505,7 +3536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 68
},
"_enabled": true,
"_materials": [
......@@ -3549,19 +3580,22 @@
},
"_children": [
{
"__id__": 70
"__id__": 71
},
{
"__id__": 72
"__id__": 73
},
{
"__id__": 74
"__id__": 75
},
{
"__id__": 76
"__id__": 77
},
{
"__id__": 78
"__id__": 79
},
{
"__id__": 81
}
],
"_active": false,
......@@ -3619,13 +3653,13 @@
"_name": "finish_view",
"_objFlags": 0,
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 71
"__id__": 72
}
],
"_prefab": null,
......@@ -3681,7 +3715,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 70
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3713,13 +3747,13 @@
"_name": "gray_cover",
"_objFlags": 0,
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 73
"__id__": 74
}
],
"_prefab": null,
......@@ -3775,7 +3809,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 73
},
"_enabled": true,
"_materials": [
......@@ -3807,13 +3841,13 @@
"_name": "replay_btn",
"_objFlags": 0,
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
"__id__": 76
}
],
"_prefab": null,
......@@ -3869,7 +3903,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3898,16 +3932,118 @@
},
{
"__type__": "cc.Node",
"_name": "next_btn",
"_name": "finish_cat",
"_objFlags": 0,
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 512,
"height": 497.77919520611704
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-214.645,
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": "11rRxH0PhKR6lS7UQUDp9r"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "a3fdb391-e9ad-464d-ad51-2698de2b38e1#c9537625-dbfc-4d95-a3b3-d3d672dc93e6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a3fdb391-e9ad-464d-ad51-2698de2b38e1"
},
"_N$dragonAtlasAsset": {
"__uuid__": "c9537625-dbfc-4d95-a3b3-d3d672dc93e6"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "c2/S1O7EtNv65xpW70fYEX"
},
{
"__type__": "cc.Node",
"_name": "next_btn",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
......@@ -3963,7 +4099,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 79
},
"_enabled": true,
"_materials": [
......@@ -3995,23 +4131,23 @@
"_name": "finish_box",
"_objFlags": 0,
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [
{
"__id__": 79
"__id__": 82
},
{
"__id__": 81
"__id__": 84
},
{
"__id__": 83
"__id__": 86
}
],
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 88
}
],
"_prefab": null,
......@@ -4067,13 +4203,13 @@
"_name": "result_text",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 83
}
],
"_prefab": null,
......@@ -4129,7 +4265,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"_materials": [
......@@ -4164,13 +4300,13 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 82
"__id__": 85
}
],
"_prefab": null,
......@@ -4226,7 +4362,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 84
},
"_enabled": true,
"_materials": [
......@@ -4258,13 +4394,13 @@
"_name": "coin_num",
"_objFlags": 0,
"_parent": {
"__id__": 78
"__id__": 81
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
"__id__": 87
}
],
"_prefab": null,
......@@ -4320,7 +4456,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -4353,7 +4489,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 81
},
"_enabled": true,
"_materials": [
......@@ -4388,14 +4524,14 @@
"__id__": 2
},
"_children": [
{
"__id__": 87
},
{
"__id__": 90
},
{
"__id__": 93
},
{
"__id__": 96
}
],
"_active": false,
......@@ -4453,11 +4589,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 89
},
"_children": [
{
"__id__": 88
"__id__": 91
}
],
"_active": true,
......@@ -4515,13 +4651,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 87
"__id__": 90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
"__id__": 92
}
],
"_prefab": null,
......@@ -4577,7 +4713,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
"__id__": 91
},
"_enabled": true,
"_materials": [],
......@@ -4608,11 +4744,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 89
},
"_children": [
{
"__id__": 91
"__id__": 94
}
],
"_active": true,
......@@ -4670,13 +4806,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 90
"__id__": 93
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 92
"__id__": 95
}
],
"_prefab": null,
......@@ -4732,7 +4868,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 94
},
"_enabled": true,
"_materials": [],
......@@ -4760,20 +4896,20 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 86
"__id__": 89
},
"_children": [
{
"__id__": 94
"__id__": 97
},
{
"__id__": 96
"__id__": 99
},
{
"__id__": 98
"__id__": 101
},
{
"__id__": 100
"__id__": 103
}
],
"_active": true,
......@@ -4831,13 +4967,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 96
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 98
}
],
"_prefab": null,
......@@ -4893,7 +5029,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 97
},
"_enabled": true,
"_clip": {
......@@ -4912,13 +5048,13 @@
"_name": "show",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 96
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 97
"__id__": 100
}
],
"_prefab": null,
......@@ -4974,7 +5110,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 99
},
"_enabled": true,
"_clip": {
......@@ -4993,13 +5129,13 @@
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 96
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 102
}
],
"_prefab": null,
......@@ -5055,7 +5191,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 101
},
"_enabled": true,
"_clip": {
......@@ -5074,13 +5210,13 @@
"_name": "over",
"_objFlags": 0,
"_parent": {
"__id__": 93
"__id__": 96
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 104
}
],
"_prefab": null,
......@@ -5136,7 +5272,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 103
},
"_enabled": true,
"_clip": {
......
......@@ -68,10 +68,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.time_area = pg.view.find(this.microphone_area, "time_area")
this.time = pg.view.find(this.time_area, "time")
this.coin_area = pg.view.find(this.layer_game, "coin_area")
this.replay_btn = pg.view.find(this.layer_finish, "replay_btn")
this.next_btn = pg.view.find(this.layer_finish,"next_btn")
}
initListener() {
pg.view.touchOn(this.microphone_area, this.onTouchRecordEnd, this);
pg.view.touchOn(this.replay_btn,this.onTouchReplay,this)
pg.view.touchOn(this.next_btn,this.onTouchNext,this)
}
initGame() {
this.current = -1;
......@@ -81,6 +85,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
return this.sentence_list[this.current];
}
initSentence() {
if(!this.sentence_box) return
pg.view.visible(this.sentence_box,true)
this.current++;
if (!this.currentQuestion) {
this.gameOver();
......@@ -117,7 +123,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
// this.coinShow()
}
onTouchReplay(){
pg.view.visible(this.layer_finish,false)
this.initGame()
}
onTouchNext(){
pg.view.visible(this.layer_finish,false)
this.initGame()
}
//--------------------------------Record-----------------------------
private letter: string;
......@@ -126,6 +140,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
private startTime: number;
private recording: boolean;
private microPhoneChange: boolean;
private replay_btn:cc.Node;
private next_btn:cc.Node;
showTimeStart() {
if (!this.targetTime) return;
let nowTime = new Date().getTime();
......@@ -298,7 +315,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
gameOver() {
pg.view.visible(this.sentence_box,false)
let finish_cat = pg.view.find(this.layer_finish,"finish_cat")
pg.view.playDBAnimation(finish_cat, "finish", 1);
pg.view.visible(this.layer_finish,true)
}
}
......
export const defaultData =
{
"recordFlag": false, "title": "", "questionText": "", "questionTextAudio": "", "questions": [
{ "text": "this is info", "time": 10 },
{ "text": "test some thing.", "time": 10 }], "bgAudio": "", "bgAudioName": "", "audioName": ""
{ "text": "this is info", "time": 2 },
{ "text": "test some thing.", "time": 2 }], "bgAudio": "", "bgAudioName": "", "audioName": ""
}
// {
// "recordFlag": true,
......
{
"ver": "1.1.2",
"uuid": "80d273de-f7a1-45e8-b75c-b4c3032d0b78",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6cda522a-b8bc-40b4-b8c5-28ccdbd817b4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"finish": {
"ver": "1.0.4",
"uuid": "df8c0d1b-db97-497e-b721-ebebd22dac62",
"rawTextureUuid": "6cda522a-b8bc-40b4-b8c5-28ccdbd817b4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -10.5,
"offsetY": 75.5,
"trimX": 1,
"trimY": 1,
"width": 1001,
"height": 871,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"name":"finish","version":"5.5","frameRate":24,"isGlobal":0,"armature":[{"name":"Armature","animation":[{"name":"finish","ffd":[],"frame":[],"duration":26,"slot":[{"name":"金币底","colorFrame":[{"tweenEasing":0,"color":{"aM":0},"duration":4},{"tweenEasing":0,"color":{"aM":0},"duration":6},{"tweenEasing":0,"color":{"aM":44},"duration":10},{"color":{"aM":0},"duration":6}],"displayFrame":[]},{"name":"圈","colorFrame":[{"tweenEasing":0,"color":{"aM":0},"duration":4},{"tweenEasing":0,"color":{"aM":0},"duration":4},{"tweenEasing":0,"color":{"aM":0},"duration":6},{"tweenEasing":0,"color":{"aM":40},"duration":6},{"color":{"aM":0},"duration":6}],"displayFrame":[]},{"name":"金币","colorFrame":[],"displayFrame":[{"duration":4,"value":-1},{"duration":7,"value":-1},{"duration":15}]},{"name":"条1","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.34269662921348315,0.9952978056426333],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"条11","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.5,1],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"条111","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.5,1],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"条12","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.5,1],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"条13","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.34269662921348315,0.9952978056426333],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"条121","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.34269662921348315,0.9952978056426333],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"条122","colorFrame":[{"color":{"aM":0},"duration":8},{"curve":[0,0,0.34269662921348315,0.9952978056426333],"color":{"aM":22},"duration":11},{"tweenEasing":0,"duration":7},{"color":{"aM":0},"duration":0}],"displayFrame":[]}],"bone":[{"name":"root","translateFrame":[],"rotateFrame":[],"scaleFrame":[]},{"name":"金币底","translateFrame":[],"rotateFrame":[],"scaleFrame":[{"x":1.3,"duration":4,"tweenEasing":0,"y":1.3},{"x":1.3,"duration":6,"tweenEasing":0,"y":1.3},{"duration":16}]},{"name":"圈","translateFrame":[],"rotateFrame":[],"scaleFrame":[{"duration":11},{"duration":9,"tweenEasing":0},{"x":1.4,"duration":6,"y":1.4}]},{"name":"金币","translateFrame":[],"rotateFrame":[],"scaleFrame":[{"duration":11},{"x":0.5,"duration":4,"tweenEasing":0,"y":0.5},{"duration":7,"curve":[0.7359550561797753,0.009404388714733543,1,1],"y":1.1},{"duration":4}]},{"name":"条1","translateFrame":[{"duration":8},{"x":93.3333,"duration":11,"tweenEasing":0,"y":33.3333},{"x":-236.6667,"duration":7,"y":-54.1608}],"rotateFrame":[{"duration":8},{"duration":11,"tweenEasing":0},{"rotate":-93.3665,"duration":7}],"scaleFrame":[{"duration":8},{"x":0.7,"duration":11,"tweenEasing":0,"y":0.7},{"duration":7}]},{"name":"bone","translateFrame":[],"rotateFrame":[{"duration":22,"clockwise":2,"tweenEasing":0},{"duration":4}],"scaleFrame":[]},{"name":"条11","translateFrame":[{"duration":8},{"x":-178.25,"duration":11,"curve":[0,0,0.5,1],"y":33.3333},{"x":-581.1667,"duration":7,"y":-526.7441}],"rotateFrame":[{"duration":8},{"curve":[0,0,0.5,1],"duration":11},{"rotate":-93.3665,"duration":7}],"scaleFrame":[{"duration":8},{"x":0.7,"duration":11,"curve":[0,0,0.5,1],"y":0.7},{"duration":7}]},{"name":"条111","translateFrame":[{"duration":8},{"x":-178.25,"duration":11,"curve":[0,0,0.5,1],"y":33.3333},{"x":146.8333,"duration":7,"y":-138.9941}],"rotateFrame":[{"duration":8},{"curve":[0,0,0.5,1],"duration":11},{"rotate":-93.3665,"duration":7}],"scaleFrame":[{"duration":8},{"x":0.7,"duration":11,"curve":[0,0,0.5,1],"y":0.7},{"duration":7}]},{"name":"条12","translateFrame":[{"duration":8},{"x":93.3333,"duration":11,"curve":[0,0,0.5,1],"y":33.3333},{"x":300.8333,"duration":7,"y":-54.1608}],"rotateFrame":[{"duration":8},{"curve":[0,0,0.5,1],"duration":11},{"rotate":-93.3665,"duration":7}],"scaleFrame":[{"duration":8},{"x":0.7,"duration":11,"curve":[0,0,0.5,1],"y":0.7},{"duration":7}]},{"name":"条13","translateFrame":[{"duration":8},{"x":93.3333,"duration":11,"tweenEasing":0,"y":33.3333},{"x":321,"duration":7,"y":-189.8274}],"rotateFrame":[{"duration":8},{"duration":11,"tweenEasing":0},{"rotate":-34.1966,"duration":7}],"scaleFrame":[{"duration":8},{"x":0.7,"duration":11,"tweenEasing":0,"y":0.7},{"duration":7}]},{"name":"条121","translateFrame":[{"duration":8},{"x":93.3333,"duration":11,"tweenEasing":0,"y":33.3333},{"x":-236.6667,"duration":7,"y":-54.1608}],"rotateFrame":[{"duration":8},{"duration":11,"tweenEasing":0},{"rotate":-93.3665,"duration":7}],"scaleFrame":[{"duration":8},{"x":0.7,"duration":11,"tweenEasing":0,"y":0.7},{"duration":7}]}],"ik":[],"playTimes":0}],"bone":[{"name":"root","transform":{"x":-131.6667,"y":16.6667}},{"name":"圈","transform":{"x":140.655,"y":-240.8618},"parent":"root"},{"name":"金币","transform":{"x":143.8193,"y":-246.4},"parent":"root"},{"name":"条1","transform":{"x":33.3193,"y":-90.0208},"parent":"root"},{"name":"金币底","transform":{"x":146.8193,"y":-242},"parent":"root"},{"name":"bone","transform":{"x":138.33,"y":-245.75},"parent":"root"},{"name":"条11","transform":{"x":323.3193,"scY":0.7,"y":-95.8541,"scX":0.7},"parent":"root"},{"name":"条111","transform":{"x":323.3193,"scY":0.7,"y":-95.8541,"scX":0.7},"parent":"root"},{"name":"条12","transform":{"x":166.6526,"y":-40.0208},"parent":"root"},{"name":"条13","transform":{"x":98.1526,"y":-115.9375},"parent":"root"},{"name":"条121","transform":{"x":33.3193,"y":-90.0208},"parent":"root"}],"skin":[{"name":"","slot":[{"name":"条11","display":[{"name":"金币动画/条","transform":{"x":-270.4571,"skX":-39.1322,"y":73.2524,"skY":-39.1322},"type":"image","path":"金币动画/条"}]},{"name":"圈","display":[{"name":"金币动画/圈","transform":{"x":3.5699,"y":0.3676},"type":"image","path":"金币动画/圈"}]},{"name":"金币底","display":[{"name":"金币动画/金币底","transform":{"x":-3,"y":-0.5},"type":"image","path":"金币动画/金币底"}]},{"name":"金币","display":[{"name":"金币动画/金币","transform":{"y":5.9},"type":"image","path":"金币动画/金币"}]},{"name":"条1","display":[{"name":"金币动画/条","transform":{"x":122.0667,"scY":0.5,"y":-6.3667,"scX":0.5},"type":"image","path":"金币动画/条"}]},{"name":"条111","display":[{"name":"金币动画/条","transform":{"x":-0.1,"y":-0.2},"type":"image","path":"金币动画/条"}]},{"name":"条13","display":[{"name":"金币动画/条","transform":{"x":122.0667,"scY":0.5,"y":-6.3667,"scX":0.5},"type":"image","path":"金币动画/条"}]},{"name":"条12","display":[{"name":"金币动画/条","transform":{"x":-0.1,"y":-0.2},"type":"image","path":"金币动画/条"}]},{"name":"条122","display":[{"name":"金币动画/条","transform":{"x":-0.1,"y":-0.2},"type":"image","path":"金币动画/条"}]},{"name":"条121","display":[]}]}],"defaultActions":[{"gotoAndPlay":"finish"}],"frameRate":24,"slot":[{"name":"金币底","color":{},"parent":"金币底"},{"name":"圈","color":{},"z":1,"parent":"圈"},{"name":"金币","color":{},"z":2,"parent":"金币"},{"name":"条1","color":{},"z":3,"parent":"条1"},{"name":"条11","color":{},"z":4,"parent":"条11"},{"name":"条111","color":{},"z":5,"parent":"条111"},{"name":"条12","color":{},"z":6,"parent":"条12"},{"name":"条13","color":{},"z":7,"parent":"条13"},{"name":"条121","color":{},"z":8,"parent":"root","displayIndex":-1},{"name":"条122","color":{},"z":9,"parent":"条121"}],"type":"Armature","ik":[],"aabb":{"x":-243.44169151262471,"height":497.77919520611704,"y":-469.33333333333337,"width":512}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "a3fdb391-e9ad-464d-ad51-2698de2b38e1",
"subMetas": {}
}
\ No newline at end of file
{"name":"finish","SubTexture":[{"name":"金币动画/金币底","x":1,"height":487,"y":1,"width":487},{"name":"金币动画/圈","x":490,"height":420,"y":1,"width":512},{"name":"金币动画/金币","x":490,"height":449,"y":423,"width":388},{"name":"金币动画/条","x":880,"height":104,"y":423,"width":105}],"height":1024,"imagePath":"finish.png","width":1024}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "c9537625-dbfc-4d95-a3b3-d3d672dc93e6",
"subMetas": {}
}
\ No newline at end of file
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