Commit d8fc1375 authored by limingzhe's avatar limingzhe

fix: debug

parent 7f90f7d7
{
"ver": "2.0.1",
"uuid": "a4e7516c-7a9a-4403-bf15-94250bff5888",
"downloadMode": 0,
"duration": 0.156735,
"subMetas": {}
}
\ No newline at end of file
......@@ -102,19 +102,19 @@
"__id__": 116
},
{
"__id__": 200
"__id__": 212
}
],
"_active": true,
"_components": [
{
"__id__": 202
"__id__": 214
},
{
"__id__": 203
"__id__": 215
},
{
"__id__": 204
"__id__": 216
}
],
"_prefab": null,
......@@ -5212,31 +5212,34 @@
"__id__": 117
},
{
"__id__": 163
},
{
"__id__": 170
"__id__": 167
},
{
"__id__": 175
"__id__": 174
},
{
"__id__": 178
"__id__": 181
},
{
"__id__": 184
},
{
"__id__": 186
"__id__": 190
},
{
"__id__": 192
},
{
"__id__": 196
"__id__": 198
},
{
"__id__": 198
"__id__": 202
},
{
"__id__": 204
},
{
"__id__": 206
}
],
"_active": false,
......@@ -5365,6 +5368,12 @@
},
{
"__id__": 162
},
{
"__id__": 164
},
{
"__id__": 166
}
],
"_active": true,
......@@ -5419,7 +5428,7 @@
},
{
"__type__": "cc.Node",
"_name": "icon_record_normal",
"_name": "bg_gj",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5442,8 +5451,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 52,
"height": 72
"width": 264,
"height": 85
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5477,7 +5486,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d35OcSK1ZJobwUV3UdeozP"
"_id": "b4hGBRpaZLdY/I5dhCRHI2"
},
{
"__type__": "cc.Sprite",
......@@ -5491,7 +5500,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2ea57718-dc58-419a-9da0-3f65ef27ac18"
"__uuid__": "7be7eafc-bc58-41a7-bc90-729c6082897e"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5505,11 +5514,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d9ShC7kV9KBIa80WmOcQ6x"
"_id": "61vKnDOK1NK7uVW9MXdiTx"
},
{
"__type__": "cc.Node",
"_name": "icon_recording",
"_name": "bg_ta",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5532,8 +5541,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 46,
"height": 66
"width": 264,
"height": 71
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5567,7 +5576,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "00FPUxYxFOErg0L8OVRlnH"
"_id": "05OeKr/ShIbq+xU0pwhyRZ"
},
{
"__type__": "cc.Sprite",
......@@ -5581,7 +5590,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "422b9281-4783-408f-922a-52d36d35dd6a"
"__uuid__": "f745d1fe-d373-4528-8f6c-a24d8d340c75"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5595,11 +5604,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9eLE1vS7hH9oe6LbECLWhd"
"_id": "3dHolD+eBFx6kCu75R/tys"
},
{
"__type__": "cc.Node",
"_name": "btn_listen",
"_name": "icon_record_normal",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5622,8 +5631,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 113
"width": 52,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5657,7 +5666,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a53M9aUKpJjrN7FgQLrWrB"
"_id": "d35OcSK1ZJobwUV3UdeozP"
},
{
"__type__": "cc.Sprite",
......@@ -5671,7 +5680,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0da606d6-6063-4a0a-bacd-d11a68fa42d2"
"__uuid__": "2ea57718-dc58-419a-9da0-3f65ef27ac18"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5685,11 +5694,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "34nDW+uAhPm7TTV7H39IIr"
"_id": "d9ShC7kV9KBIa80WmOcQ6x"
},
{
"__type__": "cc.Node",
"_name": "btn_record",
"_name": "icon_recording",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5712,8 +5721,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 113
"width": 46,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5747,7 +5756,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "37WDcrHWRF0aWZ3jDZAWrH"
"_id": "00FPUxYxFOErg0L8OVRlnH"
},
{
"__type__": "cc.Sprite",
......@@ -5761,7 +5770,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "abce0679-f1d7-42dd-bba7-e95724b6b78a"
"__uuid__": "422b9281-4783-408f-922a-52d36d35dd6a"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5775,11 +5784,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2ddmoNOyRAvLUcGDm/fhSK"
"_id": "9eLE1vS7hH9oe6LbECLWhd"
},
{
"__type__": "cc.Node",
"_name": "btn_stop",
"_name": "btn_listen",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5802,8 +5811,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 112,
"height": 114
"width": 110,
"height": 113
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5837,7 +5846,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d0N9RMpbZI5YdHi9tfMGkf"
"_id": "a53M9aUKpJjrN7FgQLrWrB"
},
{
"__type__": "cc.Sprite",
......@@ -5851,7 +5860,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d0ef63be-6fb0-45b4-ac16-78ae73da51b7"
"__uuid__": "0da606d6-6063-4a0a-bacd-d11a68fa42d2"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5865,11 +5874,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "16D/563JNL87k2IkOtfRGA"
"_id": "34nDW+uAhPm7TTV7H39IIr"
},
{
"__type__": "cc.Node",
"_name": "btn_play",
"_name": "btn_record",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5927,7 +5936,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "42b2P4LFJBmrDgbzqq1B6D"
"_id": "37WDcrHWRF0aWZ3jDZAWrH"
},
{
"__type__": "cc.Sprite",
......@@ -5941,7 +5950,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "82be4751-5229-45a2-b936-3775278b6ac8"
"__uuid__": "abce0679-f1d7-42dd-bba7-e95724b6b78a"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5955,11 +5964,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "baL5U8SUhM0KGcncnvnr9q"
"_id": "2ddmoNOyRAvLUcGDm/fhSK"
},
{
"__type__": "cc.Node",
"_name": "bg_di_mask",
"_name": "btn_stop",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -5982,8 +5991,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 921,
"height": 334
"width": 112,
"height": 114
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6017,7 +6026,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "46W+JAvvBK47G8V2m2al+b"
"_id": "d0N9RMpbZI5YdHi9tfMGkf"
},
{
"__type__": "cc.Sprite",
......@@ -6031,10 +6040,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f1188070-5176-4fcb-929e-2941560ad5f5"
"__uuid__": "d0ef63be-6fb0-45b4-ac16-78ae73da51b7"
},
"_type": 0,
"_sizeMode": 2,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -6043,13 +6052,13 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d1pYvBDvxEF7kmLzI2LWoi"
"_id": "16D/563JNL87k2IkOtfRGA"
},
{
"__type__": "cc.Node",
"_name": "bg_di",
"_name": "btn_play",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6072,8 +6081,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 913,
"height": 334
"width": 110,
"height": 113
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6107,7 +6116,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "db5nCYGEhBgpJYGvl4JBgg"
"_id": "42b2P4LFJBmrDgbzqq1B6D"
},
{
"__type__": "cc.Sprite",
......@@ -6121,7 +6130,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4ec4d714-db1d-4f81-aae8-d78e6a983c9a"
"__uuid__": "82be4751-5229-45a2-b936-3775278b6ac8"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6135,11 +6144,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2ae1xtZrhGfrEsVE5vywh4"
"_id": "baL5U8SUhM0KGcncnvnr9q"
},
{
"__type__": "cc.Node",
"_name": "bg_house_mask",
"_name": "bg_di_mask",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6162,8 +6171,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 618,
"height": 343
"width": 921,
"height": 334
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6197,7 +6206,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "55DPo3SyZOCqiv1gUlnWDQ"
"_id": "46W+JAvvBK47G8V2m2al+b"
},
{
"__type__": "cc.Sprite",
......@@ -6207,18 +6216,14 @@
"__id__": 134
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4fc00287-fb4a-41e6-9d0e-ce00f7f2fee5"
"__uuid__": "f1188070-5176-4fcb-929e-2941560ad5f5"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -6227,13 +6232,13 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "dcz4jdaXpIRK0F/6cn1EtW"
"_id": "d1pYvBDvxEF7kmLzI2LWoi"
},
{
"__type__": "cc.Node",
"_name": "bg_circle",
"_name": "bg_di",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6256,8 +6261,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 409,
"height": 409
"width": 913,
"height": 334
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6291,7 +6296,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f8svCUn0xHXIMAhlhDDh7z"
"_id": "db5nCYGEhBgpJYGvl4JBgg"
},
{
"__type__": "cc.Sprite",
......@@ -6301,15 +6306,11 @@
"__id__": 136
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3d3bca10-cea6-45b2-8a7f-19de4580f99b"
"__uuid__": "4ec4d714-db1d-4f81-aae8-d78e6a983c9a"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6323,11 +6324,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "91GlbVvetBLbtcNpoy/n2q"
"_id": "2ae1xtZrhGfrEsVE5vywh4"
},
{
"__type__": "cc.Node",
"_name": "btn_restart",
"_name": "bg_house_mask",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6350,8 +6351,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 262,
"height": 268
"width": 618,
"height": 343
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6385,7 +6386,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "48MwZy8/pIb74ab6YX4uIt"
"_id": "55DPo3SyZOCqiv1gUlnWDQ"
},
{
"__type__": "cc.Sprite",
......@@ -6403,7 +6404,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5d3e0ce0-e407-43aa-9c18-af99b5537fae"
"__uuid__": "4fc00287-fb4a-41e6-9d0e-ce00f7f2fee5"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6417,11 +6418,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0fzpIJwzFICpqyNM23HXv0"
"_id": "dcz4jdaXpIRK0F/6cn1EtW"
},
{
"__type__": "cc.Node",
"_name": "icon_star",
"_name": "bg_circle",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6444,8 +6445,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48,
"height": 46
"width": 409,
"height": 409
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6479,7 +6480,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ecpLHLGmRJL5I4L4XY7FMX"
"_id": "f8svCUn0xHXIMAhlhDDh7z"
},
{
"__type__": "cc.Sprite",
......@@ -6497,7 +6498,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9a6bc63a-28df-464a-95c3-7f0bd9e8d1ae"
"__uuid__": "3d3bca10-cea6-45b2-8a7f-19de4580f99b"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6511,11 +6512,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d6P14RU+tHk5LS2Z+vQLlY"
"_id": "91GlbVvetBLbtcNpoy/n2q"
},
{
"__type__": "cc.Node",
"_name": "icon_star_bg",
"_name": "btn_restart",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6538,8 +6539,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48,
"height": 46
"width": 262,
"height": 268
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6573,7 +6574,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b5nBU6yY5HUovCouJ3sewm"
"_id": "48MwZy8/pIb74ab6YX4uIt"
},
{
"__type__": "cc.Sprite",
......@@ -6591,7 +6592,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "30c22c66-1bcf-45d1-96a2-83ece0e30ef2"
"__uuid__": "5d3e0ce0-e407-43aa-9c18-af99b5537fae"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6605,11 +6606,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "93b7qXBqZB3aOPURiDrY47"
"_id": "0fzpIJwzFICpqyNM23HXv0"
},
{
"__type__": "cc.Node",
"_name": "bg_goodjob",
"_name": "icon_star",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6632,8 +6633,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 682,
"height": 266
"width": 48,
"height": 46
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6667,7 +6668,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a5V077fnFP2ZaZxeHYxpzv"
"_id": "ecpLHLGmRJL5I4L4XY7FMX"
},
{
"__type__": "cc.Sprite",
......@@ -6685,7 +6686,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3a360532-2cc9-41c1-9116-f67d17630b4f"
"__uuid__": "9a6bc63a-28df-464a-95c3-7f0bd9e8d1ae"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6699,11 +6700,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "10XcGk4yhISpEoTIgB0bPu"
"_id": "d6P14RU+tHk5LS2Z+vQLlY"
},
{
"__type__": "cc.Node",
"_name": "bg_tryagain",
"_name": "icon_star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6726,8 +6727,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 682,
"height": 266
"width": 48,
"height": 46
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6761,7 +6762,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "03F469hwhNQIoDZBIU4aTa"
"_id": "b5nBU6yY5HUovCouJ3sewm"
},
{
"__type__": "cc.Sprite",
......@@ -6779,7 +6780,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "64bf0055-0179-4923-a5a9-b49eb2761cac"
"__uuid__": "30c22c66-1bcf-45d1-96a2-83ece0e30ef2"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6793,11 +6794,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "de00ruU/dAoqBu/8bmjfHq"
"_id": "93b7qXBqZB3aOPURiDrY47"
},
{
"__type__": "cc.Node",
"_name": "btn_record_bg_2",
"_name": "bg_goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6820,8 +6821,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 114,
"height": 114
"width": 682,
"height": 266
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6855,7 +6856,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9bXHTrxs5BY5jKxu3MZA87"
"_id": "a5V077fnFP2ZaZxeHYxpzv"
},
{
"__type__": "cc.Sprite",
......@@ -6873,7 +6874,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b0cc9e78-aa15-4359-941f-8120b4f85cfc"
"__uuid__": "3a360532-2cc9-41c1-9116-f67d17630b4f"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6887,11 +6888,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a0S9SGlrBO1b4uoEK5/rwU"
"_id": "10XcGk4yhISpEoTIgB0bPu"
},
{
"__type__": "cc.Node",
"_name": "icon_record_normal_2",
"_name": "bg_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -6914,8 +6915,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 61,
"height": 77
"width": 682,
"height": 266
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6949,7 +6950,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7awJ8zr15JOpq0x6Ici0yk"
"_id": "03F469hwhNQIoDZBIU4aTa"
},
{
"__type__": "cc.Sprite",
......@@ -6967,7 +6968,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0289f26e-d7ae-4508-896b-e1245e579a00"
"__uuid__": "64bf0055-0179-4923-a5a9-b49eb2761cac"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6981,11 +6982,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "75/Dk34T9MAadSMIDC3sOV"
"_id": "de00ruU/dAoqBu/8bmjfHq"
},
{
"__type__": "cc.Node",
"_name": "record_item_choose",
"_name": "btn_record_bg_2",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -7008,8 +7009,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 582,
"height": 198
"width": 114,
"height": 114
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7043,7 +7044,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "16gbhXQ71E8LTm6bpQQK+r"
"_id": "9bXHTrxs5BY5jKxu3MZA87"
},
{
"__type__": "cc.Sprite",
......@@ -7061,7 +7062,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ad279e4d-790a-4cba-b66b-f287088b388b"
"__uuid__": "b0cc9e78-aa15-4359-941f-8120b4f85cfc"
},
"_type": 0,
"_sizeMode": 1,
......@@ -7075,11 +7076,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f0OwCKrFxL2LwfO9DD32En"
"_id": "a0S9SGlrBO1b4uoEK5/rwU"
},
{
"__type__": "cc.Node",
"_name": "record_item_mask",
"_name": "icon_record_normal_2",
"_objFlags": 0,
"_parent": {
"__id__": 117
......@@ -7102,8 +7103,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 578,
"height": 226
"width": 61,
"height": 77
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7137,7 +7138,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6eW80Ub6ZDzaPCYBx+REYn"
"_id": "7awJ8zr15JOpq0x6Ici0yk"
},
{
"__type__": "cc.Sprite",
......@@ -7154,6 +7155,194 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0289f26e-d7ae-4508-896b-e1245e579a00"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "75/Dk34T9MAadSMIDC3sOV"
},
{
"__type__": "cc.Node",
"_name": "record_item_choose",
"_objFlags": 0,
"_parent": {
"__id__": 117
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 157
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 582,
"height": 198
},
"_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": "16gbhXQ71E8LTm6bpQQK+r"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 156
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ad279e4d-790a-4cba-b66b-f287088b388b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f0OwCKrFxL2LwfO9DD32En"
},
{
"__type__": "cc.Node",
"_name": "record_item_mask",
"_objFlags": 0,
"_parent": {
"__id__": 117
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 159
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 578,
"height": 226
},
"_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": "6eW80Ub6ZDzaPCYBx+REYn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0a820fe0-90fd-4442-9271-5b79c348e53b"
},
......@@ -7182,7 +7371,7 @@
"_active": true,
"_components": [
{
"__id__": 157
"__id__": 161
}
],
"_prefab": null,
......@@ -7238,7 +7427,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 156
"__id__": 160
},
"_enabled": true,
"_materials": [
......@@ -7276,7 +7465,7 @@
"_active": true,
"_components": [
{
"__id__": 159
"__id__": 163
}
],
"_prefab": null,
......@@ -7332,7 +7521,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 162
},
"_enabled": true,
"_materials": [
......@@ -7370,7 +7559,7 @@
"_active": true,
"_components": [
{
"__id__": 161
"__id__": 165
}
],
"_prefab": null,
......@@ -7426,7 +7615,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
"__id__": 164
},
"_enabled": true,
"_materials": [
......@@ -7520,13 +7709,13 @@
},
"_children": [
{
"__id__": 164
"__id__": 168
},
{
"__id__": 166
"__id__": 170
},
{
"__id__": 168
"__id__": 172
}
],
"_active": true,
......@@ -7584,13 +7773,13 @@
"_name": "GOTHICB_1",
"_objFlags": 0,
"_parent": {
"__id__": 163
"__id__": 167
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 165
"__id__": 169
}
],
"_prefab": null,
......@@ -7646,7 +7835,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 164
"__id__": 168
},
"_enabled": true,
"_materials": [
......@@ -7681,13 +7870,13 @@
"_name": "Muli_1GDlj",
"_objFlags": 0,
"_parent": {
"__id__": 163
"__id__": 167
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 167
"__id__": 171
}
],
"_prefab": null,
......@@ -7743,7 +7932,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 166
"__id__": 170
},
"_enabled": true,
"_materials": [
......@@ -7778,13 +7967,13 @@
"_name": "MuliBoldYzEVy",
"_objFlags": 0,
"_parent": {
"__id__": 163
"__id__": 167
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 169
"__id__": 173
}
],
"_prefab": null,
......@@ -7840,7 +8029,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 168
"__id__": 172
},
"_enabled": true,
"_materials": [
......@@ -7879,10 +8068,13 @@
},
"_children": [
{
"__id__": 171
"__id__": 175
},
{
"__id__": 173
"__id__": 177
},
{
"__id__": 179
}
],
"_active": true,
......@@ -7940,13 +8132,13 @@
"_name": "tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 170
"__id__": 174
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 172
"__id__": 176
}
],
"_prefab": null,
......@@ -8002,7 +8194,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
"__id__": 175
},
"_enabled": true,
"_clip": {
......@@ -8021,13 +8213,13 @@
"_name": "goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 170
"__id__": 174
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
"__id__": 178
}
],
"_prefab": null,
......@@ -8083,7 +8275,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
"__id__": 177
},
"_enabled": true,
"_clip": {
......@@ -8099,18 +8291,18 @@
},
{
"__type__": "cc.Node",
"_name": "anima",
"_name": "rolling",
"_objFlags": 0,
"_parent": {
"__id__": 116
"__id__": 174
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 176
"__id__": 180
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -8157,21 +8349,102 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a3NtiuGsVNvrgVOCxGCqwE"
"_id": "c37HSGFL5B4o3eyLIWQxP9"
},
{
"__type__": "cc.Node",
"_name": "pageturn",
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 175
"node": {
"__id__": 179
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 177
}
"_enabled": true,
"_clip": {
"__uuid__": "a4e7516c-7a9a-4403-bf15-94250bff5888"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "fekrXO/71MnrcyUnupSSd5"
},
{
"__type__": "cc.Node",
"_name": "anima",
"_objFlags": 0,
"_parent": {
"__id__": 116
},
"_children": [
{
"__id__": 182
}
],
"_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": "a3NtiuGsVNvrgVOCxGCqwE"
},
{
"__type__": "cc.Node",
"_name": "pageturn",
"_objFlags": 0,
"_parent": {
"__id__": 181
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 183
}
],
"_prefab": null,
"_opacity": 255,
......@@ -8226,7 +8499,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
"__id__": 182
},
"_enabled": true,
"_materials": [
......@@ -8270,16 +8543,16 @@
},
"_children": [
{
"__id__": 179
"__id__": 185
},
{
"__id__": 181
"__id__": 187
}
],
"_active": true,
"_components": [
{
"__id__": 183
"__id__": 189
}
],
"_prefab": null,
......@@ -8335,13 +8608,13 @@
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 178
"__id__": 184
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 180
"__id__": 186
}
],
"_prefab": null,
......@@ -8398,7 +8671,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
"__id__": 185
},
"_enabled": true,
"_materials": [
......@@ -8433,13 +8706,13 @@
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 178
"__id__": 184
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 182
"__id__": 188
}
],
"_prefab": null,
......@@ -8496,7 +8769,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
"__id__": 187
},
"_enabled": true,
"_materials": [
......@@ -8531,7 +8804,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 178
"__id__": 184
},
"_enabled": true,
"_fontFamily": "Arial",
......@@ -8560,7 +8833,7 @@
"_active": true,
"_components": [
{
"__id__": 185
"__id__": 191
}
],
"_prefab": null,
......@@ -8616,7 +8889,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
"__id__": 190
},
"_enabled": true,
"_materials": [
......@@ -8655,7 +8928,7 @@
},
"_children": [
{
"__id__": 187
"__id__": 193
}
],
"_active": true,
......@@ -8713,20 +8986,20 @@
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 186
"__id__": 192
},
"_children": [
{
"__id__": 188
"__id__": 194
}
],
"_active": true,
"_components": [
{
"__id__": 190
"__id__": 196
},
{
"__id__": 191
"__id__": 197
}
],
"_prefab": null,
......@@ -8782,13 +9055,13 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 187
"__id__": 193
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 189
"__id__": 195
}
],
"_prefab": null,
......@@ -8844,7 +9117,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 188
"__id__": 194
},
"_enabled": true,
"_materials": [
......@@ -8876,7 +9149,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
"__id__": 193
},
"_enabled": true,
"_materials": [
......@@ -8908,12 +9181,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
"__id__": 193
},
"_enabled": true,
"_N$totalLength": 1,
"_N$barSprite": {
"__id__": 189
"__id__": 195
},
"_N$mode": 2,
"_N$progress": 0,
......@@ -8929,7 +9202,7 @@
},
"_children": [
{
"__id__": 193
"__id__": 199
}
],
"_active": true,
......@@ -8987,16 +9260,16 @@
"_name": "record",
"_objFlags": 0,
"_parent": {
"__id__": 192
"__id__": 198
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 194
"__id__": 200
},
{
"__id__": 195
"__id__": 201
}
],
"_prefab": null,
......@@ -9052,7 +9325,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 199
},
"_enabled": true,
"_materials": [
......@@ -9084,7 +9357,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 199
},
"_enabled": true,
"_defaultClip": {
......@@ -9109,7 +9382,7 @@
"_active": true,
"_components": [
{
"__id__": 197
"__id__": 203
}
],
"_prefab": null,
......@@ -9165,7 +9438,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 196
"__id__": 202
},
"_enabled": true,
"_materials": [
......@@ -9203,7 +9476,7 @@
"_active": true,
"_components": [
{
"__id__": 199
"__id__": 205
}
],
"_prefab": null,
......@@ -9259,7 +9532,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 198
"__id__": 204
},
"_enabled": true,
"_materials": [
......@@ -9289,6 +9562,280 @@
"_N$cacheMode": 2,
"_id": "82nx6q/yVMuIDbDpNJAr+4"
},
{
"__type__": "cc.Node",
"_name": "progress",
"_objFlags": 0,
"_parent": {
"__id__": 116
},
"_children": [
{
"__id__": 207
}
],
"_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": "d5zv5EbcpJDJuT+mEqgMZq"
},
{
"__type__": "cc.Node",
"_name": "soundProgressBar",
"_objFlags": 0,
"_parent": {
"__id__": 206
},
"_children": [
{
"__id__": 208
}
],
"_active": true,
"_components": [
{
"__id__": 210
},
{
"__id__": 211
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 52,
"height": 72
},
"_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": "61GaqYRONFvZFEHPmpyRtK"
},
{
"__type__": "cc.Node",
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 207
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 209
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 46,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-29.964,
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": "aet0S/nx9CJrU6ejy5JZcP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 208
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "422b9281-4783-408f-922a-52d36d35dd6a"
},
"_type": 3,
"_sizeMode": 0,
"_fillType": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "23rxWZLAZDHrUt5tEir51Q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 207
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2ea57718-dc58-419a-9da0-3f65ef27ac18"
},
"_type": 1,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4e8n7RpAVAx66WfTy2hCt0"
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 207
},
"_enabled": true,
"_N$totalLength": 1,
"_N$barSprite": {
"__id__": 209
},
"_N$mode": 2,
"_N$progress": 0,
"_N$reverse": false,
"_id": "40I0DbRjFI6IK08SfH69CI"
},
{
"__type__": "cc.Node",
"_name": "fontLabel",
......@@ -9300,7 +9847,7 @@
"_active": false,
"_components": [
{
"__id__": 201
"__id__": 213
}
],
"_prefab": null,
......@@ -9356,7 +9903,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 200
"__id__": 212
},
"_enabled": true,
"_materials": [
......
......@@ -718,6 +718,7 @@ cc.Class({
audioGoodjob: null,
audioTryagain: null,
audioRolling: null,
initAudioEffect() {
const audioNode = cc.find('Canvas/res/audio');
......@@ -728,6 +729,8 @@ cc.Class({
this.audioGoodjob = getAudioByResName('goodjob');
this.audioTryagain = getAudioByResName('tryagain');
this.audioRolling = getAudioByResName('rolling');
},
......@@ -973,7 +976,7 @@ cc.Class({
svNode.y = -topH / 2 // 100 * this._mapScaleMin;
svNode.x = this.canvas.width / 4 + 10 * this._mapScaleMin;// - (item.width / 2 + 10) * this._mapScaleMin;
svNode.x = this.canvas.width / 4.5 + 10 * this._mapScaleMin;// - (item.width / 2 + 10) * this._mapScaleMin;
svNode.scale = this._mapScaleMin;
......@@ -986,8 +989,8 @@ cc.Class({
this.recordItemArr = [];
const baseX = 0 //this.canvas.width/2 - 300 * this._mapScaleMin;
const baseY = -item.height / 2; // item.height / 2 // this.canvas.height / 2 - 200 * this._mapScaleMin;
const disH = item.height + 20;
const disH = item.height + 50;
const baseY = -item.height / 2 - 35; // item.height / 2 // this.canvas.height / 2 - 200 * this._mapScaleMin;
let h = 0;
let count = 0;
......@@ -1078,6 +1081,7 @@ cc.Class({
// }
console.log('targetY : ', targetY);
this.sv.scrollToOffset(cc.v2(0, - item.y - item.height / 2 * 3), 0.5);
playAudio(this.audioRolling.clip);
})
},
......@@ -1409,6 +1413,8 @@ cc.Class({
item.addChild(progress);
item.progressComp = progress.getComponent(cc.ProgressBar);
item.progressComp.progress = 0;
// item.progressJs = progress.getComponent('OP_06_3_myProgressScript');
const timeLabel = this.getLabel();
......@@ -1450,18 +1456,18 @@ cc.Class({
const recordIcon = getSprNode('icon_record_normal');
recordBtnNode.addChild(recordIcon);
const recordAnim = getSprNode('icon_recording');
// const recordAnim = this.getAnim('record');
const soundProgressBase = cc.find("Canvas/res/progress/soundProgressBar")
const soundProgressNode = cc.instantiate(soundProgressBase);
soundProgressNode.parent = recordBtnNode;
// recordAnim.scale = 0.8;
// recordAnim.x = -0.1;
recordAnim.y = 3.5;
// const anim = recordAnim.getComponent(cc.Animation);
// anim.play();
recordBtnNode.addChild(recordAnim);
recordAnim.active = false;
// const recordAnim = getSprNode('icon_recording');
// recordAnim.y = 3.5;
// recordBtnNode.addChild(recordAnim);
// recordAnim.active = false;
......@@ -1475,7 +1481,10 @@ cc.Class({
item.playIcon = playBtn;
item.pauseIcon = stopBtn;
item.recordEndIcon = recordIcon;
item.recordStartIcon = recordAnim;
item.recordStartIcon = soundProgressNode;
item.soundProgress = soundProgressNode.getComponent(cc.ProgressBar);
// item.listenBtn = listenBtn;
item.listenBtn = playBtnNode;
......@@ -1567,6 +1576,7 @@ cc.Class({
this.isRecord = true;
this.refreshRecordBtnState(item);
item.soundProgress.progress = 0;
this.curRecordItem = item;
......@@ -1713,16 +1723,16 @@ cc.Class({
serverStopTest(item) {
// const tmpData = {
// refText: 'ant apple alligator ax.',
// audio_url: 'https://staging-teach.cdn.ireadabc.com/f01f0d63c0c4c0dd1203a6202ecaf34b.wav',
// result:{
// overall: 49,
// }
// }
const tmpData = {
refText: 'ant apple alligator ax.',
audioUrl: 'https://staging-teach.cdn.ireadabc.com/f01f0d63c0c4c0dd1203a6202ecaf34b.wav',
result:{
overall: 49,
}
}
// this.setRecordItemAudio(tmpData, item);
// return;
this.setRecordItemAudio(tmpData, item);
return;
const cw = window?.courseware
if (cw) {
......@@ -1792,7 +1802,7 @@ cc.Class({
item.starCount = count;
this.showStar(item, count);
this.showStar(item, count, score);
this.showListenBtn(item);
......@@ -1863,10 +1873,13 @@ cc.Class({
showStar(item, count) {
if (!item.starLayer) {
this.initItemStarLayer(item);
}
showStar(item, count, score) {
// if (!item.starLayer) {
// this.initItemStarLayer(item);
// }
const starShowEnd = () => {
this.isStarShowEnd = true;
......@@ -1884,10 +1897,10 @@ cc.Class({
this.isShowFightAudio = true;
this.canTouch = false;
console.log("禁止点击 - 4")
this.playAni('begin', 0);
// this.playAni('begin', 0);
this.needEnableTouchOnStopAudio = true;
playAudioByUrl(this.data.fight_audio_url, () => {
this.playAni('normal', 0);
// this.playAni('normal', 0);
this.needEnableTouchOnStopAudio = false;
if (this.isDestroy) {
......@@ -1903,39 +1916,74 @@ cc.Class({
}
}
if (count >= 2) {
this.playAni('begin', 0);
let resName;
if (score >= 60) {
resName = "bg_gj";
playAudio(this.audioGoodjob.clip, ()=>{
this.playAni('normal', 0);
callback()
});
} else {
this.playAni('begin', 0);
resName = "bg_ta";
playAudio(this.audioTryagain.clip, ()=>{
this.playAni('normal', 0);
callback()
});
}
const resNode = getSprNode(resName);
item.addChild(resNode);
resNode.x = -140;
resNode.y = 156;
const starArr = item.starArr;
for (let i = 0; i < 3; i++) {
resNode.scale = 0;
const time = 1;
cc.tween(resNode)
.delay(1 * 0.25)
.to(time, { scale: 1 }, { easing: 'elasticOut' })
.start()
const star = starArr[i];
if (i > count - 1) {
star.active = false;
continue;
}
star.active = true;
star.scale = 0;
const time = 1;
cc.tween(star)
.delay(i * 0.25)
.to(time, { scale: 1 }, { easing: 'elasticOut' })
.start()
}
// if (count >= 2) {
// this.playAni('begin', 0);
// playAudio(this.audioGoodjob.clip, ()=>{
// this.playAni('normal', 0);
// callback()
// });
// } else {
// this.playAni('begin', 0);
// playAudio(this.audioTryagain.clip, ()=>{
// this.playAni('normal', 0);
// callback()
// });
// }
// const starArr = item.starArr;
// for (let i = 0; i < 3; i++) {
// const star = starArr[i];
// if (i > count - 1) {
// star.active = false;
// continue;
// }
// star.active = true;
// star.scale = 0;
// const time = 1;
// cc.tween(star)
// .delay(i * 0.25)
// .to(time, { scale: 1 }, { easing: 'elasticOut' })
// .start()
// }
},
initItemStarLayer(item) {
......@@ -2628,6 +2676,9 @@ cc.Class({
let percent = (currentTime - item.startTime) / item.duration;
console.log('percent: ', percent);
console.log('this.lastTime: ', this.lastTime);
if((currentTime - this.lastTime) == 0) {
console.log("时间不变");
this.fakePrecent += 0.001;
......@@ -2659,10 +2710,14 @@ cc.Class({
if (item.progressComp) {
item.progressComp.progress = percent;
}
if (this.isRecord && item.soundProgress) {
item.soundProgress.progress = percent;
}
},
updateRecordEnd() {
console.log("in updateRecordEnd")
if (!this.curRecordItem) {
return;
}
......@@ -2676,6 +2731,8 @@ cc.Class({
this.hideBtn = null;
}
console.log("isRecord ~", this.isRecord);
if (this.isRecord) {
this.isRecord = false;
this.refreshRecordBtnState(item);
......
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