Commit 85d52699 authored by 李帅's avatar 李帅

初版

parent 1179bab9
{
"__type__": "cc.AnimationClip",
"_name": "play",
"_objFlags": 0,
"_native": "",
"_duration": 1,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"paths": {
"icon_myrecord1": {
"props": {
"active": [
{
"frame": 0,
"value": true
},
{
"frame": 0.3333333333333333,
"value": true
},
{
"frame": 0.6666666666666666,
"value": true
},
{
"frame": 1,
"value": true
}
]
}
},
"icon_myrecord2": {
"props": {
"active": [
{
"frame": 0,
"value": true
},
{
"frame": 0.3333333333333333,
"value": false
},
{
"frame": 0.6666666666666666,
"value": true
},
{
"frame": 1,
"value": true
}
]
}
},
"icon_myrecord3": {
"props": {
"active": [
{
"frame": 0,
"value": true
},
{
"frame": 0.3333333333333333,
"value": false
},
{
"frame": 0.6666666666666666,
"value": false
},
{
"frame": 1,
"value": true
}
]
}
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "0d5372fb-b93d-48bc-8fef-9dd83cd1c642",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1",
"subMetas": {}
}
\ No newline at end of file
...@@ -78,19 +78,52 @@ ...@@ -78,19 +78,52 @@
"__id__": 7 "__id__": 7
}, },
{ {
"__id__": 14 "__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 15
},
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 67
},
{
"__id__": 72
},
{
"__id__": 75
},
{
"__id__": 78
},
{
"__id__": 83
},
{
"__id__": 102
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 24 "__id__": 106
}, },
{ {
"__id__": 25 "__id__": 107
}, },
{ {
"__id__": 26 "__id__": 108
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -335,19 +368,12 @@ ...@@ -335,19 +368,12 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bottomPart", "_name": "left",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [ "_children": [],
{
"__id__": 8
},
{
"__id__": 11
}
],
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": null, "_prefab": null,
...@@ -373,8 +399,8 @@ ...@@ -373,8 +399,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
635.132, 0,
-356.326, 0,
0, 0,
0, 0,
0, 0,
...@@ -396,23 +422,209 @@ ...@@ -396,23 +422,209 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8c7k8ep/ZFNpO263+1QHz9" "_id": "90Awzg/8BAjK5yf5MoCkz/"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_left", "_name": "bg_img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 2
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 9 "__id__": 9
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 520,
"height": 560
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-346,
-16,
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": "damML95g5P/LzgAPNp1SXW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b6xYZuPy1J0JtkdIrxF4PC"
},
{
"__type__": "cc.Node",
"_name": "bg_pic",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 548,
"height": 650
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-346,
-38,
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": "03IJpKfhhD+KCjzWHqeP/X"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "cc97012b-938d-4722-bf03-236ec311aca4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3bc+aT34JFvIMglVCRBSQ8"
},
{
"__type__": "cc.Node",
"_name": "btn_play",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 13
}, },
{ {
"__id__": 10 "__id__": 14
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -426,8 +638,8 @@ ...@@ -426,8 +638,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 61, "width": 90,
"height": 67 "height": 83
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -438,8 +650,8 @@ ...@@ -438,8 +650,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-148.464, -347,
34, -312,
0, 0,
0, 0,
0, 0,
...@@ -461,14 +673,14 @@ ...@@ -461,14 +673,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5ad2wLQLxIN5Eg7OHecSH6" "_id": "97ifYt029HyLP+cM85bRhL"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 8 "__id__": 12
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -479,7 +691,7 @@ ...@@ -479,7 +691,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5" "__uuid__": "4306a7e1-463b-4586-9415-3c55b5146fd4"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -493,14 +705,14 @@ ...@@ -493,14 +705,14 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "84mqOgJ3JNqZrYVTEU8CjE" "_id": "e6ZaKP4T1P/ZfMtch0Los1"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Button",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 8 "__id__": 12
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -561,23 +773,23 @@ ...@@ -561,23 +773,23 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": null, "_N$target": null,
"_id": "bcYN/4EKBJhbIAfovo9Ah1" "_id": "49YHEo6ZdJjLFF3bdrF1Ju"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_right", "_name": "btn_stop",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 2
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 12 "__id__": 16
}, },
{ {
"__id__": 13 "__id__": 17
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -591,8 +803,8 @@ ...@@ -591,8 +803,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 60, "width": 90,
"height": 66 "height": 83
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -603,8 +815,8 @@ ...@@ -603,8 +815,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-47.164, -347,
34, -312,
0, 0,
0, 0,
0, 0,
...@@ -626,14 +838,14 @@ ...@@ -626,14 +838,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "46i3stdzpHX6zQHTGnRsNE" "_id": "79Huz3ZLtP57dek6GQUvAs"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 11 "__id__": 15
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -644,7 +856,7 @@ ...@@ -644,7 +856,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59" "__uuid__": "dbf4c42e-4369-4415-81e8-20cbceec34b6"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -658,14 +870,14 @@ ...@@ -658,14 +870,14 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "42Sh8QS/BHn4WiGyPQPKPt" "_id": "54SI7tSaxJMoI+cjs+CQvM"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Button",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 11 "__id__": 15
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -726,28 +938,22 @@ ...@@ -726,28 +938,22 @@
"hoverSprite": null, "hoverSprite": null,
"_N$disabledSprite": null, "_N$disabledSprite": null,
"_N$target": null, "_N$target": null,
"_id": "1aj32fYY1IxLesa77E70Qu" "_id": "48CYR9Ax9L3403OBPX0Llk"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "res", "_name": "bg_word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [ "_children": [],
{ "_active": true,
"__id__": 15 "_components": [
},
{
"__id__": 18
},
{ {
"__id__": 21 "__id__": 19
} }
], ],
"_active": false,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -759,8 +965,8 @@ ...@@ -759,8 +965,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 665,
"height": 0 "height": 709
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -771,8 +977,8 @@ ...@@ -771,8 +977,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 297,
0, -8,
0, 0,
0, 0,
0, 0,
...@@ -794,22 +1000,58 @@ ...@@ -794,22 +1000,58 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0aAzbH6R1E+6AmGRrkKa5O" "_id": "08nnVWhpNP6Zbmh75mTYl1"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Sprite",
"_name": "font", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 14 "__id__": 18
}, },
"_children": [ "_enabled": true,
"_materials": [
{ {
"__id__": 16 "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0806b0d1-1612-4944-806e-fd53102cf75c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "38Brx6wmJKI6w7u5/sCRDq"
},
{
"__type__": "cc.Node",
"_name": "ScrollView",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 21
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [
{
"__id__": 66
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -821,55 +1063,3646 @@ ...@@ -821,55 +1063,3646 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 650,
"height": 0 "height": 640
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
297,
-32,
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": "8bkkrca3tG5aixLQbME5SO"
},
{
"__type__": "cc.Node",
"_name": "view",
"_objFlags": 512,
"_parent": {
"__id__": 20
},
"_children": [
{
"__id__": 22
},
{
"__id__": 25
}
],
"_active": true,
"_components": [
{
"__id__": 64
},
{
"__id__": 65
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 650,
"height": 640
},
"_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": "163u+WZz1J+I4FBf+hrA1l"
},
{
"__type__": "cc.Node",
"_name": "content",
"_objFlags": 512,
"_parent": {
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 650,
"height": 131
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
320,
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": "50pFlGUdZH5K/lEtXdG/k3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 41,
"_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": 220,
"_originalHeight": 0,
"_id": "c6YInhBzVLhI12lpUfA3i6"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 650,
"height": 131
},
"_resize": 1,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 48,
"_N$paddingBottom": 35,
"_N$spacingX": 0,
"_N$spacingY": 58,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "38Igxm8a1OHoqlO+2JDXqJ"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 21
},
"_children": [
{
"__id__": 26
},
{
"__id__": 29
},
{
"__id__": 33
},
{
"__id__": 37
},
{
"__id__": 40
},
{
"__id__": 50
}
],
"_active": false,
"_components": [
{
"__id__": 61
},
{
"__id__": 62
},
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 562,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-281,
224,
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": "03pxeUWjRIkZmkLC76owBe"
},
{
"__type__": "cc.Node",
"_name": "icon_tip",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 27
},
{
"__id__": 28
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 18,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-9,
44,
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": "91dYKpx+xKK4r7X23P7E5Q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "73183706-2979-449f-9b60-4d76e84e9b16"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "13//zJcj5NRKMgcRm7jKmw"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": -18,
"_right": 0,
"_top": -8,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c64CJahLtFSYnX/Pg2XlKP"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 96,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 562,
"height": 60.480000000000004
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_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": "398jvUZ/VFRL5pHFnYlU2/"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 36,
"_lineHeight": 48,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "48c24708-ba06-46b1-8333-46e2c69a9858"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 2,
"_N$fontFamily": "Arial",
"_N$overflow": 3,
"_N$cacheMode": 0,
"_id": "a9ppxSrbFHGJ06kX39w/km"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_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": 97,
"_originalHeight": 0,
"_id": "00+e1hkJ5EWqCI9GNwV/Ii"
},
{
"__type__": "998d88YjM1IrJt43BOg8I/T",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"label": null,
"_id": "1711BQVPJEyr92fkrtWanD"
},
{
"__type__": "cc.Node",
"_name": "btn_record",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 34
},
{
"__id__": 35
},
{
"__id__": 36
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 53,
"height": 51
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
462.5,
-32,
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": "09mAHqOVBG6rDdnrygPPaG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ecdb5a4b-cf12-4fa4-acc9-e4025d2c2122"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "91+t55Dk9IBrrJOjBNsRNC"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": 73,
"_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": "d5cwNZmD5GfoM00XxJVzwa"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "d6pM0aZ11G47Sgn2fIGDGr"
},
{
"__type__": "cc.Node",
"_name": "btn_record_click",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 38
},
{
"__id__": 39
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 53,
"height": 51
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
462.5,
-32,
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": "aaSK/+Ks9M5KaewP5JOaqU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7f3a6f30-3c29-4fd8-af77-8788bf1fac32"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "b8GxqgcNZBWKwChVNhWVv8"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": 73,
"_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": "c2NxinvyZKBoFnvcXZaxrP"
},
{
"__type__": "cc.Node",
"_name": "btn_myrecord",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 45
}
],
"_active": false,
"_components": [
{
"__id__": 47
},
{
"__id__": 48
},
{
"__id__": 49
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
555.5,
-32,
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": "52y2Qy5vxGN45WxBvgo16e"
},
{
"__type__": "cc.Node",
"_name": "icon_myrecord1",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_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": "87M+FIhu9K/YGC7c9Y5R6q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d678c02e-0c4a-400a-9649-1983114c8c9a"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "3fe5cKRKVP6JDQEhZeS/Xi"
},
{
"__type__": "cc.Node",
"_name": "icon_myrecord2",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_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": "91cty6acVCHIR8iJzkw5gX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a94a8dd-cfc7-416c-88ca-9f93658d5953"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "8eVR4dv85L6pXyGURNwETM"
},
{
"__type__": "cc.Node",
"_name": "icon_myrecord3",
"_objFlags": 0,
"_parent": {
"__id__": 40
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 46
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_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": "daixm1N4dG5ISN072BUL5a"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "03c91a7f-b926-4500-8d87-05a3095ac0a5"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "3b/oETYhVMK5tgmy0DRYDY"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "177da723-4dae-4484-95f2-e6ce8f7c9b23"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "4bQeIszrpGK6pRoZ1KoEyP"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": -40,
"_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": "92g9sJza5HVpkPM9tvkUAL"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "a3LP7jFjZMk5UM26yGRu2Q"
},
{
"__type__": "cc.Node",
"_name": "btn_myrecord_play",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
}
],
"_active": false,
"_components": [
{
"__id__": 57
},
{
"__id__": 58
},
{
"__id__": 59
},
{
"__id__": 60
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
555.5,
-32,
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": "96gPmjTDJF2rN2VxPGS2M/"
},
{
"__type__": "cc.Node",
"_name": "icon_myrecord1",
"_objFlags": 0,
"_parent": {
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_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": "eaA0T53EJLnL6RCXHS9ulj"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d678c02e-0c4a-400a-9649-1983114c8c9a"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "56wrHVSFRJL649iO9m6idW"
},
{
"__type__": "cc.Node",
"_name": "icon_myrecord2",
"_objFlags": 0,
"_parent": {
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_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": "afz0P+RfVHFbGSfD7OpAuv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8a94a8dd-cfc7-416c-88ca-9f93658d5953"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "c1Ifnfrp9MR4wYXVcMgUdR"
},
{
"__type__": "cc.Node",
"_name": "icon_myrecord3",
"_objFlags": 0,
"_parent": {
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 101,
"height": 47
},
"_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": "e9cnn3/RNLtqDHUrwSle/Q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "03c91a7f-b926-4500-8d87-05a3095ac0a5"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "dcIyWDi9ZKg5xTzvHK/VqZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c70929a6-8e1d-4b0a-be5a-c2ab845afecf"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "5bgYZzB/pI0KdO4rs5xpXE"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "0d5372fb-b93d-48bc-8fef-9dd83cd1c642"
},
"_clips": [
{
"__uuid__": "0d5372fb-b93d-48bc-8fef-9dd83cd1c642"
}
],
"playOnLoad": true,
"_id": "6ezGNI5vNG65dyX1FOmNY5"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": -40,
"_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": "f8dxDU0mxFv5QfaUzBe+JZ"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "7aCyKe4ApLNZjgF860cq9C"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 40,
"_left": 44,
"_right": 44,
"_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": "65zR58YwRIKof+I/1V4pou"
},
{
"__type__": "23ce4M3yNpIbq3D8f8IIro+",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"label": {
"__id__": 32
},
"tip": {
"__id__": 26
},
"record": {
"__id__": 33
},
"record_click": {
"__id__": 37
},
"myrecord": {
"__id__": 40
},
"myrecord_play": {
"__id__": 50
},
"_id": "78sbViiXNOl5SgddmNDgr+"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "31+SyJRYdAhZKwR2tVF9rC"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "ecKME5pGhMip1PqMXY/SkW"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_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": 240,
"_originalHeight": 250,
"_id": "01Gu5XVJ9Fmpg85eohMJFH"
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"horizontal": false,
"vertical": true,
"inertia": true,
"brake": 0.75,
"elastic": true,
"bounceDuration": 0.23,
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 22
},
"content": {
"__id__": 22
},
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
"_id": "32b3R5vM5Gvoxx2dCllBOV"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 68
}
],
"_active": false,
"_components": [
{
"__id__": 70
},
{
"__id__": 71
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_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": "8cIiCBJAFPIq4Ev/ei0YiR"
},
{
"__type__": "cc.Node",
"_name": "录音",
"_objFlags": 0,
"_parent": {
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 90,
"height": 83
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-300,
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": "daOQLwniBPYokKNgGPFxtK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b67343e-8927-4b5f-9653-3aa36a67c245"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "18pzExhKhE8bQr0V0P+oaC"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_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": "43RDdOlUtM97lO9LRCL+eS"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "a0JUVqsYRGb7Qih5DNfs7a"
},
{
"__type__": "cc.Node",
"_name": "btn_record_start",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 73
},
{
"__id__": 74
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 279,
"height": 101
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
297,
-300,
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": "bezoa3kulMb4DgS+38kCV0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ae53f6e5-6076-431d-8e41-18405492b320"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2chIn/WmROIYPbBuE4RY9S"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "9e5GNdvepIHbYhq6LvtapZ"
},
{
"__type__": "cc.Node",
"_name": "btn_record_stop",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 76
},
{
"__id__": 77
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 279,
"height": 101
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
297,
-300,
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": "202Ektw0JNYZnJBKPwSF9x"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "524ba650-639c-48c0-adf4-b74f1fc8a1d3"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6aogSIHUlNEo+BO8r84+YY"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "99eYbFAvJNl72gKcfkh2sT"
},
{
"__type__": "cc.Node",
"_name": "bg_title",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 81
},
{
"__id__": 82
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 355,
"height": 111
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-377.39,
319.5,
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": "f8WqWegXRJF6+yWVJS6lLl"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 215,
"g": 105,
"b": 32,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-16,
-15,
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": "b4SWd3vEZFcqI0ANLFCHW8"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 36,
"_lineHeight": 48,
"_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": 2,
"_N$cacheMode": 0,
"_id": "e5QhviDFFAGoBksSpcKrsM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "97c41253-7e7a-4193-abc2-824f4c8b188b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7f0k86E9hJD5xEB5STlCqR"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 112.11000000000001,
"_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": "beTtO0G/ZPXJQ3mzqVyV41"
},
{
"__type__": "cc.Node",
"_name": "tip",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 84
},
{
"__id__": 88
},
{
"__id__": 91
},
{
"__id__": 93
},
{
"__id__": 97
}
],
"_active": false,
"_components": [
{
"__id__": 101
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_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": "d2Zth6BCtGiqc3AVHknxUP"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
},
{
"__id__": 86
},
{
"__id__": 87
}
],
"_prefab": null,
"_opacity": 128,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_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": "f6ymMge+REfIUef6+zb6nH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "308vw8kRJOgLvZSfUX6z6T"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_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": 100,
"_originalHeight": 100,
"_id": "ffCJQmtAdKR5IUVD28dQLz"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "admFdZRL9KjYs4HvFwUS9Y"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
},
{
"__id__": 90
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 862,
"height": 370
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
36,
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": "37H9wluchN4L2/qN1MJSig"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1ebe30a0-2832-4f7b-a0bf-b4b59d6d5420"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "635ZgzVWJDK4aXhJvK/RxG"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 88
},
"_id": "dbf6SlfeFJtqujsCK52/CR"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 92
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 252,
"g": 251,
"b": 231,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 800,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
175,
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": "e17INOVj5NN53/n8qQ91UE"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 30,
"_lineHeight": 48,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "57ac8728-e57f-4644-9c7a-aaac1c6f629a"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 3,
"_N$cacheMode": 0,
"_id": "edzf8OOydAObFnuu89zjdH"
},
{
"__type__": "cc.Node",
"_name": "start",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 94
},
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 355,
"height": 112
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-142,
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": "7bgoMo0fFHiIQAliCwSzQE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "cd741e27-5a5f-4492-8dcf-3434c5f3ac9e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e5pZqWySdIxLZ1QErg3zSr"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 96
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_anchorPoint": { "_N$disabledColor": {
"__type__": "cc.Vec2", "__type__": "cc.Color",
"x": 0.5, "r": 124,
"y": 0.5 "g": 124,
"b": 124,
"a": 255
}, },
"_trs": { "_N$normalSprite": null,
"__type__": "TypedArray", "_N$pressedSprite": null,
"ctor": "Float64Array", "pressedSprite": null,
"array": [ "_N$hoverSprite": null,
0, "hoverSprite": null,
0, "_N$disabledSprite": null,
0, "_N$target": {
0, "__id__": 93
0,
0,
1,
1,
1,
1
]
}, },
"_eulerAngles": { "_id": "f86X4c6OtP4K2F2ODiAK9B"
"__type__": "cc.Vec3", },
"x": 0, {
"y": 0, "__type__": "cc.ClickEvent",
"z": 0 "target": {
"__id__": 2
}, },
"_skewX": 0, "component": "",
"_skewY": 0, "_componentId": "408a6f4ZfpM8Yzyg+IOGg/V",
"_is3DNode": false, "handler": "onCallBack",
"_groupIndex": 0, "customEventData": "start"
"groupIndex": 0,
"_id": "9bLfcYeeNKrr524vzWchiM"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "BRLNSDB", "_name": "restart",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 15 "__id__": 83
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 17 "__id__": 98
},
{
"__id__": 99
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -883,8 +4716,8 @@ ...@@ -883,8 +4716,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 355,
"height": 0 "height": 112
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -896,7 +4729,7 @@ ...@@ -896,7 +4729,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
0, -142,
0, 0,
0, 0,
0, 0,
...@@ -918,115 +4751,165 @@ ...@@ -918,115 +4751,165 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "cfMLGsq0BMhJARv+ySMAxS" "_id": "9blLyZXx5FrJ2FmDyP1KOp"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 16 "__id__": 97
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "", "_spriteFrame": {
"_N$string": "", "__uuid__": "7904e895-909f-4d90-aafa-fc62de9e4a66"
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
}, },
"_isSystemFontUsed": false, "_type": 0,
"_spacingX": 0, "_sizeMode": 1,
"_batchAsBitmap": false, "_fillType": 0,
"_styleFlags": 0, "_fillCenter": {
"_underlineHeight": 0, "__type__": "cc.Vec2",
"_N$horizontalAlign": 0, "x": 0,
"_N$verticalAlign": 0, "y": 0
"_N$fontFamily": "Arial", },
"_N$overflow": 0, "_fillStart": 0,
"_N$cacheMode": 0, "_fillRange": 0,
"_id": "9bNHNPu5lC7rQYyr8ai/sY" "_isTrimmedMode": true,
"_atlas": null,
"_id": "32ePZefUhM7ZThr2XgTqBe"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Button",
"_name": "img", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 14 "__id__": 97
}, },
"_children": [ "_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{ {
"__id__": 19 "__id__": 100
} }
], ],
"_active": true, "_N$interactable": true,
"_components": [], "_N$enableAutoGrayEffect": false,
"_prefab": null, "_N$transition": 0,
"_opacity": 255, "transition": 0,
"_color": { "_N$normalColor": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_contentSize": { "_N$pressedColor": {
"__type__": "cc.Size", "__type__": "cc.Color",
"width": 0, "r": 211,
"height": 0 "g": 211,
"b": 211,
"a": 255
}, },
"_anchorPoint": { "pressedColor": {
"__type__": "cc.Vec2", "__type__": "cc.Color",
"x": 0.5, "r": 211,
"y": 0.5 "g": 211,
"b": 211,
"a": 255
}, },
"_trs": { "_N$hoverColor": {
"__type__": "TypedArray", "__type__": "cc.Color",
"ctor": "Float64Array", "r": 255,
"array": [ "g": 255,
0, "b": 255,
0, "a": 255
0,
0,
0,
0,
1,
1,
1,
1
]
}, },
"_eulerAngles": { "hoverColor": {
"__type__": "cc.Vec3", "__type__": "cc.Color",
"x": 0, "r": 255,
"y": 0, "g": 255,
"z": 0 "b": 255,
"a": 255
}, },
"_skewX": 0, "_N$disabledColor": {
"_skewY": 0, "__type__": "cc.Color",
"_is3DNode": false, "r": 124,
"_groupIndex": 0, "g": 124,
"groupIndex": 0, "b": 124,
"_id": "53LUHHG2pEr79fyrvazXJs" "a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 2
},
"_id": "6bov6bPo1CArmvurYtquFb"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "408a6f4ZfpM8Yzyg+IOGg/V",
"handler": "onCallBack",
"customEventData": "restart"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_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": "18EjlQT6VGH6Gj3m31j7+O"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon", "_name": "res",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 18 "__id__": 2
}, },
"_children": [], "_children": [
"_active": true,
"_components": [
{ {
"__id__": 20 "__id__": 103
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1038,8 +4921,8 @@ ...@@ -1038,8 +4921,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 138, "width": 0,
"height": 141 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1073,46 +4956,18 @@ ...@@ -1073,46 +4956,18 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "1blU2OArJIfoC9XfupGxJG" "_id": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03GEWUEZJGyKormWgIWCtM"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 14 "__id__": 102
}, },
"_children": [ "_children": [
{ {
"__id__": 22 "__id__": 104
} }
], ],
"_active": true, "_active": true,
...@@ -1170,13 +5025,13 @@ ...@@ -1170,13 +5025,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 21 "__id__": 103
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 23 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1232,7 +5087,7 @@ ...@@ -1232,7 +5087,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 22 "__id__": 104
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -1260,7 +5115,7 @@ ...@@ -1260,7 +5115,7 @@
"height": 750 "height": 750
}, },
"_fitWidth": true, "_fitWidth": true,
"_fitHeight": true, "_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7" "_id": "59Cd0ovbdF4byw5sbjJDx7"
}, },
{ {
...@@ -1298,6 +5153,15 @@ ...@@ -1298,6 +5153,15 @@
"__id__": 2 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"item": {
"__id__": 25
},
"content": {
"__id__": 22
},
"tip": {
"__id__": 83
},
"_id": "eaTVUpqahPfZeO9+sUI7RP" "_id": "eaTVUpqahPfZeO9+sUI7RP"
} }
] ]
\ No newline at end of file
import { asyncDelay, onHomeworkFinish } from "../script/util"; /*
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent"; * @Author: ls
* @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-05-22 17:37:44
* @LastEditors: ls
* @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts
*/
import Item from '../script/Item';
import { MyCocosSceneComponent } from '../script/MyCocosSceneComponent';
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
@ccclass @ccclass
export default class SceneComponent extends MyCocosSceneComponent { export default class SceneComponent extends MyCocosSceneComponent {
@property(cc.Node)
addPreloadImage() { item: cc.Node = null;
// TODO 根据自己的配置预加载图片资源
this._imageResList.push({ url: this.data.pic_url }); @property(cc.Node)
this._imageResList.push({ url: this.data.pic_url_2 }); content: cc.Node = null;
}
@property(cc.Node)
addPreloadAudio() { tip: cc.Node = null;
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.audio_url }); // 录音中
} _recording = false;
// 录音音频
addPreloadAnima() { _records = [];
} addPreloadImage() {
// TODO 根据自己的配置预加载图片资源
onLoadEnd() { this._imageResList.push({ url: this.data.pageImage });
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考 }
this.initData();
this.initView(); addPreloadAudio() {
this.initListener(); // TODO 根据自己的配置预加载音频资源
} this._audioResList.push({ url: this.data.questionTextAudio });
this._audioResList.push({ url: this.data.pageAudio });
_cantouch = null;
initData() { for (let index = 0; index < this.data.sentences.length; index++) {
// 所有全局变量 默认都是null this._audioResList.push({ url: this.data.sentences[index].audio });
this._cantouch = true; }
} }
initView() { addPreloadAnima() {}
this.initBg();
this.initPic(); onLoadEnd() {
this.initBtn(); // TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initIcon(); this.initData();
} this.initView();
this.showTip();
initBg() { }
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax; initData() {
} this._recording = false;
pic1 = null; this._records.length = 0;
pic2 = null; this.data.sentences.forEach((element) => {
initPic() { this._records.push(null);
const canvas = cc.find('Canvas'); });
const maxW = canvas.width * 0.7; }
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => { initView() {
const picNode1 = sprNode; const bgNode = cc.find('Canvas/bg');
picNode1.scale = maxW / picNode1.width; bgNode.scale = this._mapScaleMax;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1); cc.find('Canvas/bg_title/label').getComponent(cc.Label).string = this.data.title;
this.pic1 = picNode1;
// this.getSpriteFrimeByUrl(this.data.pageImage + '?x-oss-process=image/resize,m_lfit,h_143,w_560', (sp) => {
const labelNode = new cc.Node(); this.getSpriteFrimeByUrl(this.data.pageImage, (sp) => {
labelNode.color = cc.Color.YELLOW; cc.find('Canvas/bg_img').getComponent(cc.Sprite).spriteFrame = sp;
const label = labelNode.addComponent(cc.Label); });
label.string = this.data.text;
label.fontSize = 60; let play = cc.find('Canvas/btn_play');
label.lineHeight = 60; let stop = cc.find('Canvas/btn_stop');
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font; play.active = false;
picNode1.addChild(labelNode); stop.active = true;
}); play.off('click');
stop.off('click');
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => { play.on('click', () => {
const picNode2 = sprNode; this.resetText();
picNode2.scale = maxW / picNode2.width; this.resetRecord();
canvas.addChild(picNode2); cc.audioEngine.stopAll();
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x; play.active = false;
this.pic2 = picNode2; stop.active = true;
});
const labelNode = new cc.Node(); stop.on('click', () => {
const label = labelNode.addComponent(cc.RichText); play.active = true;
const size = 60 stop.active = false;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>` this.playAudioByUrl(this.data.pageAudio, () => {
label.lineHeight = size; play.active = false;
picNode2.addChild(labelNode); stop.active = true;
}); });
});
}
for (let index = 0; index < this.data.sentences.length; index++) {
initIcon() { let item = cc.instantiate(this.item);
const iconNode = this.getSprNode('icon'); item.active = true;
iconNode.zIndex = 5; item.name = '' + index;
iconNode.anchorX = 1; item.parent = this.content;
iconNode.anchorY = 1; }
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10; for (let index = 0; index < this.content.childrenCount; index++) {
iconNode.y = iconNode.parent.height / 2 - 10; const element = this.content.children[index];
element.getComponent(Item).init(this.data.sentences[index].text);
iconNode.on(cc.Node.EventType.TOUCH_START, () => {
this.playAudioByUrl(this.data.audio_url); // 播放当前句子
}) element.off('click');
} element.on('click', () => {
this.resetText();
curPage = null; this.resetRecord();
initBtn() { cc.audioEngine.stopAll();
play.active = false;
this.curPage = 0; stop.active = true;
const bottomPart = cc.find('Canvas/bottomPart');
bottomPart.zIndex = 5; // 提高层级 element.getComponent(Item).playing();
this.playAudioByUrl(this.data.sentences[index].audio, () => {
bottomPart.x = bottomPart.parent.width / 2; element.getComponent(Item).stop();
bottomPart.y = -bottomPart.parent.height / 2; });
});
const leftBtnNode = bottomPart.getChildByName('btn_left');
//节点中添加了button组件 则可以添加click事件监听 element.getComponent(Item).recorded();
leftBtnNode.on('click', () => {
if (!this._cantouch) { let record = cc.find('btn_record', element);
return; record.off('click');
} record.on('click', () => {
if (this.curPage == 0) { if (this._recording) return;
return;
} this.resetText();
this.curPage = 0 this.resetRecord();
this.leftMove(); cc.audioEngine.stopAll();
play.active = false;
this.playLocalAudio('btn'); stop.active = true;
})
this.playLocalAudio('btn');
const rightBtnNode = bottomPart.getChildByName('btn_right'); element.getComponent(Item).recording();
//节点中添加了button组件 则可以添加click事件监听
rightBtnNode.on('click', () => { // 显示录音界面
if (!this._cantouch) { mask.active = true;
return; record_start.active = true;
} record_stop.active = false;
if (this.curPage == 1) { });
return;
} element.getComponent(Item).hideRecord();
this.curPage = 1 let myrecord = cc.find('btn_myrecord', element);
this.rightMove(); let myrecord_play = cc.find('btn_myrecord_play', element);
myrecord.off('click');
// 游戏结束时需要调用这个方法通知系统作业完成 myrecord_play.off('click');
onHomeworkFinish(); myrecord.on('click', () => {
this.resetText();
this.playLocalAudio('btn'); this.resetRecord();
}) cc.audioEngine.stopAll();
} element.getComponent(Item).playRecord();
//
leftMove() { });
this._cantouch = false; myrecord_play.on('click', () => {
const len = this.pic1.parent.width; cc.audioEngine.stopAll();
cc.tween(this.pic1) element.getComponent(Item).stopRecord();
.to(1, { x: this.pic1.baseX }, { easing: 'cubicInOut' }) });
.start(); }
cc.tween(this.pic2) // 录音界面
.to(1, { x: this.pic2.baseX }, { easing: 'cubicInOut' }) let mask = cc.find('Canvas/mask');
.call(() => { mask.active = false;
this._cantouch = true; let record_start = cc.find('Canvas/btn_record_start');
}) let record_stop = cc.find('Canvas/btn_record_stop');
.start(); record_start.active = false;
} record_stop.active = false;
record_start.off('click');
rightMove() { record_stop.off('click');
this._cantouch = false; record_start.on('click', () => {
const len = this.pic1.parent.width; this.playLocalAudio('btn');
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX - len }, { easing: 'cubicInOut' }) mask.active = true;
.start(); record_start.active = false;
record_stop.active = true;
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX - len }, { easing: 'cubicInOut' }) this._recording = true;
.call(() => { // window['Recorder'].start();
this._cantouch = true; });
}) record_stop.on('click', () => {
.start(); this.playLocalAudio('btn');
}
// update (dt) {}, mask.active = false;
record_start.active = false;
record_stop.active = false;
initListener() {
this._recording = false;
} // window['Recorder'].stop();
playLocalAudio(audioName) { for (let index = 0; index < this.content.childrenCount; index++) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource); const element = this.content.children[index];
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false); // 正在录制中
cc.audioEngine.setFinishCallback(id, () => { if (element.getComponent(Item).getRecording()) {
resolve(id); element.getComponent(Item).recorded();
});
}) this._records[index] = '';
} // this._records[index] = window['Recorder'].getBlob();
this.resetRecord();
return;
}
}
});
}
/**
* 重置文字
*/
resetText() {
for (let index = 0; index < this.content.childrenCount; index++) {
const element = this.content.children[index];
element.getComponent(Item).stop();
}
}
/**
* 重置录制音频
*/
resetRecord() {
for (let index = 0; index < this.content.childrenCount; index++) {
const element = this.content.children[index];
if (this._records[index] === null) {
element.getComponent(Item).hideRecord();
} else {
element.getComponent(Item).stopRecord();
}
}
}
/**
* 显示提示
* @param first
*/
showTip(first: boolean = true) {
this.tip.active = true;
cc.find('start', this.tip).active = first;
cc.find('restart', this.tip).active = !first;
// 提示
let tip = cc.find('bg', this.tip);
tip.off('click');
tip.on('click', () => {
cc.audioEngine.stopAll();
this.playAudioByUrl(this.data.questionTextAudio, () => {}); // 播放提示音效
});
// 提示内容
let tip_label = cc.find('label', this.tip).getComponent(cc.Label);
tip_label.string = this.data.questionText;
this.playAudioByUrl(this.data.questionTextAudio, () => {}); // 播放提示音效
}
/**
* 隐藏提示
*/
hideTip() {
this.tip.active = false;
}
onCallBack(event: cc.Event.EventTouch, str: string) {
this.playLocalAudio('btn');
if (str === 'start' || str === 'restart') {
this.hideTip();
} else if (str === 'record_start') {
} else if (str === 'record_stop') {
}
}
playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
});
}
} }
/*
* @Author: ls
* @Date: 2022-05-21 21:59:51
* @LastEditTime: 2022-05-22 17:32:48
* @LastEditors: ls
* @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\script\Item.ts
*/
import simpleLabel from './simpleLabel';
const { ccclass, property } = cc._decorator;
@ccclass
export default class Item extends cc.Component {
@property(simpleLabel)
label: simpleLabel = null;
@property(cc.Node)
tip: cc.Node = null;
@property(cc.Node)
record: cc.Node = null;
@property(cc.Node)
record_click: cc.Node = null;
@property(cc.Node)
myrecord: cc.Node = null;
@property(cc.Node)
myrecord_play: cc.Node = null;
// 录制中
_recording = false;
// 已录音
_recorded = false;
protected start(): void {
// this.init('One day,her grandma got sick!');
}
/**
* 初始化
* @param str 字符串
*/
init(str: string) {
this.label.setString(str, this.node.width);
this.reset();
this.scheduleOnce(() => {
this.node.height = this.label.getRows() * 48; // 更新节点高度
if (this.node.width - this.label.getLastStringLenght() >= 170 - 48) {
this.record.getComponent(cc.Widget).enabled = false;
this.record_click.getComponent(cc.Widget).enabled = false;
this.myrecord.getComponent(cc.Widget).enabled = false;
this.myrecord_play.getComponent(cc.Widget).enabled = false;
this.record.y = 18;
this.record_click.y = 18;
this.myrecord.y = 18;
this.myrecord_play.y = 18;
this.record.x = this.label.getLastStringLenght() + 32;
this.record_click.x = this.label.getLastStringLenght() + 32;
this.myrecord.x = this.label.getLastStringLenght() + 32 + 86;
this.myrecord_play.x = this.label.getLastStringLenght() + 32 + 86;
}
this.stop();
});
}
/**
* 重置所有按钮
*/
reset() {
this.tip.active = false;
this.record.active = true;
this.record_click.active = false;
this.myrecord.active = false;
this.myrecord_play.active = false;
}
/**
* 正在录制声音
*/
recording() {
this._recording = true;
this.record.active = false;
this.record_click.active = true;
}
/**
* 结束录制
*/
recorded() {
this._recording = false;
this.record.active = true;
this.record_click.active = false;
}
getRecording() {
return this._recording;
}
/**
* 未录制音频
*/
hideRecord() {
this._recorded = false;
this.myrecord.active = false;
this.myrecord_play.active = false;
}
/**
* 播放已录制声音
*/
playRecord() {
this._recorded = true;
this.myrecord.active = false;
this.myrecord_play.active = true;
}
/**
* 停止已录制声音
*/
stopRecord() {
this._recorded = true;
this.myrecord.active = true;
this.myrecord_play.active = false;
}
getRecorded() {
return this._recorded;
}
/**
* 正在播放中
*/
playing() {
this.tip.active = true;
this.label.node.color = cc.color(255, 96, 0);
}
/**
* 播放完成
*/
stop() {
this.tip.active = false;
this.label.node.color = cc.color(44, 77, 140);
}
}
{
"ver": "1.0.8",
"uuid": "23ce4337-c8da-486e-adc3-f1ff0822ba3e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import { defaultData } from "../script/defaultData"; import { defaultData } from '../script/defaultData';
export class MyCocosSceneComponent extends cc.Component { export class MyCocosSceneComponent extends cc.Component {
// 生命周期 onLoad
// 生命周期 onLoad onLoad() {
onLoad() { this.initSceneData();
this.initSceneData(); this.initSize();
this.initSize(); }
}
_imageResList = null;
_imageResList = null; _audioResList = null;
_audioResList = null; _animaResList = null;
_animaResList = null; initSceneData() {
initSceneData() { this._imageResList = [];
this._imageResList = []; this._audioResList = [];
this._audioResList = []; this._animaResList = [];
this._animaResList = []; }
}
_designSize = null; // 设计分辨率
_designSize = null; // 设计分辨率 _frameSize = null; // 屏幕分辨率
_frameSize = null; // 屏幕分辨率 _mapScaleMin = null; // 场景中常用缩放(取大值)
_mapScaleMin = null; // 场景中常用缩放(取大值) _mapScaleMax = null; // 场景中常用缩放(取小值)
_mapScaleMax = null; // 场景中常用缩放(取小值) _cocosScale = null; // cocos 自缩放 (较少用到)
_cocosScale = null; // cocos 自缩放 (较少用到) initSize() {
initSize() { // 注意cc.winSize只有在适配后(修改fitHeight/fitWidth后)才能获取到正确的值,因此使用cc.getFrameSize()来获取初始的屏幕大小
// 注意cc.winSize只有在适配后(修改fitHeight/fitWidth后)才能获取到正确的值,因此使用cc.getFrameSize()来获取初始的屏幕大小 let screen_size = cc.view.getFrameSize().width / cc.view.getFrameSize().height;
let screen_size = cc.view.getFrameSize().width / cc.view.getFrameSize().height let design_size = cc.Canvas.instance.designResolution.width / cc.Canvas.instance.designResolution.height;
let design_size = cc.Canvas.instance.designResolution.width / cc.Canvas.instance.designResolution.height let f = screen_size >= design_size;
let f = screen_size >= design_size cc.Canvas.instance.fitHeight = f;
cc.Canvas.instance.fitHeight = f cc.Canvas.instance.fitWidth = !f;
cc.Canvas.instance.fitWidth = !f
const frameSize = cc.view.getFrameSize();
const frameSize = cc.view.getFrameSize(); this._frameSize = frameSize;
this._frameSize = frameSize;
this._designSize = cc.view.getDesignResolutionSize();
this._designSize = cc.view.getDesignResolutionSize();
let sx = cc.winSize.width / frameSize.width;
let sx = cc.winSize.width / frameSize.width; let sy = cc.winSize.height / frameSize.height;
let sy = cc.winSize.height / frameSize.height; this._cocosScale = Math.min(sx, sy);
this._cocosScale = Math.min(sx, sy);
sx = frameSize.width / this._designSize.width;
sx = frameSize.width / this._designSize.width; sy = frameSize.height / this._designSize.height;
sy = frameSize.height / this._designSize.height; this._mapScaleMin = Math.min(sx, sy) * this._cocosScale;
this._mapScaleMin = Math.min(sx, sy) * this._cocosScale; this._mapScaleMax = Math.max(sx, sy) * this._cocosScale;
this._mapScaleMax = Math.max(sx, sy) * this._cocosScale;
cc.director['_scene'].width = frameSize.width;
cc.director['_scene'].width = frameSize.width; cc.director['_scene'].height = frameSize.height;
cc.director['_scene'].height = frameSize.height; }
}
data = null;
data = null;
// 生命周期 start
// 生命周期 start start() {
start() { if (window && (<any>window).courseware && (<any>window).courseware.getData) {
if (window && (<any>window).courseware && (<any>window).courseware.getData) { (<any>window).courseware.getData((data) => {
(<any>window).courseware.getData((data) => { this.log('data:' + data);
this.log('data:' + data); this.data = data || this.getDefaultData();
this.data = data || this.getDefaultData(); this.data = JSON.parse(JSON.stringify(this.data));
this.data = JSON.parse(JSON.stringify(this.data)); this.preloadItem();
this.preloadItem(); });
}) } else {
} else { this.data = this.getDefaultData();
this.data = this.getDefaultData(); this.preloadItem();
this.preloadItem(); }
} }
}
getDefaultData() {
getDefaultData() { return defaultData;
return defaultData; }
}
preloadItem() {
preloadItem() { this.addPreloadImage();
this.addPreloadImage(); this.addPreloadAudio();
this.addPreloadAudio(); this.addPreloadAnima();
this.addPreloadAnima(); this.preload();
this.preload(); }
}
addPreloadImage() {}
addPreloadImage() {
} addPreloadAudio() {}
addPreloadAudio() { addPreloadAnima() {}
}
preload() {
addPreloadAnima() { const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
} cc.assetManager.loadAny(preloadArr, null, null, (err, data) => {
if (window && window['air']) {
preload() { // window["air"].onCourseInScreen = (next) => {
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList); // window["air"].isCourseInScreen = true;
cc.assetManager.loadAny(preloadArr, null, null, (err, data) => { // this.onLoadEnd();
// next();
if (window && window["air"]) { // };
// window["air"].onCourseInScreen = (next) => { this.onLoadEnd();
// window["air"].isCourseInScreen = true; window['air'].hideAirClassLoading();
// this.onLoadEnd(); } else {
// next(); this.onLoadEnd();
// }; }
this.onLoadEnd();
window["air"].hideAirClassLoading(); cc.debug.setDisplayStats(false);
} else { });
this.onLoadEnd(); }
}
log(str) {
cc.debug.setDisplayStats(false); const node = cc.find('middleLayer');
}); if (node) {
} node.getComponent('middleLayer').log(str);
} else {
log (str) { cc.log(str);
const node = cc.find('middleLayer'); }
if(node){ }
node.getComponent('middleLayer').log(str);
}else{ onLoadEnd() {}
cc.log(str);
} // ------------------------------------------------
} getSprNode(resName) {
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
onLoadEnd() { const node = new cc.Node();
node.addComponent(cc.Sprite).spriteFrame = sf;
} return node;
}
getSpriteFrimeByUrl(url, cb) {
cc.loader.load({ url }, (err, img) => {
const spriteFrame = new cc.SpriteFrame(img);
if (cb) {
cb(spriteFrame);
}
});
}
getSprNodeByUrl(url, cb) {
const node = new cc.Node();
const spr = node.addComponent(cc.Sprite);
this.getSpriteFrimeByUrl(url, (sf) => {
spr.spriteFrame = sf;
// ------------------------------------------------ if (cb) {
getSprNode(resName) { cb(node);
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame; }
const node = new cc.Node(); });
node.addComponent(cc.Sprite).spriteFrame = sf; }
return node;
} playAudioByUrl(audio_url, cb = null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
getSpriteFrimeByUrl(url, cb) { const audioId = cc.audioEngine.play(audioClip, false, 0.8);
cc.loader.load({ url }, (err, img) => { if (cb) {
const spriteFrame = new cc.SpriteFrame(img) cc.audioEngine.setFinishCallback(audioId, () => {
if (cb) { cb();
cb(spriteFrame); });
} }
}) });
} } else {
cb && cb();
getSprNodeByUrl(url, cb) { }
const node = new cc.Node(); }
const spr = node.addComponent(cc.Sprite); }
this.getSpriteFrimeByUrl(url, (sf) => {
spr.spriteFrame = sf;
if (cb) {
cb(node);
}
})
}
playAudioByUrl(audio_url, cb = null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
});
}else{
cb && cb();
}
}
}
\ No newline at end of file
/*
* @Author: ls
* @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-05-22 00:13:54
* @LastEditors: ls
* @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\script\defaultData.ts
*/
export const defaultData = { export const defaultData = {
"pic_url": "http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png", title: '标题标题标题标题',
"pic_url_2": "http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png", questionText: '题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明题目说明',
"text": "This is a test label.", questionTextAudio: 'http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3',
"audio_url": "http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3" pageImage: 'http://staging-teach.cdn.ireadabc.com/0d332cb2b167feb4204b1d77a6f02ed6.jpg', // 左边的图片
} pageAudio: 'http://staging-teach.cdn.ireadabc.com/c0e467e1950cb24b1e581737a1344cb4.mp3', // 整体音频
\ No newline at end of file sentences: [
{
text: 'Good morning',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Good morning',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how are you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how old are you you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how dare you, Hello, how dare you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how dare you, Hello, how dare you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how dare you, Hello, how dare you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how dare you, Hello, how dare you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
{
text: 'Hello, how dare you, Hello, how dare you',
audio: 'http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3',
},
],
};
/*
* @Author: ls
* @Date: 2022-05-21 18:06:20
* @LastEditTime: 2022-05-21 22:00:56
* @LastEditors: ls
* @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\script\simpleLabel.ts
*/
const { ccclass, property } = cc._decorator;
@ccclass
export default class simpleLabel extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
// 源字符串
private _sourceString = '';
// 源字符串数组
private _sourceArray = [];
// 目标字符串
private _targetString = '';
// 目标字符串的最后一行字符串
private _lastString = '';
// 目标字符串行数
private _rows = 0;
// TODO 字符数组(后期处理标点符号)
private _characters = [',', '.'];
protected start(): void {
// 测试代码
// this.setString('One day,her grandma got sick.', 562);
}
/**
* 设置字符串
* @param sourceString 源字符串
* @param targetWidget 目标宽度
* @param splitter 分割器(默认使用空格)
*/
public setString(sourceString: string, targetWidget: number, splitter: string = ' ') {
if (!this.label) {
this.label = this.node.getComponent(cc.Label);
if (!this.label) {
return;
}
}
// 保存源字符串
this._sourceString = sourceString;
// 保存源字符串数组(根据空格分割)
this._sourceArray = sourceString.split(splitter);
// 重置目标字符串
this._targetString = '';
// 重置目标字符串的最后一行
this._lastString = '';
for (let index = 0; index < this._sourceArray.length; index++) {
const element = this._sourceArray[index]; // 分割后每个字符串
// 临时字符串
const tempString = this._lastString;
if (this._lastString === '') {
this._lastString = element; // 设置字符串
} else {
this._lastString = this._lastString + ' ' + element; // 添加字符串
}
// 如果字符串长度 >= 设计字符串长度
if (this.getLetterWidth(this.label, this._lastString) >= targetWidget) {
// 给字符串添加换行符
this._targetString = this._targetString + '\n' + tempString;
// 增加行数
this._rows++;
// 重置临时字符串
this._lastString = element;
}
}
// 给字符串添加换行符
this._targetString = this._targetString + '\n' + this._lastString;
// 增加行数
this._rows++;
// 设置目标字符串
this.label.string = this._targetString;
}
/**
* 获取目标字符串的最后一行字符串的长度
*/
public getLastStringLenght() {
if (!this.label) {
this.label = this.node.getComponent(cc.Label);
if (!this.label) {
return 0;
}
}
if (this._lastString === '') {
return 0;
}
return this.getLetterWidth(this.label, this._lastString);
}
/**
* 获取目标字符串的行数
*/
public getRows() {
if (!this.label) {
this.label = this.node.getComponent(cc.Label);
if (!this.label) {
return 0;
}
}
return this._rows;
}
/**
* 获取字符串的宽度
* @param letter 字符串
* @returns
*/
private getLetterWidth(label: cc.Label, letter: string) {
let comp = label;
let assemblerData = comp['_assemblerData'];
let ctx = assemblerData.context;
let metric = ctx.measureText(letter);
let width = (metric && metric.width) || 0;
return width;
}
}
{
"ver": "1.0.8",
"uuid": "998d8f18-8ccd-48ac-9b78-dc13a0f08fd3",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 366,
"height": 336,
"platformSettings": {},
"subMetas": {
"1orange": {
"ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 0,
"trimY": 1,
"width": 366,
"height": 335,
"rawWidth": 366,
"rawHeight": 336,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1280,
"height": 720,
"platformSettings": {},
"subMetas": {
"bg": {
"ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"height": 720,
"rawWidth": 1280,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d582359e-924e-4ee9-9964-1fc4bb417e71",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 67,
"platformSettings": {},
"subMetas": {
"btn_right": {
"ver": "1.0.4",
"uuid": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59",
"rawTextureUuid": "d582359e-924e-4ee9-9964-1fc4bb417e71",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0.5,
"trimX": 0,
"trimY": 0,
"width": 60,
"height": 66,
"rawWidth": 61,
"rawHeight": 67,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "18d07592-51a9-421e-8972-0f67b68d29e1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 144,
"height": 144,
"platformSettings": {},
"subMetas": {
"icon": {
"ver": "1.0.4",
"uuid": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a",
"rawTextureUuid": "18d07592-51a9-421e-8972-0f67b68d29e1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 3,
"trimY": 2,
"width": 138,
"height": 141,
"rawWidth": 144,
"rawHeight": 144,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "bdbd23fc-7d56-4e24-8996-72b5fe77188d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2000,
"height": 2000,
"platformSettings": {},
"subMetas": {
"全部": {
"ver": "1.0.4",
"uuid": "321d29cc-a250-4f67-a7c2-ad4c7404f0a6",
"rawTextureUuid": "bdbd23fc-7d56-4e24-8996-72b5fe77188d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2000,
"height": 2000,
"rawWidth": 2000,
"rawHeight": 2000,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "281e7acb-5fa9-4805-aaaa-2a2a89b4d217",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "1000682d-19a5-48d3-98bb-8603bf5aa12b",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "13ff0e83-c767-4d00-86eb-25c821069ad0",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 47, "height": 47,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_myrecord-play": { "btn_myrecord_play": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "c70929a6-8e1d-4b0a-be5a-c2ab845afecf", "uuid": "c70929a6-8e1d-4b0a-be5a-c2ab845afecf",
"rawTextureUuid": "fe1f693d-ac57-4020-a7b1-a96950991098", "rawTextureUuid": "fe1f693d-ac57-4020-a7b1-a96950991098",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 51, "height": 51,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_record-click": { "btn_record_click": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "7f3a6f30-3c29-4fd8-af77-8788bf1fac32", "uuid": "7f3a6f30-3c29-4fd8-af77-8788bf1fac32",
"rawTextureUuid": "07b3c478-7076-4aae-9e65-2d9c287f9806", "rawTextureUuid": "07b3c478-7076-4aae-9e65-2d9c287f9806",
......
{
"ver": "1.1.2",
"uuid": "8af48e1d-a982-4f4e-958b-c50fe0770a46",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 370, "height": 370,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg_di": { "bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "1ebe30a0-2832-4f7b-a0bf-b4b59d6d5420", "uuid": "1ebe30a0-2832-4f7b-a0bf-b4b59d6d5420",
"rawTextureUuid": "fc19548a-2465-469c-a001-c936a5f587ff", "rawTextureUuid": "fc19548a-2465-469c-a001-c936a5f587ff",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 101, "height": 101,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_record-start": { "btn_record_start": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ae53f6e5-6076-431d-8e41-18405492b320", "uuid": "ae53f6e5-6076-431d-8e41-18405492b320",
"rawTextureUuid": "0fe3c031-7086-4498-bae7-faf2281ff3e8", "rawTextureUuid": "0fe3c031-7086-4498-bae7-faf2281ff3e8",
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 101, "height": 101,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_record-stop": { "btn_record_stop": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "524ba650-639c-48c0-adf4-b74f1fc8a1d3", "uuid": "524ba650-639c-48c0-adf4-b74f1fc8a1d3",
"rawTextureUuid": "5d320289-99cf-4d6d-9dbb-8fbf9c030eae", "rawTextureUuid": "5d320289-99cf-4d6d-9dbb-8fbf9c030eae",
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "uuid": "fb73c820-7ca8-4450-8bb6-79d231e5733a",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 90,
"height": 67, "height": 83,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_left": { "录音": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5", "uuid": "5b67343e-8927-4b5f-9653-3aa36a67c245",
"rawTextureUuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "rawTextureUuid": "fb73c820-7ca8-4450-8bb6-79d231e5733a",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 61, "width": 90,
"height": 67, "height": 83,
"rawWidth": 61, "rawWidth": 90,
"rawHeight": 67, "rawHeight": 83,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
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