Commit c5832a8f authored by 李维's avatar 李维

Done

parent ab33b3cf
......@@ -75,22 +75,28 @@
"__id__": 5
},
{
"__id__": 7
"__id__": 8
},
{
"__id__": 14
"__id__": 12
},
{
"__id__": 36
},
{
"__id__": 45
}
],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 47
},
{
"__id__": 25
"__id__": 48
},
{
"__id__": 26
"__id__": 49
}
],
"_prefab": null,
......@@ -104,8 +110,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -116,8 +122,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
360,
960,
540,
0,
0,
0,
......@@ -251,6 +257,9 @@
"_components": [
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": null,
......@@ -264,8 +273,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -320,7 +329,7 @@
"__uuid__": "8288e3d4-4c75-4b27-8f01-f7014417f4dd"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -333,22 +342,52 @@
"_atlas": null,
"_id": "97/S6HDq9MeqgmV1Zwnhbb"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_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": 1920,
"_originalHeight": 1080,
"_id": "28LnwvXohC8pAp32xqU2+i"
},
{
"__type__": "cc.Node",
"_name": "bottomPart",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 8
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 11
}
],
"_active": true,
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
......@@ -373,8 +412,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
635.132,
-356.326,
0,
0,
0,
0,
0,
......@@ -396,25 +435,18 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8c7k8ep/ZFNpO263+1QHz9"
"_id": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Node",
"_name": "btn_left",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 7
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 10
}
],
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -426,8 +458,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 61,
"height": 67
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -438,8 +470,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-148.464,
34,
0,
0,
0,
0,
0,
......@@ -461,123 +493,149 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "5ad2wLQLxIN5Eg7OHecSH6"
"_id": "9bLfcYeeNKrr524vzWchiM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"node": {
"_parent": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5"
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0
"y": 0,
"z": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "84mqOgJ3JNqZrYVTEU8CjE"
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs"
},
{
"__type__": "cc.Button",
"_name": "",
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"node": {
"_parent": {
"__id__": 8
},
"_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": {
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__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
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "bcYN/4EKBJhbIAfovo9Ah1"
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9f+b0lmZGSJJae6zrADhp"
},
{
"__type__": "cc.Node",
"_name": "btn_right",
"_name": "rigthButtons",
"_objFlags": 0,
"_parent": {
"__id__": 7
"__id__": 2
},
"_children": [],
"_children": [
{
"__id__": 13
},
{
"__id__": 20
},
{
"__id__": 27
}
],
"_active": true,
"_components": [
{
"__id__": 12
"__id__": 34
},
{
"__id__": 13
"__id__": 35
}
],
"_prefab": null,
......@@ -591,20 +649,20 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 100,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-47.164,
34,
810,
440,
0,
0,
0,
......@@ -626,46 +684,1045 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "46i3stdzpHX6zQHTGnRsNE"
"_id": "2fzu4vhJpD9oDBdWagLR2q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "start",
"_objFlags": 0,
"node": {
"__id__": 11
"_parent": {
"__id__": 12
},
"_enabled": true,
"_materials": [
"_children": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 14
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_active": true,
"_components": [
{
"__id__": 19
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-20,
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": "9bv4aBdP9DXp45l7DZzgzf"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 13
},
"_children": [
{
"__id__": 15
}
],
"_active": true,
"_components": [
{
"__id__": 17
},
{
"__id__": 18
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_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": "04pBNxLzFOoq+ahnknlFgd"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 14
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_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": "c4s8i7c6BEXp66nOhDwMfr"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "开始检测",
"_N$string": "开始检测",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "14Nr9fHTBN/5/DgogqCPXe"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3ctMdQin9K9JRcIN6xpTNp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"alignMode": 0,
"_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": 40,
"_id": "ecTi/xtBZLZramM/H6avZG"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"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": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 14
},
"_id": "93XEkvtO9Be4GkQ00O/WlV"
},
{
"__type__": "cc.Node",
"_name": "stop",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [
{
"__id__": 21
}
],
"_active": true,
"_components": [
{
"__id__": 26
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-80,
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": "42ciLIgvVBL4wWCZq+6VRt"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 20
},
"_children": [
{
"__id__": 22
}
],
"_active": true,
"_components": [
{
"__id__": 24
},
{
"__id__": 25
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_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": "e9G3Mkv9dNkZnLrNmfctqI"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_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": "a03gbBAhNCK58sjv62U81A"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "停止检测",
"_N$string": "停止检测",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "62OmLmYOBD46XuzwBqt1h4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "66hAGJqGFGoJGSdQxAlnIj"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"alignMode": 0,
"_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": 40,
"_id": "cfOl0pDmxK4ZsoQHdgof79"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"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": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 21
},
"_id": "37M3xIidhGbJkyNix/MEF7"
},
{
"__type__": "cc.Node",
"_name": "copy_info",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 33
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-140,
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": "7fHaaBmWZEuop9Vy4PxNCe"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 27
},
"_children": [
{
"__id__": 29
}
],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_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": "73eEC0bvhE9JZVhDfSWFUc"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 28
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
},
"_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": "5fh5DCcctBp68oKjJEuwey"
},
{
"__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": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "e0I4Zad4lNkJE9kqumXL7B"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "42Sh8QS/BHn4WiGyPQPKPt"
"_id": "ffrR+S0LdPYpMpj2NIrkwX"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"alignMode": 0,
"_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": 40,
"_id": "477B1YnUdAL5upqzEx4l95"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
"__id__": 27
},
"_enabled": true,
"_normalMaterial": null,
......@@ -675,27 +1732,27 @@
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
......@@ -714,102 +1771,120 @@
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "1aj32fYY1IxLesa77E70Qu"
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_children": [
{
"__id__": 15
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
{
"__id__": 18
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
{
"__id__": 21
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"_N$target": {
"__id__": 28
},
"_id": "89OiDGGGJDpJQyI9d65QTD"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 100,
"_top": 100,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "8aY1hj7NRFKJ6KJVDSOWFC"
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 100,
"height": 200
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0aAzbH6R1E+6AmGRrkKa5O"
"_resize": 0,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 20,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "61XZDpCZxEe7ZmaAviUeUG"
},
{
"__type__": "cc.Node",
"_name": "font",
"_name": "rightSummaryInfo",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 2
},
"_children": [
{
"__id__": 16
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 41
}
],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 43
},
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -821,20 +1896,20 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 200,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
809.5,
240.60000000000002,
0,
0,
0,
......@@ -856,20 +1931,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9bLfcYeeNKrr524vzWchiM"
"_id": "beQGISecdBOKOUa6bL2qAk"
},
{
"__type__": "cc.Node",
"_name": "BRLNSDB",
"_name": "total",
"_objFlags": 0,
"_parent": {
"__id__": 15
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 38
}
],
"_prefab": null,
......@@ -883,8 +1958,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 154.07,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -896,7 +1971,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-20.16,
0,
0,
0,
......@@ -918,53 +1993,55 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "cfMLGsq0BMhJARv+ySMAxS"
"_id": "3bsLvm7rtIN6YWGhGovl+s"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 37
},
"_enabled": true,
"_materials": [],
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_string": "进度:13/23",
"_N$string": "进度:13/23",
"_fontSize": 28,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
},
"_isSystemFontUsed": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9bNHNPu5lC7rQYyr8ai/sY"
"_id": "0fSCG1OjxHV4sYuJv4R0R9"
},
{
"__type__": "cc.Node",
"_name": "img",
"_name": "success",
"_objFlags": 0,
"_parent": {
"__id__": 14
"__id__": 36
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 40
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -976,8 +2053,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 99.57,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -989,7 +2066,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-70.48,
0,
0,
0,
......@@ -1011,20 +2088,53 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs"
"_id": "2dko3JAUNHIKhcJ8N99bDh"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "成功:1",
"_N$string": "成功:1",
"_fontSize": 28,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "bfRzCJKrJN+JWNJv4DyT1S"
},
{
"__type__": "cc.Node",
"_name": "icon",
"_name": "fail",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 42
}
],
"_prefab": null,
......@@ -1038,8 +2148,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 138,
"height": 141
"width": 99.57,
"height": 40.32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1051,7 +2161,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
-120.8,
0,
0,
0,
......@@ -1073,110 +2183,112 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "1blU2OArJIfoC9XfupGxJG"
"_id": "45iYO/QnxOmIXMJlDxtBoP"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 41
},
"_enabled": true,
"_materials": [],
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_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"
"_string": "失败:2",
"_N$string": "失败:2",
"_fontSize": 28,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "00epb2YzVBwplzuQ1/LwRY"
},
{
"__type__": "cc.Node",
"_name": "audio",
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 14
"node": {
"__id__": 36
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 50.5,
"_top": 299.4,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "6dekIQXqJAF5u5zedumAYw"
},
"_children": [
{
"__id__": 22
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_contentSize": {
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"width": 200,
"height": 200
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9f+b0lmZGSJJae6zrADhp"
"_resize": 0,
"_N$layoutType": 2,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 10,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "92IK7x/XhBdbWo6mn4iZ06"
},
{
"__type__": "cc.Node",
"_name": "btn",
"_name": "outputInfo",
"_objFlags": 0,
"_parent": {
"__id__": 21
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 46
}
],
"_prefab": null,
......@@ -1191,7 +2303,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1225,26 +2337,40 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e87DSaFCVJfb2PAUkf4/o7"
"_id": "99x7T+ylxFOriORHe35fbz"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 45
},
"_enabled": true,
"_clip": {
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a5y6zH0SBCErUi2+Vg1duv"
},
{
"__type__": "cc.Canvas",
......@@ -1256,8 +2382,8 @@
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
"width": 1920,
"height": 1080
},
"_fitWidth": true,
"_fitHeight": true,
......@@ -1298,6 +2424,18 @@
"__id__": 2
},
"_enabled": true,
"startBtn": {
"__id__": 13
},
"stopBtn": {
"__id__": 20
},
"copyInfoBtn": {
"__id__": 27
},
"outputBox": {
"__id__": 45
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
]
\ No newline at end of file
......@@ -5,16 +5,24 @@ const { ccclass, property } = cc._decorator;
@ccclass
export default class SceneComponent extends MyCocosSceneComponent {
@property({type: cc.Node, displayName: "开始按钮"})
startBtn: cc.Node = null;
@property({type: cc.Node, displayName: "结束按钮"})
stopBtn: cc.Node = null;
@property({type: cc.Node, displayName: "复制信息"})
copyInfoBtn: cc.Node = null;
@property({type: cc.Node, displayName: "信息输出"})
outputBox: cc.Node = null;
addPreloadImage() {
// TODO 根据自己的配置预加载图片资源
this._imageResList.push({ url: this.data.pic_url });
this._imageResList.push({ url: this.data.pic_url_2 });
}
addPreloadAudio() {
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.audio_url });
}
addPreloadAnima() {
......@@ -23,22 +31,21 @@ export default class SceneComponent extends MyCocosSceneComponent {
async onLoadEnd() {
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initData();
this.initView();
this.initListener();
}
_cantouch = null;
initData() {
// 所有全局变量 默认都是null
this._cantouch = true;
}
comTotal = null;
comSuccess = null;
comFail = null;
initView() {
this.initBg();
this.initPic();
this.initBtn();
this.initIcon();
this.comTotal = cc.find("Canvas/rightSummaryInfo/total").getComponent(cc.Label);
this.comSuccess = cc.find("Canvas/rightSummaryInfo/success").getComponent(cc.Label);
this.comFail = cc.find("Canvas/rightSummaryInfo/fail").getComponent(cc.Label);
this.initData();
}
initBg() {
......@@ -51,131 +58,70 @@ export default class SceneComponent extends MyCocosSceneComponent {
initPic() {
const canvas = cc.find('Canvas');
const maxW = canvas.width * 0.7;
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
const picNode1 = sprNode;
picNode1.scale = maxW / picNode1.width;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1);
this.pic1 = picNode1;
const labelNode = new cc.Node();
labelNode.color = cc.Color.YELLOW;
const label = labelNode.addComponent(cc.Label);
label.string = this.data.text;
label.fontSize = 60;
label.lineHeight = 60;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
picNode1.addChild(labelNode);
});
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
const picNode2 = sprNode;
picNode2.scale = maxW / picNode2.width;
canvas.addChild(picNode2);
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x;
this.pic2 = picNode2;
const labelNode = new cc.Node();
const label = labelNode.addComponent(cc.RichText);
const size = 60
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>`
label.lineHeight = size;
picNode2.addChild(labelNode);
});
}
initIcon() {
const iconNode = this.getSprNode('icon');
iconNode.zIndex = 5;
iconNode.anchorX = 1;
iconNode.anchorY = 1;
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10;
iconNode.y = iconNode.parent.height / 2 - 10;
iconNode.on(cc.Node.EventType.TOUCH_START, () => {
this.playAudioByUrl(this.data.audio_url);
initBtn() {
this.startBtn.on("click", ()=>{
this.startCheck();
})
}
curPage = null;
initBtn() {
this.curPage = 0;
const bottomPart = cc.find('Canvas/bottomPart');
bottomPart.zIndex = 5; // 提高层级
bottomPart.x = bottomPart.parent.width / 2;
bottomPart.y = -bottomPart.parent.height / 2;
const leftBtnNode = bottomPart.getChildByName('btn_left');
//节点中添加了button组件 则可以添加click事件监听
leftBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 0) {
return;
initData() {
console.log(this.data);
}
this.curPage = 0
this.leftMove();
this.playLocalAudio('btn');
async startCheck() {
const audioUrl = [];
this.data.forEach(item => {
audioUrl.push({
id: item.id,
type: "cn",
name: item.text_cn,
audio_url: item.audio_cn_url
})
audioUrl.push({
id: item.id,
type: "en",
name: item.text_en,
audio_url: item.audio_url
})
});
const rightBtnNode = bottomPart.getChildByName('btn_right');
//节点中添加了button组件 则可以添加click事件监听
rightBtnNode.on('click', () => {
if (!this._cantouch) {
return;
this.summaryInfo_now = 0;
this.summaryInfo_total = audioUrl.length;
this.summaryInfo_success = 0;
this.summaryInfo_fail = 0;
this.updateSummaryInfo()
for(let i=0; i<audioUrl.length; i++) {
const res = await this.testAudioPlay(audioUrl[i].audio_url)
if(res) {
this.inputText(`播放成功! id:${audioUrl[i].id} 资源名:${audioUrl[i].name}`);
this.summaryInfo_success ++;
} else {
this.inputText(`播放失败! id:${audioUrl[i].id} 资源名:${audioUrl[i].name}`);
console.log(`Fail: id=${audioUrl[i].id} type=${audioUrl[i].type}`)
this.summaryInfo_fail ++;
}
if (this.curPage == 1) {
return;
this.updateSummaryInfo()
}
this.curPage = 1
this.rightMove();
// 游戏结束时需要调用这个方法通知系统作业完成
onHomeworkFinish();
this.playLocalAudio('btn');
})
this.inputText(`检测完成,总计【${this.summaryInfo_total}】 成功【${this.summaryInfo_success}】 失败【${this.summaryInfo_fail}】`);
}
leftMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
// 输入文字
inputText(str) {
this.outputBox.getComponent(cc.Label).string = str;
}
rightMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX - len }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX - len }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
summaryInfo_now = 0;
summaryInfo_total = 0;
summaryInfo_success = 0;
summaryInfo_fail = 0;
updateSummaryInfo() {
this.comTotal.string = `进度:${this.summaryInfo_now}/${this.summaryInfo_total}`
this.comSuccess.string = `成功:${this.summaryInfo_success}`
this.comFail.string = `失败:${this.summaryInfo_fail}`
}
// update (dt) {},
......@@ -192,4 +138,33 @@ export default class SceneComponent extends MyCocosSceneComponent {
});
})
}
_intervalId = null;
testAudioPlay(audio_url) {
return new Promise((resovle, reject) => {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if(this._intervalId != null) {
clearInterval(this._intervalId);
this._intervalId = null;
}
let count = 0;
this._intervalId = setInterval(() => {
if(cc.audioEngine.getCurrentTime(audioId) > 0) {
clearInterval(this._intervalId);
this._intervalId = null;
resovle(true)
} else {
if(count > 50) {
clearInterval(this._intervalId);
this._intervalId = null;
resovle(false)
} else {
count++
}
}
}, 200);
});
})
}
}
export const defaultData = {
"pic_url": "http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png",
"pic_url_2": "http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png",
"text": "This is a test label.",
"audio_url": "http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"
}
\ No newline at end of file
export const defaultData = [
{
"id": 4779,
"pid": 4778,
"text_en": "bright",
"text_cn": "明亮的",
"audio_url": "http://teach.cdn.ireadabc.com/f499be15e457de16874b31e08701eab4.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/ab2f3dcd0e382a666d620e7a43824af0.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 1,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4780,
"pid": 4778,
"text_en": "feet",
"text_cn": "",
"audio_url": "http://teach.cdn.ireadabc.com/c203c7182b7313d33ec8739edd5e9a83.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/0090c5afa6fa09393c232df0fc25d5dc.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 2,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4781,
"pid": 4778,
"text_en": "game",
"text_cn": "游戏",
"audio_url": "http://teach.cdn.ireadabc.com/33f9ad6d3e85266acb6911242234874f.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/ff5d3999034a58de9bed9b36b1b1ec9e.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 3,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4782,
"pid": 4778,
"text_en": "have a look",
"text_cn": "看一看",
"audio_url": "http://teach.cdn.ireadabc.com/7cf8e011842e3ee8ab8b527e836857f2.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/b2f7050b76ddafbb239c90e7f639ca12.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 4,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4783,
"pid": 4778,
"text_en": "knee",
"text_cn": "膝盖",
"audio_url": "http://teach.cdn.ireadabc.com/2337030f20c0f20079a1fddb43934542.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/827651caa9e55f329deace99ec3f6591.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 5,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4784,
"pid": 4778,
"text_en": "sit",
"text_cn": "",
"audio_url": "http://teach.cdn.ireadabc.com/dbd5da0a60832457fec5143a111dccd9.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/783e5615d3652209d125dda7fe88ae0b.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 6,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4785,
"pid": 4778,
"text_en": "swimming pool",
"text_cn": "游泳池",
"audio_url": "http://teach.cdn.ireadabc.com/1c70fed3bb0ad4a3b10f9c4221607e86.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/002c288b44d9f77eccc5f31c3eb606ca.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 7,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4786,
"pid": 4778,
"text_en": "that",
"text_cn": "那个",
"audio_url": "http://teach.cdn.ireadabc.com/6c0fde6d17f7ccdea0e1bc19e5cda5e5.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/f4b96d348616060e1308d2f2c8ab293c.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 8,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4787,
"pid": 4778,
"text_en": "these",
"text_cn": "这些",
"audio_url": "http://teach.cdn.ireadabc.com/be1b97da0ea41c5c3e1dbc1401554348.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/1b49de10a4a3cff9ea944b9777bc5983.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 9,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4788,
"pid": 4778,
"text_en": "this",
"text_cn": "",
"audio_url": "http://teach.cdn.ireadabc.com/409874699bedab557d7222cbe3b05082.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/ebde4768537a91974fc5f1a442dfccf9.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 10,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4789,
"pid": 4778,
"text_en": "those",
"text_cn": "那些",
"audio_url": "http://teach.cdn.ireadabc.com/f4430421f43dfe2cb372a8bfcac019bd.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/008414bf6ab863db02deeb46855c4d76.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 11,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4790,
"pid": 4778,
"text_en": "touch",
"text_cn": "",
"audio_url": "http://teach.cdn.ireadabc.com/052041c42d5b4a0b3ea6a4917ea51e4d.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/fd6dd5c709552eaa0f07bc364ac354f5.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 12,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4791,
"pid": 4778,
"text_en": "wall",
"text_cn": "",
"audio_url": "http://teach.cdn.ireadabc.com/778c93936dc42bba328a2224a8e88e60.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/c228d60680200a69e3cd78c4279b8804.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 13,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4792,
"pid": 4778,
"text_en": "what",
"text_cn": "什么",
"audio_url": "http://teach.cdn.ireadabc.com/36b5e5d9a5240bff453e95e2d74cece0.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/27a5b4d9525a299e3806ccd991a8e5f9.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 14,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4793,
"pid": 4778,
"text_en": "whiteboard",
"text_cn": "白色书写板",
"audio_url": "http://teach.cdn.ireadabc.com/eeb0923e54fc72f0e17687690298e137.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/80b8e8f633d657285cbbde2a7888793a.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 15,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4794,
"pid": 4778,
"text_en": "with",
"text_cn": "和......一起",
"audio_url": "http://teach.cdn.ireadabc.com/b8b10e63d634053675ca090a30164331.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/c93f7c9158152351dad4426c0779f7e4.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 16,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4795,
"pid": 4778,
"text_en": "work",
"text_cn": "工作",
"audio_url": "http://teach.cdn.ireadabc.com/e80f709d7a4926ec1dc56ea5d3f4a854.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/e95f61edef2f6e18b1b6bf24d59d9b3e.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 17,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4796,
"pid": 4778,
"text_en": "Wow!",
"text_cn": "哇,呀",
"audio_url": "http://teach.cdn.ireadabc.com/698cb65dff16608ca7d40aedfb8dec1c.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/00cfc20933cb8c1593e0f0d524b86a70.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 18,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4797,
"pid": 4778,
"text_en": "board",
"text_cn": "布告牌",
"audio_url": "http://teach.cdn.ireadabc.com/f55f1588bb87db1628b39484c7a0fd9d.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/197f23a541a29c9e7e9d9edd0fc197a5.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 19,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4798,
"pid": 4778,
"text_en": "cabinet",
"text_cn": "储藏柜,陈列柜",
"audio_url": "http://teach.cdn.ireadabc.com/3182ae8341754b903e382a0113e9922d.mp3",
"audio_cn_url": "http://staging-teach.cdn.ireadabc.com/7fe824b6597e9bbcc910b30dcbf91fcb.mp3",
"image_url": "[]",
"phonetic": "",
"description": "",
"mlk": null,
"data": null,
"seq": 20,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-04-17T10:22:32.000Z",
"del": 0
},
{
"id": 4799,
"pid": 4778,
"text_en": "classroom",
"text_cn": "教室",
"audio_url": "http://teach.cdn.ireadabc.com/38ed60a71cdfbe7a57511c78acccb32f.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/ed39a4b5f4e2dbe4c6fe165a1b5db705.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 21,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4800,
"pid": 4778,
"text_en": "coat hooks",
"text_cn": "衣钩",
"audio_url": "http://teach.cdn.ireadabc.com/d55e532742a6e5d8de6f9bd11e4a9efc.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/3b14e5803d07464fbd723926d3c1f081.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 22,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4801,
"pid": 4778,
"text_en": "computer",
"text_cn": "计算机",
"audio_url": "http://teach.cdn.ireadabc.com/b1b20d6e8bed707195f65086202684fb.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/0113fbd2bc64466d992fd06a7ac132e5.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 23,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4802,
"pid": 4778,
"text_en": "drawers",
"text_cn": "厨柜",
"audio_url": "http://teach.cdn.ireadabc.com/f1e9a5ec87065858b9495ad4eee1dedd.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/a473d46c265dd5efad3e0a00e06cf212.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 24,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4803,
"pid": 4778,
"text_en": "pencil case",
"text_cn": "铅笔盒",
"audio_url": "http://teach.cdn.ireadabc.com/ac49569f125be7d873873988105b508f.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/0b5c9caeee8be194956535cb1789d417.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 25,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4804,
"pid": 4778,
"text_en": "picture",
"text_cn": "图画",
"audio_url": "http://teach.cdn.ireadabc.com/4e173b3ea2691ee3c922b3d8b38cd56f.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/45b73ee554f52ae8e16a22351b56b380.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 26,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4805,
"pid": 4778,
"text_en": "poster",
"text_cn": "海报",
"audio_url": "http://teach.cdn.ireadabc.com/8d7a543560e01cea4c356ab4d02b33e1.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/9ed831f5deeac57d7371e7932f005bbd.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 27,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
},
{
"id": 4806,
"pid": 4778,
"text_en": "table",
"text_cn": "桌子",
"audio_url": "http://teach.cdn.ireadabc.com/7c202e145b38bcb8c21d32bf571b02aa.mp3",
"audio_cn_url": "http://teach.cdn.ireadabc.com/33bf020135935e2fd5b1ed5757924ba6.mp3",
"image_url": null,
"phonetic": null,
"description": null,
"mlk": null,
"data": null,
"seq": 28,
"has_child": 0,
"depth": 4,
"created_date": "2023-03-20T05:40:57.000Z",
"updated_date": "2023-03-20T21:56:53.000Z",
"del": 0
}
]
\ 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": "9a79969a-0506-48d4-bc98-3c05d109b027",
"uuid": "75197063-3a11-4d30-b364-6677df12ca0f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 67,
"width": 1920,
"height": 1080,
"platformSettings": {},
"subMetas": {
"btn_left": {
"bg_dark": {
"ver": "1.0.4",
"uuid": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5",
"rawTextureUuid": "9a79969a-0506-48d4-bc98-3c05d109b027",
"uuid": "d1add30b-0179-4a8b-8826-d6738d26f18f",
"rawTextureUuid": "75197063-3a11-4d30-b364-6677df12ca0f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 67,
"rawWidth": 61,
"rawHeight": 67,
"width": 1920,
"height": 1080,
"rawWidth": 1920,
"rawHeight": 1080,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"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
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