Commit 2a162676 authored by 范雪寒's avatar 范雪寒

feat: 播放页基本完成

parent 45fc7604
......@@ -17,10 +17,22 @@
"__id__": 2
},
{
"__id__": 42
"__id__": 73
},
{
"__id__": 66
"__id__": 81
},
{
"__id__": 89
},
{
"__id__": 97
},
{
"__id__": 105
},
{
"__id__": 113
}
],
"_active": false,
......@@ -79,18 +91,21 @@
},
{
"__id__": 5
},
{
"__id__": 41
}
],
"_active": true,
"_components": [
{
"__id__": 39
"__id__": 70
},
{
"__id__": 40
"__id__": 71
},
{
"__id__": 41
"__id__": 72
}
],
"_prefab": null,
......@@ -257,16 +272,16 @@
"__id__": 17
},
{
"__id__": 27
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 37
"__id__": 39
},
{
"__id__": 38
"__id__": 40
}
],
"_prefab": null,
......@@ -516,7 +531,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "51aiH1qYVHw6RtaikhTwTS"
"_id": "053iMtzxFMcK2zci1MSuML"
},
{
"__type__": "cc.Label",
......@@ -552,7 +567,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b5+1rMfxRAXY/k/a3nFqiX"
"_id": "e0KoInl/5F+ITOUY8ixOHr"
},
{
"__type__": "cc.LabelOutline",
......@@ -570,7 +585,7 @@
"a": 255
},
"_width": 3,
"_id": "f2y0jhr1RKIIKjuHbMJakz"
"_id": "93dcbMgjlH7Y02SW3Aecg1"
},
{
"__type__": "cc.RichText",
......@@ -797,6 +812,9 @@
"_components": [
{
"__id__": 26
},
{
"__id__": 27
}
],
"_prefab": null,
......@@ -994,7 +1012,7 @@
"_string": "w",
"_N$string": "w",
"_fontSize": 42,
"_lineHeight": 42,
"_lineHeight": 55,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "5fa1518c-b27d-446b-9748-dfd0ab92ff2b"
......@@ -1134,8 +1152,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 51.98,
"height": 63
"width": 26.54,
"height": 69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1187,10 +1205,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "W",
"_N$string": "W",
"_string": "g",
"_N$string": "g",
"_fontSize": 50,
"_lineHeight": 50,
"_lineHeight": 55,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "5fa1518c-b27d-446b-9748-dfd0ab92ff2b"
......@@ -1266,6 +1284,74 @@
"_originalHeight": 0,
"_id": "e7Hb2C9txGdb7UiNZgVDmq"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_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": "b9jCcUKDBOvYFWvwoux9fc"
},
{
"__type__": "cc.Node",
"_name": "BtnSmallLetter",
......@@ -1275,16 +1361,19 @@
},
"_children": [
{
"__id__": 28
"__id__": 29
},
{
"__id__": 32
"__id__": 33
}
],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 37
},
{
"__id__": 38
}
],
"_prefab": null,
......@@ -1340,17 +1429,17 @@
"_name": "Img_normal",
"_objFlags": 0,
"_parent": {
"__id__": 27
"__id__": 28
},
"_children": [
{
"__id__": 29
"__id__": 30
}
],
"_active": true,
"_components": [
{
"__id__": 31
"__id__": 32
}
],
"_prefab": null,
......@@ -1406,13 +1495,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 28
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 31
}
],
"_prefab": null,
......@@ -1427,7 +1516,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 28.73,
"height": 52.92
"height": 69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1468,7 +1557,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 30
},
"_enabled": true,
"_materials": [
......@@ -1482,7 +1571,7 @@
"_string": "w",
"_N$string": "w",
"_fontSize": 42,
"_lineHeight": 42,
"_lineHeight": 55,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "5fa1518c-b27d-446b-9748-dfd0ab92ff2b"
......@@ -1504,7 +1593,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
"__id__": 29
},
"_enabled": true,
"_materials": [
......@@ -1536,17 +1625,17 @@
"_name": "Img_selected",
"_objFlags": 0,
"_parent": {
"__id__": 27
"__id__": 28
},
"_children": [
{
"__id__": 33
"__id__": 34
}
],
"_active": false,
"_components": [
{
"__id__": 35
"__id__": 36
}
],
"_prefab": null,
......@@ -1602,13 +1691,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 33
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 35
}
],
"_prefab": null,
......@@ -1664,7 +1753,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 34
},
"_enabled": true,
"_materials": [
......@@ -1678,7 +1767,7 @@
"_string": "W",
"_N$string": "W",
"_fontSize": 50,
"_lineHeight": 50,
"_lineHeight": 55,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "5fa1518c-b27d-446b-9748-dfd0ab92ff2b"
......@@ -1700,7 +1789,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
"__id__": 33
},
"_enabled": true,
"_materials": [
......@@ -1732,7 +1821,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
"__id__": 28
},
"_enabled": true,
"alignMode": 1,
......@@ -1754,6 +1843,74 @@
"_originalHeight": 0,
"_id": "b6OM92medJ9Lc5qneDGi8T"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_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": "65QmBGSIBBXKGJQ+xk3c91"
},
{
"__type__": "cc.Sprite",
"_name": "",
......@@ -1813,102 +1970,29 @@
"_originalHeight": 720,
"_id": "1cTQRYmQRAtor6RCOS0iZw"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitWidth": true,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 2,
"_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": 1280,
"_originalHeight": 720,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "5d4a34tztRAQrUsRqh3NxS4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": "90H8Uu6VZKoIlRjWOjB0pL"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_W",
"_name": "EditModeNode",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 2
},
"_children": [
{
"__id__": 43
"__id__": 42
},
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
},
{
"__id__": 57
},
{
"__id__": 59
},
{
"__id__": 61
"__id__": 56
},
{
"__id__": 63
}
],
"_active": true,
"_components": [
{
"__id__": 65
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -1920,8 +2004,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 716,
"height": 561
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1932,8 +2016,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-476.036,
-382.146,
0,
0,
0,
0,
0,
......@@ -1955,21 +2039,18 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "055cJ6TqlEMZLTcmRVdgaC"
"_id": "29GUjRHIxFp5AnQBlg9ua7"
},
{
"__type__": "cc.Node",
"_name": "LetterMask",
"_name": "BtnBack",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 41
},
"_children": [
{
"__id__": 44
},
{
"__id__": 46
"__id__": 43
}
],
"_active": true,
......@@ -1989,8 +2070,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 541
"width": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2001,8 +2082,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.5,
-571.878,
-99.553,
0,
0,
0,
......@@ -2024,29 +2105,2396 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a0PNYCWvtJ0JO9HqxaiOYM"
"_id": "21M7c3+nREKpd4fwScC+Dr"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 43
"__id__": 42
},
"_children": [],
"_children": [
{
"__id__": 44
}
],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 46
},
{
"__id__": 47
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 230,
"b": 255,
"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": "faSWBVrL5NGrja2U9fubHT"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 43
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
}
],
"_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": "b1e3isNgBOc7/Vb0/uq/zk"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_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": "30+nVdjsJM9KNGzOftZR1A"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_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": "cfOIXLWRlJIoOOZS421GX1"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_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": "100I/Kc1tEzp7HiiAaxheZ"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_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__": 43
},
"_id": "fcpMWF0v9IAIXbr9+kx3KE"
},
{
"__type__": "cc.Node",
"_name": "BtnNext",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [
{
"__id__": 50
}
],
"_active": true,
"_components": [
{
"__id__": 55
}
],
"_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": [
-571.878,
-38.715,
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": "6aY/C1KIpCG6mOuMKDKiwr"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 49
},
"_children": [
{
"__id__": 51
}
],
"_active": true,
"_components": [
{
"__id__": 53
},
{
"__id__": 54
}
],
"_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": "82l/ZH3HZEA6zRaML6IA7e"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
}
],
"_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": "0bkKN8kXtE2ZftU4uHWly6"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_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": "eb/9fbbXxFyqFFtmm+vhT9"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_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": "22FJZMQ9ZDjK2vF+R1WmgV"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_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": "14p7bwFUZDpbbQVl66Xas/"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_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__": 50
},
"_id": "8426suuGpGy7903qU+X14u"
},
{
"__type__": "cc.Node",
"_name": "BtnShow",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [
{
"__id__": 57
}
],
"_active": true,
"_components": [
{
"__id__": 62
}
],
"_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": [
-571.878,
-161.497,
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": "a5YObPPDFIt6/iEDS7xzQH"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 56
},
"_children": [
{
"__id__": 58
}
],
"_active": true,
"_components": [
{
"__id__": 60
},
{
"__id__": 61
}
],
"_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": "3afKfVRyxCiKNE/AKS1GBU"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
}
],
"_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": "7fmkPC5yZHVaq6+OCdw41f"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_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": "5aCES2VIZIFKObasWDiFQs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_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": "97nlQtOpdJlJHodu3kQt62"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_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": "c9cMlPkUxIQaqVd3Zw8ACN"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_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__": 57
},
"_id": "75dr1AmE1DsLgu8tT2bpB3"
},
{
"__type__": "cc.Node",
"_name": "BtnSave",
"_objFlags": 0,
"_parent": {
"__id__": 41
},
"_children": [
{
"__id__": 64
}
],
"_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": 100,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-571.878,
-220.123,
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": "18JaarbDdEGr0YUJiIKdqi"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 63
},
"_children": [
{
"__id__": 65
}
],
"_active": true,
"_components": [
{
"__id__": 67
},
{
"__id__": 68
}
],
"_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": "ef8kW3WzRHuoosqC8RXqYi"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 64
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
}
],
"_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": "f22bMOOWlI6qeCRbBAqPIo"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_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": "7deoLLnllC35aDhR+iS7az"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_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": "6eVKSTElVEwIdUsiPln9hn"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_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": "edLsJcnXNKmKTOEMLmN+DS"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_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__": 64
},
"_id": "4dAyTgmEpN8bByPACF39UA"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitWidth": true,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 2,
"_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": 1280,
"_originalHeight": 720,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "5d4a34tztRAQrUsRqh3NxS4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": "b0HimDlUJDOps/bQnL3gwa"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_W",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 74
}
],
"_active": true,
"_components": [
{
"__id__": 80
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 716,
"height": 561
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-476.036,
-382.146,
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": "055cJ6TqlEMZLTcmRVdgaC"
},
{
"__type__": "cc.Node",
"_name": "LetterMask",
"_objFlags": 0,
"_parent": {
"__id__": 73
},
"_children": [
{
"__id__": 75
},
{
"__id__": 77
}
],
"_active": true,
"_components": [
{
"__id__": 79
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.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": "a0PNYCWvtJ0JO9HqxaiOYM"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 600
},
"_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": "efjsoDlBNGQaYmh6qVFPOy"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_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": "b8Xw6poP9ExZaXwHeFYjru"
},
{
"__type__": "cc.Node",
"_name": "DrawNode",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 600
},
"_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": "92Lkm+xVBNhojXFSecn0jE"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "a153945d-2511-4c14-be7b-05d242f47d57"
}
],
"_lineWidth": 50,
"_strokeColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 1,
"_fillColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_miterLimit": 10,
"_id": "ado0bITa1Om7aQ98TzPWwt"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": {
"__uuid__": "d4ce5896-f4df-431b-ae8f-105cf9427134"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "14REQUKUZH04iD2Ul92d+A"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d09ea72f-2556-4afb-b787-e722a2ca1f2e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "55JLBovvpIgZ0NqaphoDXm"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_w",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 82
}
],
"_active": true,
"_components": [
{
"__id__": 88
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 716,
"height": 561
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1206.908,
-388.847,
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": "a09Hi5wbxMpog4gi+XjfDY"
},
{
"__type__": "cc.Node",
"_name": "LetterMask",
"_objFlags": 0,
"_parent": {
"__id__": 81
},
"_children": [
{
"__id__": 83
},
{
"__id__": 85
}
],
"_active": true,
"_components": [
{
"__id__": 87
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.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": "21h/HWJ9pOAZ7GpaZtH/45"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
}
],
"_prefab": null,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 600
},
"_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": "f8J3YWUlBOQLBY2ZS6dKf/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_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": "2bfWZtyc9IpZsF1uZSGre/"
},
{
"__type__": "cc.Node",
"_name": "DrawNode",
"_objFlags": 0,
"_parent": {
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 86
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 600
},
"_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": "4bSsl02xtKVIw6BRelAMYR"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"_materials": [
{
"__uuid__": "a153945d-2511-4c14-be7b-05d242f47d57"
}
],
"_lineWidth": 50,
"_strokeColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 1,
"_fillColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_miterLimit": 10,
"_id": "daImEDZWdDn4ieEm/42PAy"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": {
"__uuid__": "f74fbaad-3f7f-45d4-9d35-24211d207e4c"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "b8gUrqdEJGzokv8O3PYlsR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d09ea72f-2556-4afb-b787-e722a2ca1f2e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f3AbA8omhBSLHEj8okdzji"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_G",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 90
}
],
"_active": true,
"_components": [
{
"__id__": 96
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 716,
"height": 561
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-481.307,
-982.167,
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": "7c6pxrDjdLP5W2X3W6Ehed"
},
{
"__type__": "cc.Node",
"_name": "LetterMask",
"_objFlags": 0,
"_parent": {
"__id__": 89
},
"_children": [
{
"__id__": 91
},
{
"__id__": 93
}
],
"_active": true,
"_components": [
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.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": "4epiZ+wclFdZ17qOTDXVhy"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 92
}
],
"_prefab": null,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
......@@ -2086,14 +4534,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "efjsoDlBNGQaYmh6qVFPOy"
"_id": "cdTFDP7HBKTZs2G5+G14+s"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 91
},
"_enabled": true,
"_materials": [
......@@ -2118,20 +4566,20 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b8Xw6poP9ExZaXwHeFYjru"
"_id": "51YlxTxMhLS4vcVJcVAVcH"
},
{
"__type__": "cc.Node",
"_name": "DrawNode",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 90
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 94
}
],
"_prefab": null,
......@@ -2180,14 +4628,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "92Lkm+xVBNhojXFSecn0jE"
"_id": "a0EheQRPxHmrUbw/AxDe+0"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -2195,32 +4643,32 @@
"__uuid__": "a153945d-2511-4c14-be7b-05d242f47d57"
}
],
"_lineWidth": 2,
"_lineWidth": 60,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 0,
"_lineCap": 1,
"_fillColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_miterLimit": 10,
"_id": "ado0bITa1Om7aQ98TzPWwt"
"_id": "bbBNrPI1dP75aq1xiiAMTV"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -2229,26 +4677,62 @@
}
],
"_spriteFrame": {
"__uuid__": "d4ce5896-f4df-431b-ae8f-105cf9427134"
"__uuid__": "c6768f37-9c84-408c-80e9-367ec817f6e0"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "14REQUKUZH04iD2Ul92d+A"
"_id": "484DEkMbpA1a3XQ5Z2xDOJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d09ea72f-2556-4afb-b787-e722a2ca1f2e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e1+2Ow5ldOvK3fqyl22Mgc"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_0_0",
"_name": "Img_letter_bg_g",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 1
},
"_children": [],
"_children": [
{
"__id__": 98
}
],
"_active": true,
"_components": [
{
"__id__": 50
"__id__": 104
}
],
"_prefab": null,
......@@ -2262,8 +4746,139 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 716,
"height": 561
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1206.908,
-996.925,
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": "4adC8q6WlOOKUIapvnLGXD"
},
{
"__type__": "cc.Node",
"_name": "LetterMask",
"_objFlags": 0,
"_parent": {
"__id__": 97
},
"_children": [
{
"__id__": 99
},
{
"__id__": 101
}
],
"_active": true,
"_components": [
{
"__id__": 103
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.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": "e7MqQP4dtE0arYl9AZqbc+"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
}
],
"_prefab": null,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2274,15 +4889,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-160.181,
175.851,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2297,14 +4912,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d47F+LhmlLB70WWaYQn/ao"
"_id": "01sYVSCqxGl7h0fSPIbZWS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -2315,10 +4930,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -2329,35 +4944,35 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "aamB0MdXBFfK9JOZ8B/vZ5"
"_id": "10iEB1ZWtJKpxO69Q6T4Ii"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_0_1",
"_name": "DrawNode",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 102
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2368,15 +4983,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-81.396,
-80.091,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2391,14 +5006,69 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "45ZcRWsOZNpJPIenQV1zrQ"
"_id": "a2iMJKfkFCkI/9Q/fhWtQm"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"_materials": [
{
"__uuid__": "a153945d-2511-4c14-be7b-05d242f47d57"
}
],
"_lineWidth": 55,
"_strokeColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 1,
"_fillColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_miterLimit": 10,
"_id": "74uEi9Z0xAzpEWYWh3o0WW"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": {
"__uuid__": "70ff63f6-25a6-44d0-a46b-e0f43b7824ac"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "7enOysiwJCnp5K//4c+GeG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 97
},
"_enabled": true,
"_materials": [
......@@ -2409,7 +5079,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
"__uuid__": "d09ea72f-2556-4afb-b787-e722a2ca1f2e"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2423,20 +5093,24 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dbaW+o1bRDorwhuTKMe9sT"
"_id": "ecMKDrWExEjYGmpr9cTxJ1"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_1_0",
"_name": "Img_letter_bg_o",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 1
},
"_children": [],
"_children": [
{
"__id__": 106
}
],
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 112
}
],
"_prefab": null,
......@@ -2450,8 +5124,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 716,
"height": 561
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2462,15 +5136,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1.259,
177.925,
-1187.034,
-1584.504,
0,
0,
0,
0,
1,
0.5,
0.5,
1,
1,
1
]
},
......@@ -2485,67 +5159,104 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d2x3qwsjBAB4pgS/Y/cRou"
"_id": "9cqGXALyVFZrPNcL4CGp9P"
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "LetterMask",
"_objFlags": 0,
"node": {
"__id__": 53
"_parent": {
"__id__": 105
},
"_enabled": true,
"_materials": [
"_children": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 107
},
{
"__id__": 109
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
"_active": true,
"_components": [
{
"__id__": 111
}
],
"_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": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.5,
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": "f8MHjJDd5P7L6QfrwwoZe2"
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d5vfGD0UVM/LdMyHmm0jIR"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_1_1",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 108
}
],
"_prefab": null,
"_opacity": 255,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2556,15 +5267,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-81.396,
-80.091,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2579,14 +5290,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3dVNWLEfVOC6LjJqCendQ1"
"_id": "6bSwt9xjtLFKII57kRe5tQ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
"__id__": 107
},
"_enabled": true,
"_materials": [
......@@ -2597,10 +5308,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -2611,35 +5322,35 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "94atGOIYhMyZRkSmYLX7/i"
"_id": "50c0a8F0VCSLCd+gZgCHui"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_2_0",
"_name": "DrawNode",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 110
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2650,15 +5361,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1.259,
177.925,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2673,14 +5384,69 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d2Yc7/fYhPjYpLVaSl06I1"
"_id": "5cU3JkjxNG2aNXu9pqGesW"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
},
"_enabled": true,
"_materials": [
{
"__uuid__": "a153945d-2511-4c14-be7b-05d242f47d57"
}
],
"_lineWidth": 55,
"_strokeColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 1,
"_fillColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_miterLimit": 10,
"_id": "7eILxpgHhOtb5m1nnaL629"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": {
"__uuid__": "acd037f7-d4b2-410f-a1c0-70e0ae21b048"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "f31RhoYr1JlYaHe5yhNPLJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -2691,7 +5457,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
"__uuid__": "d09ea72f-2556-4afb-b787-e722a2ca1f2e"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2705,20 +5471,24 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "81zkHqAStJ9rp11N5by8Bt"
"_id": "395auALPtDQYe+ZHteNTiZ"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_2_1",
"_name": "Img_letter_bg_O",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 1
},
"_children": [],
"_children": [
{
"__id__": 114
}
],
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 120
}
],
"_prefab": null,
......@@ -2732,8 +5502,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 716,
"height": 561
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2744,15 +5514,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
80.699,
-82.52,
-462.337,
-1586.238,
0,
0,
0,
0,
1,
0.5,
0.5,
1,
1,
1
]
},
......@@ -2767,52 +5537,27 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "efrWAR9HVMaZuwVmC92J66"
"_id": "a4SC0DuwZCVJwqrUeG+mdX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "LetterMask",
"_objFlags": 0,
"node": {
"__id__": 59
"_parent": {
"__id__": 113
},
"_enabled": true,
"_materials": [
"_children": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 115
},
{
"__id__": 117
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c7FR9lJutE0aP6kBtNPuKS"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_3_0",
"_objFlags": 0,
"_parent": {
"__id__": 42
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
"__id__": 119
}
],
"_prefab": null,
......@@ -2826,8 +5571,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2838,15 +5583,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
161.443,
179.139,
0,
7.5,
0,
0,
0,
0,
1,
0.5,
0.5,
1,
1,
1
]
},
......@@ -2861,67 +5606,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d0WCT9Hr5AxIp92eKL5o8z"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e53VUI68hLhZJKDLtVJ+9H"
"_id": "4dEabf9IBAc4diIDcJGM+4"
},
{
"__type__": "cc.Node",
"_name": "DrawNode_3_1",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 42
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 116
}
],
"_prefab": null,
"_opacity": 255,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2932,15 +5645,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
80.699,
-82.52,
0,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2955,46 +5668,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "08YdB4c3ZPS5P6S1o9fFPX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b7c5c0c9-5f17-4b34-8b8f-74c41172f112"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "17IlA3q4ZMKIEW92qbUxXo"
"_id": "014o3fXUtFfKn5EnYKVe2X"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 115
},
"_enabled": true,
"_materials": [
......@@ -3005,10 +5686,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d09ea72f-2556-4afb-b787-e722a2ca1f2e"
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -3019,39 +5700,35 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "55JLBovvpIgZ0NqaphoDXm"
"_id": "20P0c4atZOOLsvl7NJ2Gk5"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_w",
"_name": "DrawNode",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 114
},
"_children": [
{
"__id__": 67
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 118
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 716,
"height": 561
"width": 400,
"height": 600
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3062,8 +5739,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1206.908,
-388.847,
0,
0,
0,
0,
0,
......@@ -3085,76 +5762,47 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a09Hi5wbxMpog4gi+XjfDY"
"_id": "f7U3iQFE9CKZ/g9M4KuHol"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_big_w",
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 66
"node": {
"__id__": 117
},
"_children": [],
"_active": true,
"_components": [
"_enabled": true,
"_materials": [
{
"__id__": 68
"__uuid__": "a153945d-2511-4c14-be7b-05d242f47d57"
}
],
"_prefab": null,
"_opacity": 50,
"_color": {
"_lineWidth": 55,
"_strokeColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
7.5,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"_lineJoin": 2,
"_lineCap": 1,
"_fillColor": {
"__type__": "cc.Color",
"r": 181,
"g": 39,
"b": 48,
"a": 255
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f2SjmnTXhCHZui5uksR+KS"
"_miterLimit": 10,
"_id": "3ccF96N1hJn69YmlAH2x2l"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -3162,31 +5810,21 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f74fbaad-3f7f-45d4-9d35-24211d207e4c"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"__uuid__": "64e6b917-ac6e-4c65-8005-7e3817252622"
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "d7W+Gh0ZFOn4l0hJ0o7uGR"
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "0bOVU6CNJH4ZpRLkqMRYHI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 113
},
"_enabled": true,
"_materials": [
......@@ -3211,6 +5849,6 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f3AbA8omhBSLHEj8okdzji"
"_id": "17S2pGfoRAQ4Lg1+FsngW5"
}
]
\ No newline at end of file
import { defaultData } from '../script/defaultData';
import { asyncDelay, jelly } from '../script/utils';
import { letterData } from '../script/letterPointData';
cc.Class({
extends: cc.Component,
......@@ -34,7 +36,7 @@ cc.Class({
this.data = data || this.getDefaultData();
this.data = JSON.parse(JSON.stringify(this.data))
this.preloadItem()
})
});
},
getData(cb) {
......@@ -81,37 +83,300 @@ cc.Class({
this.initAudio();
this.initView();
this.initListener();
this.showLetterAnimation();
this.startEditMode();
},
letterPosList: null,
initData() {
this.letterPosList = {};
for (const key in letterData) {
if (Object.hasOwnProperty.call(letterData, key)) {
this.letterPosList[key] = letterData[key].map(pen => {
return pen.map(pos => cc.v2(pos.x, pos.y));
});
}
}
},
initAudio() {
},
debugMode: false,
letter: null,
initView() {
const letter = 'W';
// this.debugMode = true;
this.setLetter('o');
},
setLetter(letter) {
this.letter = letter;
this.updateLetterBtnLabel();
this.addDrawLetter(this.letter);
},
updateLetterBtnLabel() {
const label1 = cc.find('Canvas/bg/BtnSmallLetter/Img_selected/label');
const label2 = cc.find('Canvas/bg/BtnSmallLetter/Img_normal/label');
const label3 = cc.find('Canvas/bg/BtnBigLetter/Img_selected/label');
const label4 = cc.find('Canvas/bg/BtnBigLetter/Img_normal/label');
label1.getComponent(cc.Label).string = this.letter.toLowerCase();
label2.getComponent(cc.Label).string = this.letter.toLowerCase();
label3.getComponent(cc.Label).string = this.letter.toUpperCase();
label4.getComponent(cc.Label).string = this.letter.toUpperCase();
},
interpolateLine(lineList, maxLength) {
let newposList = [];
for (const line of lineList) {
const distance = this.getDistance(line.startPos, line.endPos);
if (distance > maxLength) {
const middlePoint = this.getMiddlePoint(line.startPos, line.endPos);
newposList.push({ type: 'Line', startPos: line.startPos, endPos: middlePoint });
newposList.push({ type: 'Line', startPos: middlePoint, endPos: line.endPos });
} else {
newposList.push(line);
}
}
if (newposList.length > lineList.length) {
newposList = this.interpolateLine(newposList, maxLength);
}
return newposList;
},
interpolatePos(posList, maxLength) {
let newposList = [];
if (posList.length <= 1) {
return posList;
}
for (let i = 0; i < posList.length - 1; i++) {
const pos = posList[i];
const nextPos = posList[i + 1];
const distance = this.getDistance(pos, nextPos);
newposList.push(pos);
if (distance > maxLength) {
const middlePoint = this.getMiddlePoint(pos, nextPos);
newposList.push(middlePoint);
}
}
newposList.push(posList[posList.length - 1]);
if (newposList.length > posList.length) {
newposList = this.interpolatePos(newposList, maxLength);
}
return newposList;
},
getMiddlePoint(pos1, pos2) {
return cc.v2((pos1.x + pos2.x) / 2, (pos1.y + pos2.y) / 2);
},
getDistance(pos1, pos2) {
return pos1.sub(pos2).mag();
},
drawALine(drawNode, fromPos, toPos, color) {
const graph = drawNode.getComponent(cc.Graphics);
if (color) {
graph.strokeColor = color;
}
graph.lineWidth = 60;
graph.moveTo(fromPos.x, fromPos.y);
graph.lineTo(toPos.x, toPos.y);
graph.stroke();
},
drawBigCircle(drawNode, centerPos, color) {
const graph = drawNode.getComponent(cc.Graphics);
graph.lineWidth = 5;
graph.strokeColor = color;
graph.arc(centerPos.x, centerPos.y, 6, 0, Math.PI * 2, true);
graph.stroke();
graph.fillColor = cc.color(255, 255, 255);
graph.arc(centerPos.x, centerPos.y, 4, 0, Math.PI * 2, true);
graph.fill();
},
drawSmallDot(drawNode, centerPos, color) {
const graph = drawNode.getComponent(cc.Graphics);
graph.fillColor = color;
graph.arc(centerPos.x, centerPos.y, 3, 0, Math.PI * 2, true);
graph.fill();
},
addDrawLetter(letter) {
const letterBaseNode = cc.find('Canvas/bg/Img_letter_bg');
letterBaseNode.removeAllChildren();
const letterBg = cc.instantiate(cc.find(`Img_letter_bg_${letter}`));
letterBg.x = 0;
letterBg.y = 0;
letterBg.parent = cc.find('Canvas/bg/Img_letter_bg');
// cc.find('LetterMask/bg', letterBg).active = false;
const drawNodeList = this.getDrawNodeList(letterBg);
for (const drawNode of drawNodeList) {
// drawNode.opcity = 0;
}
letterBg.parent = letterBaseNode;
cc.find('LetterMask/bg', letterBg).active = false;
return letterBg;
},
getDrawNodeList(letterBg) {
const drawNodeList = [];
drawNodeList.push(...letterBg.children.filter((child) => child.name != LetterMask));
return drawNodeList;
getDrawNodeList() {
return [];
},
initListener() {
const BtnBigLetter = cc.find('Canvas/bg/BtnBigLetter');
const BtnSmallLetter = cc.find('Canvas/bg/BtnSmallLetter');
BtnBigLetter.on('click', () => {
BtnBigLetter.getChildByName('Img_normal').active = false;
BtnSmallLetter.getChildByName('Img_normal').active = true;
BtnBigLetter.getChildByName('Img_selected').active = true;
BtnSmallLetter.getChildByName('Img_selected').active = false;
jelly(BtnBigLetter);
this.setLetter(this.letter.toUpperCase());
this.showLetterAnimation();
this.startEditMode();
});
BtnSmallLetter.on('click', () => {
BtnBigLetter.getChildByName('Img_normal').active = true;
BtnSmallLetter.getChildByName('Img_normal').active = false;
BtnBigLetter.getChildByName('Img_selected').active = false;
BtnSmallLetter.getChildByName('Img_selected').active = true;
jelly(BtnSmallLetter);
this.setLetter(this.letter.toLowerCase());
this.showLetterAnimation();
this.startEditMode();
});
const btnBack = cc.find('Canvas/EditModeNode/BtnBack');
btnBack.on('click', () => {
const posList = this.letterPosList[this.letter];
const lastPen = posList[posList.length - 1];
if (lastPen && lastPen.length > 0) {
lastPen.pop();
} else {
if (posList.length > 0) {
posList.pop();
}
}
this.updateEditMode();
});
const btnNext = cc.find('Canvas/EditModeNode/BtnNext');
btnNext.on('click', () => {
const posList = this.letterPosList[this.letter];
posList.push([]);
this.updateEditMode();
});
const btnShow = cc.find('Canvas/EditModeNode/BtnShow');
btnShow.on('click', () => {
this.showLetterAnimation();
});
const btnSave = cc.find('Canvas/EditModeNode/BtnSave');
btnSave.on('click', () => {
const posList = this.letterPosList[this.letter];
console.log(JSON.stringify(posList));
});
},
async showLetterAnimation() {
cc.find(`Canvas/bg/Img_letter_bg/Img_letter_bg_${this.letter}/LetterMask/bg`).active = true;
const drawNode = cc.find(`Canvas/bg/Img_letter_bg/Img_letter_bg_${this.letter}/LetterMask/DrawNode`);
const graph = drawNode.getComponent(cc.Graphics);
graph.clear();
const posList = this.letterPosList[this.letter];
const lienList = this.getLineList(posList);
for (const pen of lienList) {
for (const line of pen) {
this.drawALine(drawNode, line.startPos, line.endPos, cc.color(181, 39, 48));
await asyncDelay(0.02);
}
await asyncDelay(0.1);
}
},
editMode: false,
startEditMode() {
if (!this.debugMode) {
return;
}
cc.find('Canvas/EditModeNode').active = true;
this.editMode = true;
cc.find(`Canvas/bg/Img_letter_bg/Img_letter_bg_${this.letter}/LetterMask/bg`).active = true;
const drawNode = cc.find(`Canvas/bg/Img_letter_bg/Img_letter_bg_${this.letter}/LetterMask/DrawNode`);
drawNode.addComponent(cc.Button);
drawNode.on('touchstart', (event) => {
const touchLocation = event.getLocation();
const pos = drawNode.convertToNodeSpaceAR(touchLocation);
const posList = this.letterPosList[this.letter];
if (posList.length == 0) {
posList.push([]);
}
posList[posList.length - 1].push(pos);
this.updateEditMode();
});
drawNode.on('touchmove', (event) => {
const touchLocation = event.getLocation();
const pos = drawNode.convertToNodeSpaceAR(touchLocation);
const posList = this.letterPosList[this.letter];
const lastPen = posList[posList.length - 1];
lastPen[lastPen.length - 1] = pos;
this.updateEditMode();
});
this.updateEditMode();
},
getLineList(posList) {
const lineList = [];
for (const pen of posList) {
const newPen = this.interpolatePos(pen, 10);
const newLine = [];
newPen.forEach((pos, idx) => {
if (idx < newPen.length - 1) {
newLine.push({
startPos: pos,
endPos: newPen[idx + 1]
});
}
});
lineList.push(newLine);
}
return lineList;
},
updateEditMode() {
const drawNode = cc.find(`Canvas/bg/Img_letter_bg/Img_letter_bg_${this.letter}/LetterMask/DrawNode`);
const graph = drawNode.getComponent(cc.Graphics)
graph.clear();
const posList = this.letterPosList[this.letter];
const lienList = this.getLineList(posList);
for (const pen of lienList) {
for (const line of pen) {
this.drawALine(drawNode, line.startPos, line.endPos, cc.color(0, 0, 255));
}
}
posList.forEach((pen, i) => {
const newPen = this.interpolatePos(pen, 10);
for (const pos of newPen) {
let color = cc.color(50, 50, 50);
if (i == posList.length - 1) {
color = cc.color(255, 0, 0);
}
const idx = pen.findIndex(penPos => penPos.x == pos.x && penPos.y == pos.y);
if (idx == -1) {
this.drawSmallDot(drawNode, pos, color);
} else {
this.drawBigCircle(drawNode, pos, color);
}
}
});
}
});
export const letterData = {
A: [],
A: [],
B: [],
C: [],
D: [],
E: [],
F: [],
G: [[{ "x": 76, "y": 113, "z": 0 }, { "x": 59, "y": 136, "z": 0 }, { "x": 33, "y": 154, "z": 0 }, { "x": -7, "y": 167, "z": 0 }, { "x": -52, "y": 155, "z": 0 }, { "x": -74, "y": 120, "z": 0 }, { "x": -83, "y": 85, "z": 0 }, { "x": -85, "y": 48, "z": 0 }, { "x": -86, "y": 18, "z": 0 }, { "x": -79, "y": -17, "z": 0 }, { "x": -70, "y": -47, "z": 0 }, { "x": -43, "y": -69, "z": 0 }, { "x": -15, "y": -80, "z": 0 }, { "x": 21, "y": -84, "z": 0 }, { "x": 48, "y": -67, "z": 0 }, { "x": 66, "y": -45, "z": 0 }, { "x": 79, "y": -23, "z": 0 }, { "x": 89, "y": 1, "z": 0 }, { "x": 97, "y": 33, "z": 0 }], [{ "x": 12, "y": 39, "z": 0 }, { "x": 95, "y": 40, "z": 0 }]],
H: [],
I: [],
J: [],
K: [],
L: [],
M: [],
N: [],
O: [[{ "x": -21, "y": 169, "z": 0 }, { "x": -63, "y": 137, "z": 0 }, { "x": -73, "y": 107, "z": 0 }, { "x": -87, "y": 73, "z": 0 }, { "x": -91, "y": 38, "z": 0 }, { "x": -92, "y": 2, "z": 0 }, { "x": -82, "y": -29, "z": 0 }, { "x": -66, "y": -52, "z": 0 }, { "x": -46, "y": -67, "z": 0 }, { "x": -26, "y": -80, "z": 0 }, { "x": 16, "y": -82, "z": 0 }, { "x": 54, "y": -61, "z": 0 }, { "x": 75, "y": -18, "z": 0 }, { "x": 87, "y": 30, "z": 0 }, { "x": 80, "y": 82, "z": 0 }, { "x": 64, "y": 125, "z": 0 }, { "x": 37, "y": 157, "z": 0 }, { "x": 7, "y": 176, "z": 0 }, { "x": -4, "y": 174, "z": 0 }]],
P: [],
Q: [],
R: [],
S: [],
T: [],
U: [],
V: [],
W: [[{ "x": -171, "y": 170, "z": 0 }, { "x": -84, "y": -104, "z": 0 }], [{ "x": -92, "y": -97, "z": 0 }, { "x": -6, "y": 178, "z": 0 }], [{ "x": -7, "y": 180, "z": 0 }, { "x": 77, "y": -109, "z": 0 }], [{ "x": 70, "y": -93, "z": 0 }, { "x": 162, "y": 178, "z": 0 }]],
X: [],
Y: [],
Z: [],
a: [],
b: [],
c: [],
d: [],
e: [],
f: [],
g: [[{ "x": 52, "y": -3, "z": 0 }, { "x": 41, "y": 19, "z": 0 }, { "x": 6, "y": 43, "z": 0 }, { "x": -40, "y": 42, "z": 0 }, { "x": -75, "y": 13, "z": 0 }, { "x": -81, "y": -31, "z": 0 }, { "x": -66, "y": -69, "z": 0 }, { "x": -23, "y": -85, "z": 0 }, { "x": 22, "y": -71, "z": 0 }, { "x": 46, "y": -35, "z": 0 }, { "x": 54, "y": 11, "z": 0 }, { "x": 54, "y": 50, "z": 0 }, { "x": 54, "y": -106, "z": 0 }, { "x": 42, "y": -147, "z": 0 }, { "x": 11, "y": -164, "z": 0 }, { "x": -28, "y": -166, "z": 0 }, { "x": -60, "y": -157, "z": 0 }]],
h: [],
i: [],
j: [],
k: [],
l: [],
m: [],
n: [],
o: [[{ "x": -17, "y": 49, "z": 0 }, { "x": -54, "y": 18, "z": 0 }, { "x": -65, "y": -9, "z": 0 }, { "x": -66, "y": -37, "z": 0 }, { "x": -45, "y": -70, "z": 0 }, { "x": -15, "y": -84, "z": 0 }, { "x": 17, "y": -84, "z": 0 }, { "x": 48, "y": -68, "z": 0 }, { "x": 65, "y": -37, "z": 0 }, { "x": 63, "y": -4, "z": 0 }, { "x": 47, "y": 24, "z": 0 }, { "x": -9, "y": 47, "z": 0 }]],
p: [],
q: [],
r: [],
s: [],
t: [],
u: [],
v: [],
w: [],
x: [],
y: [],
z: [],
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "25b797e9-bbd2-4061-8369-57cb2c511c1f",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f612576c-502f-4157-9675-ac6ca7295613",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 369,
"height": 541,
"platformSettings": {},
"subMetas": {
"Img_letter_big_g": {
"ver": "1.0.4",
"uuid": "c6768f37-9c84-408c-80e9-367ec817f6e0",
"rawTextureUuid": "f612576c-502f-4157-9675-ac6ca7295613",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 41,
"trimX": 73,
"trimY": 80,
"width": 223,
"height": 299,
"rawWidth": 369,
"rawHeight": 541,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ffda894e-750d-4d4a-86d2-fa8c23ef1cba",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 369,
"height": 541,
"platformSettings": {},
"subMetas": {
"Img_letter_big_o": {
"ver": "1.0.4",
"uuid": "64e6b917-ac6e-4c65-8005-7e3817252622",
"rawTextureUuid": "ffda894e-750d-4d4a-86d2-fa8c23ef1cba",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 41.5,
"trimX": 73,
"trimY": 80,
"width": 223,
"height": 298,
"rawWidth": 369,
"rawHeight": 541,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 364,
"height": 298,
"width": 369,
"height": 541,
"platformSettings": {},
"subMetas": {
"Img_letter_big_w": {
......
{
"ver": "2.3.5",
"uuid": "083b0a57-9beb-43b6-9ff8-a3a20174a736",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 369,
"height": 541,
"platformSettings": {},
"subMetas": {
"Img_letter_small_g": {
"ver": "1.0.4",
"uuid": "70ff63f6-25a6-44d0-a46b-e0f43b7824ac",
"rawTextureUuid": "083b0a57-9beb-43b6-9ff8-a3a20174a736",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -15,
"offsetY": -60,
"trimX": 80,
"trimY": 205,
"width": 179,
"height": 251,
"rawWidth": 369,
"rawHeight": 541,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "fde32b44-3262-442a-b00b-ea6af9c48b05",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 369,
"height": 541,
"platformSettings": {},
"subMetas": {
"Img_letter_small_o": {
"ver": "1.0.4",
"uuid": "acd037f7-d4b2-410f-a1c0-70e0ae21b048",
"rawTextureUuid": "fde32b44-3262-442a-b00b-ea6af9c48b05",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": -20.5,
"trimX": 96,
"trimY": 204,
"width": 178,
"height": 174,
"rawWidth": 369,
"rawHeight": 541,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 254,
"height": 171,
"width": 369,
"height": 541,
"platformSettings": {},
"subMetas": {
"Img_letter_small_w": {
......
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