Commit de9b5760 authored by limingzhe's avatar limingzhe

fix: debug

parent bfa89f37
{
"ver": "2.0.1",
"uuid": "9dd19adb-a357-41a2-9003-80aa26328cd2",
"downloadMode": 0,
"duration": 0.600816,
"subMetas": {}
}
\ No newline at end of file
No preview for this file type
......@@ -2,6 +2,6 @@
"ver": "2.0.1",
"uuid": "361b2d4a-7d66-4cdb-ac33-0ebc2e1c6aaf",
"downloadMode": 0,
"duration": 9.932,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8257fa4f-1b5d-4669-9a37-b3a38b9f5306",
"downloadMode": 0,
"duration": 1.906939,
"subMetas": {}
}
\ No newline at end of file
......@@ -17,7 +17,13 @@
"__id__": 2
},
{
"__id__": 54
"__id__": 72
},
{
"__id__": 106
},
{
"__id__": 127
}
],
"_active": false,
......@@ -87,19 +93,22 @@
"__id__": 32
},
{
"__id__": 49
"__id__": 54
},
{
"__id__": 56
}
],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 69
},
{
"__id__": 52
"__id__": 70
},
{
"__id__": 53
"__id__": 71
}
],
"_prefab": null,
......@@ -1427,14 +1436,14 @@
"ctor": "Float64Array",
"array": [
0,
-21.727,
0.273,
0,
0,
0,
0,
1,
1,
1,
0.9,
0.9,
1
]
},
......@@ -1514,6 +1523,9 @@
},
{
"__id__": 47
},
{
"__id__": 49
}
],
"_active": true,
......@@ -1542,7 +1554,7 @@
"ctor": "Float64Array",
"array": [
0,
-331.746,
-291.757,
0,
0,
0,
......@@ -1668,7 +1680,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 36
......@@ -1762,7 +1774,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 38
......@@ -1856,7 +1868,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 40
......@@ -1950,7 +1962,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 42
......@@ -2044,7 +2056,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 44
......@@ -2138,7 +2150,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 46
......@@ -2232,7 +2244,7 @@
"__id__": 32
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 48
......@@ -2320,18 +2332,21 @@
},
{
"__type__": "cc.Node",
"_name": "CheckCamera",
"_name": "color_btn",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__": 32
},
"_children": [],
"_active": false,
"_components": [
"_children": [
{
"__id__": 50
},
{
"__id__": 52
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2343,8 +2358,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 76,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2355,9 +2370,9 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1,
1,
554.2562584220408,
0,
0,
0,
0,
0,
0,
......@@ -2378,143 +2393,22 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "caGTK1aIpE5ZemYDZTDXHU"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_cullingMask": 0,
"_clearFlags": 6,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": 0,
"_zoomRatio": 1,
"_targetTexture": null,
"_fov": 60,
"_orthoSize": 10,
"_nearClip": 0.1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_renderStages": 1,
"_alignWithScreen": true,
"_id": "4f9jJJN/FDi6FaxwBhZNO9"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1688,
"height": 780
},
"_fitWidth": false,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "5fb8dqiU1VE6LOsdU1SIFx3",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"paint": null,
"paint2": null,
"color_paint": null,
"color_selector": null,
"coolcat": null,
"btn_submit": null,
"btn_next": null,
"btn_return": null,
"color_buttons": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"_id": "35fe3f8bf1a046749cef65"
"_id": "faypCsSGtNyp1WtIfwvaSF"
},
{
"__type__": "cc.Node",
"_name": "res",
"_name": "spr",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 49
},
"_children": [
{
"__id__": 55
},
{
"__id__": 56
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 51
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2526,8 +2420,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 76,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2538,8 +2432,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1088,
-546.971,
0,
0,
0,
0,
0,
......@@ -2561,31 +2455,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0aAzbH6R1E+6AmGRrkKa5O"
"_id": "d7cM4sc55KNJ/TT1OrG9gj"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "55d5b422-4d5b-4f21-971d-58d287c5fcf5"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "acWk2H5rhMMLndy9l7B3eu"
},
{
"__type__": "cc.Node",
"_name": "img",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 54
"__id__": 49
},
"_children": [],
"_active": false,
"_components": [],
"_active": true,
"_components": [
{
"__id__": 53
}
],
"_prefab": null,
"_opacity": 255,
"_opacity": 184.36499999999998,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 33,
"g": 33,
"b": 33,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 48.02,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2596,8 +2526,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2453.528,
0,
-68.371,
0,
0,
0,
......@@ -2619,48 +2549,3120 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs"
"_id": "61EClKA+lBQ5v91nxQIdsA"
},
{
"__type__": "cc.Node",
"_name": "audio",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "blue",
"_N$string": "blue",
"_fontSize": 25,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "b7cb916a-ffb9-41d4-a434-670da0dbd4b0"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "75bKtLqEJKqLkDC4B3ar1W"
},
{
"__type__": "cc.Node",
"_name": "CheckCamera",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 55
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1,
1,
554.2562584220408,
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": "caGTK1aIpE5ZemYDZTDXHU"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
},
"_enabled": true,
"_cullingMask": 0,
"_clearFlags": 6,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": 0,
"_zoomRatio": 1,
"_targetTexture": null,
"_fov": 60,
"_orthoSize": 10,
"_nearClip": 0.1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_renderStages": 1,
"_alignWithScreen": true,
"_id": "4f9jJJN/FDi6FaxwBhZNO9"
},
{
"__type__": "cc.Node",
"_name": "input_bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 57
},
}
],
"_active": false,
"_components": [
{
"__id__": 59
},
"__id__": 68
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 66
},
"_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": "9cz6QSuy1KG6fmsZe8A5o/"
},
{
"__type__": "cc.Node",
"_name": "editBox",
"_objFlags": 0,
"_parent": {
"__id__": 56
},
"_children": [
{
"__id__": 61
"__id__": 58
},
{
"__id__": 63
"__id__": 61
},
{
"__id__": 65
},
"__id__": 64
}
],
"_active": true,
"_components": [
{
"__id__": 67
},
{
"__id__": 69
},
{
"__id__": 71
},
{
"__id__": 73
},
{
"__id__": 75
},
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 66
},
"_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": "60XXDjQrJJb5oIWwfv+OzK"
},
{
"__type__": "cc.Node",
"_name": "BACKGROUND_SPRITE",
"_objFlags": 0,
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 60
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 66
},
"_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": "a9k3MGiUZNnJ72QxpyD+TM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ff0e91c7-55c6-4086-a39f-cb6e457b8c3b"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "27PhDS5EVMhrDutUST0Uxt"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 47,
"_right": 47,
"_top": -13,
"_bottom": -13,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 160,
"_originalHeight": 40,
"_id": "9ecctSVE5Io6T+94Z53LG1"
},
{
"__type__": "cc.Node",
"_name": "TEXT_LABEL",
"_objFlags": 0,
"_parent": {
"__id__": 57
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 62
},
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_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": "9akpJLrNFHm5SKiZQgGocp"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 35,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "b7cb916a-ffb9-41d4-a434-670da0dbd4b0"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 0,
"_id": "ddZ3jwTthA86Mo3zBgIcGB"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 2,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 158,
"_originalHeight": 40,
"_id": "dfz5nIP3tFGqqgCR9rewOw"
},
{
"__type__": "cc.Node",
"_name": "PLACEHOLDER_LABEL",
"_objFlags": 512,
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
},
{
"__id__": 66
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 187,
"g": 187,
"b": 187,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 158,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-78,
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": "0b8YtqBNdDgLrNQW8daR5r"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 20,
"_lineHeight": 25,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 0,
"_id": "7cWN29GApOXL9Es5+ErKFg"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 2,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 158,
"_originalHeight": 40,
"_id": "1aVtNn69RJlLrSO+8+bxwG"
},
{
"__type__": "cc.EditBox",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"_string": "",
"returnType": 0,
"maxLength": 1,
"_tabIndex": 0,
"editingDidBegan": [],
"textChanged": [],
"editingDidEnded": [],
"editingReturn": [],
"_N$textLabel": {
"__id__": 62
},
"_N$placeholderLabel": {
"__id__": 65
},
"_N$background": {
"__id__": 59
},
"_N$inputFlag": 5,
"_N$inputMode": 2,
"_N$stayOnTop": false,
"_id": "c5PJGfF/9AtJL7YXkK1TUN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dee360d4-ee85-47e0-8013-f07e0ab7da06"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "353F1iiANApI08ZBqhqZm/"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1688,
"height": 780
},
"_fitWidth": false,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "5fb8dqiU1VE6LOsdU1SIFx3",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"paint": null,
"paint2": null,
"color_paint": null,
"color_selector": null,
"coolcat": null,
"btn_submit": null,
"btn_next": null,
"btn_return": null,
"color_buttons": [
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"_id": "35fe3f8bf1a046749cef65"
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 73
},
{
"__id__": 76
},
{
"__id__": 103
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1088,
-546.971,
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": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 72
},
"_children": [
{
"__id__": 74
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2453.528,
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": "53LUHHG2pEr79fyrvazXJs"
},
{
"__type__": "cc.Node",
"_name": "input_bg",
"_objFlags": 0,
"_parent": {
"__id__": 73
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 66
},
"_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": "c1Ot4x5JxKx4sgD6xRJBkh"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dee360d4-ee85-47e0-8013-f07e0ab7da06"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03a5YAMDtD6reMZKYB6HZr"
},
{
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 72
},
"_children": [
{
"__id__": 77
},
{
"__id__": 79
},
{
"__id__": 81
},
{
"__id__": 83
},
{
"__id__": 85
},
{
"__id__": 87
},
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 93
},
{
"__id__": 95
},
{
"__id__": 97
},
{
"__id__": 99
},
{
"__id__": 101
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b823DIVC9L+Ihc3T9Bt7m3"
},
{
"__type__": "cc.Node",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "69bFfa9tFAEbR2gfDaSv7x"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_clip": {
"__uuid__": "8257fa4f-1b5d-4669-9a37-b3a38b9f5306"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "fcA9h6gIJDhJnocAf1wjv8"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_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": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7c4wLCyWFIVLjazTJ59CYB"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"_clip": {
"__uuid__": "2c5a1df4-a086-413c-8556-088e9fec6b64"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "51KL/ggfhLvJ6Dj8mLn6eL"
},
{
"__type__": "cc.Node",
"_name": "a_o",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 82
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "29UKHbQ5RAF5axpTSFndKY"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
},
"_enabled": true,
"_clip": {
"__uuid__": "9dd19adb-a357-41a2-9003-80aa26328cd2"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "fexE+aRjRBd4rf7u+a8RtX"
},
{
"__type__": "cc.Node",
"_name": "select",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 84
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8amsrnvGZGZ7eICwbNeASP"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 83
},
"_enabled": true,
"_clip": {
"__uuid__": "2adcd080-8e08-4c97-a678-6c596b29e88c"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "e8cu8SIxlCiov+81ek+y87"
},
{
"__type__": "cc.Node",
"_name": "button",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 86
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3d0p0/uJZJIoRva5Br2iqv"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"_clip": {
"__uuid__": "d965eb93-2a37-490e-989b-d163f50b6a11"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "0adN50f61DlbmppsPkOnjX"
},
{
"__type__": "cc.Node",
"_name": "finish",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_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": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0diqR+0eFKK7+K4JCY0fBP"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
},
"_enabled": true,
"_clip": {
"__uuid__": "361b2d4a-7d66-4cdb-ac33-0ebc2e1c6aaf"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "beyEjr5UlH7qNX90bg86+o"
},
{
"__type__": "cc.Node",
"_name": "click",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ffe3Y1pRhEZKzyD8DS/1XO"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_clip": {
"__uuid__": "38b13873-be7b-4f9a-8f74-68d7eb65800d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "f3OH2iIb9KNqxkU+StRCJ7"
},
{
"__type__": "cc.Node",
"_name": "correct",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 92
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "baMmoNGdBHEaitaUE1Zxqo"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
},
"_enabled": true,
"_clip": {
"__uuid__": "f8db83d2-5828-4bff-ae64-110f2ab91b6e"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "2bzRlVYDBPJ51xlmasEH0u"
},
{
"__type__": "cc.Node",
"_name": "incorrect",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7bzMCnHyRGHKTBDCaT/MHE"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_clip": {
"__uuid__": "26b3ea63-59ba-45eb-982e-a83201422090"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "39vI0EumFKQrHJCfp7ahzB"
},
{
"__type__": "cc.Node",
"_name": "lack",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_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": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "92jUu/UtRNhoe5RRQIiYuk"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 95
},
"_enabled": true,
"_clip": {
"__uuid__": "ceb12779-73c5-4001-82b2-6444cee1292f"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "68v+zlpGlGZYtYYD/3pCir"
},
{
"__type__": "cc.Node",
"_name": "painted",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d8u3fLnWNG7IK1HwVQ/0S+"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_clip": {
"__uuid__": "16c77e39-ee05-4f1b-83c2-10ba41022cdf"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "d2vqal1OdBFqaIEI+8TPKJ"
},
{
"__type__": "cc.Node",
"_name": "demo",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7aQiOu5VxLdqOV++yF8hlv"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 99
},
"_enabled": true,
"_clip": {
"__uuid__": "c5dcb848-8cb1-4a03-9edf-9166bf91ceea"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "08GZwTuMZK8qgn2SW4lcS3"
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 76
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 102
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a01RKFR+9AE5m16DMopmpB"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"_clip": null,
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "cb3zr3Ww5IZJbY54TCu0v1"
},
{
"__type__": "cc.Node",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 72
},
"_children": [
{
"__id__": 104
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7dqJsl95RDsZ6qQ19G1osu"
},
{
"__type__": "cc.Node",
"_name": "MMTextBook-Bold",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 105
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 50.4
},
"_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": "a5sdtaL9ZE6pqr4KfoerRI"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "b7cb916a-ffb9-41d4-a434-670da0dbd4b0"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "82dn3JT1pHZ5xxC4YdGmiT"
},
{
"__type__": "cc.Node",
"_name": "paperBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 107
},
{
"__id__": 111
},
{
"__id__": 115
},
{
"__id__": 119
},
{
"__id__": 123
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7c+V/WAtBE86IvBTuolECN"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [
{
"__id__": 108
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9UEfytP5NfryKqBYvvWLc"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 107
},
"_children": [
{
"__id__": 109
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e7IFFR8cRE7b00FifTp9Z6"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 108
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 29,
"height": 29
},
"_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": "ad7COdsAlAJKKKcaeL6vPM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1b0727d-67a2-484a-9f9b-7267bb45e532"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "aaOwDrMVhOzoC7Vje5zZLb"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [
{
"__id__": 112
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "39i3tifC5OaoH5qNCNfc/z"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 111
},
"_children": [
{
"__id__": 113
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "63HJ5zlANBnKTvWdZSl1Kz"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 112
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 114
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 74,
"g": 205,
"b": 225,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 29,
"height": 29
},
"_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": "2e5FVF441EeaOsx4CFl8Hy"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 113
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1b0727d-67a2-484a-9f9b-7267bb45e532"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "edp29nxGNPUJZGsWdjd90p"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [
{
"__id__": 116
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ffGU7sey5BlIVrfKtmTyn5"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [
{
"__id__": 117
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6eAy1SGt5HpbdJ6ZYDGvp8"
},
{
"__type__": "cc.Node",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 118
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 233,
"g": 143,
"b": 253,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 29,
"height": 29
},
"_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": "d90XzYWCBB1ZSXFQ0jLHp9"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1b0727d-67a2-484a-9f9b-7267bb45e532"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b26expNN1CF6Trx9+m6zWN"
},
{
"__type__": "cc.Node",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 106
},
"_children": [
{
"__id__": 120
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ddM12kQBVCwpfbsNltqpjt"
},
{
"__type__": "cc.Node",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 119
},
"_children": [
{
"__id__": 77
"__id__": 121
}
],
"_active": true,
......@@ -2711,35 +5713,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b823DIVC9L+Ihc3T9Bt7m3"
"_id": "100qv7e6BEQpG26TlGh69A"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 120
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 122
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 253,
"g": 182,
"b": 82,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 29,
"height": 29
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2773,41 +5775,54 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7c4wLCyWFIVLjazTJ59CYB"
"_id": "51EzCwmmFAsq1AquZYZn0t"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 121
},
"_enabled": true,
"_clip": {
"__uuid__": "2c5a1df4-a086-413c-8556-088e9fec6b64"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1b0727d-67a2-484a-9f9b-7267bb45e532"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "51KL/ggfhLvJ6Dj8mLn6eL"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7c7WkBQyFClpyIbq/TaMg+"
},
{
"__type__": "cc.Node",
"_name": "select",
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 106
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 60
"__id__": 124
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2854,41 +5869,22 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8amsrnvGZGZ7eICwbNeASP"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"_clip": {
"__uuid__": "2adcd080-8e08-4c97-a678-6c596b29e88c"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "e8cu8SIxlCiov+81ek+y87"
"_id": "13ir3AtfVNR5rAmJ/1tB4T"
},
{
"__type__": "cc.Node",
"_name": "button",
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 123
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 62
"__id__": 125
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2935,54 +5931,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3d0p0/uJZJIoRva5Br2iqv"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_clip": {
"__uuid__": "d965eb93-2a37-490e-989b-d163f50b6a11"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "0adN50f61DlbmppsPkOnjX"
"_id": "9doI7nCOpM3rSmzvef6sv0"
},
{
"__type__": "cc.Node",
"_name": "finish",
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 124
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 126
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 254,
"g": 83,
"b": 108,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 29,
"height": 29
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3016,41 +5993,75 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "0diqR+0eFKK7+K4JCY0fBP"
"_id": "a3dAyyR6hBsbtb4a1I7Qrh"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 125
},
"_enabled": true,
"_clip": {
"__uuid__": "361b2d4a-7d66-4cdb-ac33-0ebc2e1c6aaf"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c1b0727d-67a2-484a-9f9b-7267bb45e532"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "beyEjr5UlH7qNX90bg86+o"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e5VERMIQlMl5qUB49rb5VF"
},
{
"__type__": "cc.Node",
"_name": "click",
"_name": "RibbonNodeBase",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 66
"__id__": 128
},
{
"__id__": 130
},
{
"__id__": 132
},
{
"__id__": 134
},
{
"__id__": 136
},
{
"__id__": 138
},
{
"__id__": 140
},
{
"__id__": 142
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -3097,39 +6108,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ffe3Y1pRhEZKzyD8DS/1XO"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"_clip": {
"__uuid__": "38b13873-be7b-4f9a-8f74-68d7eb65800d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "f3OH2iIb9KNqxkU+StRCJ7"
"_id": "56WHJuGttFfZV3dixwCRVR"
},
{
"__type__": "cc.Node",
"_name": "correct",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
"__id__": 129
}
],
"_prefab": null,
......@@ -3137,14 +6129,14 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"g": 85,
"b": 85,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3178,39 +6170,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "baMmoNGdBHEaitaUE1Zxqo"
"_id": "0fw+PYS5pFmYcOU6A6R2Rh"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
"__id__": 128
},
"_enabled": true,
"_clip": {
"__uuid__": "f8db83d2-5828-4bff-ae64-110f2ab91b6e"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "2bzRlVYDBPJ51xlmasEH0u"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ccIP7JaZFOwqmurdm/4X9W"
},
{
"__type__": "cc.Node",
"_name": "incorrect",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 131
}
],
"_prefab": null,
......@@ -3218,14 +6223,14 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"g": 85,
"b": 245,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3259,54 +6264,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7bzMCnHyRGHKTBDCaT/MHE"
"_id": "399gE0Cl5K9Yif5AFiqQkz"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 130
},
"_enabled": true,
"_clip": {
"__uuid__": "26b3ea63-59ba-45eb-982e-a83201422090"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "39vI0EumFKQrHJCfp7ahzB"
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "37uU9p3G1M4bG/4SY4U02j"
},
{
"__type__": "cc.Node",
"_name": "lack",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 133
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"r": 156,
"g": 85,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3340,54 +6358,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "92jUu/UtRNhoe5RRQIiYuk"
"_id": "08oN1QsZ5KjIgK/Py47BK9"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 132
},
"_enabled": true,
"_clip": {
"__uuid__": "ceb12779-73c5-4001-82b2-6444cee1292f"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "68v+zlpGlGZYtYYD/3pCir"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5b4UP6n0pP2LgQNxfR7USC"
},
{
"__type__": "cc.Node",
"_name": "painted",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 135
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"r": 85,
"g": 122,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3421,54 +6452,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d8u3fLnWNG7IK1HwVQ/0S+"
"_id": "7dX6oSaLJLF7SXdQ7rtVE2"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 134
},
"_enabled": true,
"_clip": {
"__uuid__": "16c77e39-ee05-4f1b-83c2-10ba41022cdf"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "d2vqal1OdBFqaIEI+8TPKJ"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a9JIvRV3VP97OQGNB1ZK9K"
},
{
"__type__": "cc.Node",
"_name": "demo",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 137
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"r": 85,
"g": 218,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3502,54 +6546,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7aQiOu5VxLdqOV++yF8hlv"
"_id": "fbNHOEeRBIja9goC72ylz8"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 136
},
"_enabled": true,
"_clip": {
"__uuid__": "c5dcb848-8cb1-4a03-9edf-9166bf91ceea"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "08GZwTuMZK8qgn2SW4lcS3"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cfZpyH/ZZMJLJrMaPzPGX9"
},
{
"__type__": "cc.Node",
"_name": "star",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 56
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 139
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"r": 85,
"g": 255,
"b": 255,
"b": 150,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3583,52 +6640,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a01RKFR+9AE5m16DMopmpB"
"_id": "cf+zmmI5lPHoLotuDdzl13"
},
{
"__type__": "cc.AudioSource",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 138
},
"_enabled": true,
"_clip": null,
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "cb3zr3Ww5IZJbY54TCu0v1"
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "22Tpl14CRMULPgxIURRX9l"
},
{
"__type__": "cc.Node",
"_name": "font",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 54
"__id__": 127
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 141
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"r": 204,
"g": 255,
"b": 255,
"b": 85,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3662,20 +6734,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7dqJsl95RDsZ6qQ19G1osu"
"_id": "7b6yUeeLNGyaNiZl3QYvZ/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 140
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d41A1NrKdJoYMbHZaJYsYE"
},
{
"__type__": "cc.Node",
"_name": "MMTextBook-Bold",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 127
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 143
}
],
"_prefab": null,
......@@ -3683,14 +6787,14 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"g": 184,
"b": 85,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 50.4
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -3724,14 +6828,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a5sdtaL9ZE6pqr4KfoerRI"
"_id": "31sG14D31Ml6Om/OrNXYt9"
},
{
"__type__": "cc.Label",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 142
},
"_enabled": true,
"_materials": [
......@@ -3741,24 +6845,21 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "b7cb916a-ffb9-41d4-a434-670da0dbd4b0"
"_spriteFrame": {
"__uuid__": "b927b837-bf0a-4b15-800a-d11e25ed43ff"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "82dn3JT1pHZ5xxC4YdGmiT"
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8e8Pd+A8JCqYtZmbBhlkOY"
}
]
\ No newline at end of file
import { onHomeworkFinish, RandomInt, playAudio, playDragonBoneAnimation, asyncDelay, setSprNodeMaxLen, getSprNodeByUrl } from "../script/util_JJ38";
import { onHomeworkFinish, RandomInt, playAudio, playDragonBoneAnimation, asyncDelay, setSprNodeMaxLen, getSprNodeByUrl, getSprNode, showTrebleFirework } from "../script/util_JJ38";
import { defaultData } from "../script/defaultData_JJ38";
cc.Class({
......@@ -416,35 +416,7 @@ cc.Class({
this.showBackBtn();
// this._textureIdMapDataContainer = {};
// this._index = 0;
// this.updateItem();
// const btnCoolCat = cc.find('Canvas/bg/bottom_area/BtnCoolCat');
// btnCoolCat.off("click");
// btnCoolCat.on('click', () => {
// if(!this._can_tap){
// return;
// }
// this._can_tap=false;
// const btn = cc.find('Canvas/bg/btnReplay');
// cc.audioEngine.stop();
// if (btn.active) {
// playDragonBoneAnimation(this.coolcat, 'finish', -1);
// this.playAudioByUrl(this.data.finishAudio, () => {
// playDragonBoneAnimation(this.coolcat, 'normal', -1);
// this._can_tap=true;
// });
// } else {
// playDragonBoneAnimation(this.coolcat, 'begin', -1);
// this.playAudioByUrl(this.data.startAudio, () => {
// playDragonBoneAnimation(this.coolcat, 'normal', -1);
// this._can_tap=true;
// });
// }
// });
},
showBackBtn() {
......@@ -462,6 +434,7 @@ cc.Class({
}
})
},
initTitle() {
......@@ -537,6 +510,9 @@ cc.Class({
return;
}
const panel = cc.find("Canvas/panel");
this.canvas = cc.find("Canvas");
getSprNodeByUrl(this.data.pic_url, (spr) => {
spr.node.y = 5;
......@@ -550,14 +526,17 @@ cc.Class({
})
for (let i=0; i<this.data.picArr.length; i++) {
const data = this.data.picArr[i];
getSprNodeByUrl(this.data.picArr[i].pic_url, (spr) => {
paintBg.addChild(spr.node, i+1);
this.bindSubImgHit(spr.node);
this.bindSubImgHit(spr.node, data);
})
}
this.initHotZoneBg(spr.node);
})
......@@ -567,22 +546,42 @@ cc.Class({
const selectCircle = cc.find("Canvas/color_panel/select");
const colorArr = [
'#FF6868',
'#FFBB55',
'#FAFF04',
'#AAF50A',
'#0DF0FF',
'#3988FF',
'#9E00FF',
];
const colorArr = this.getColorArr();
// [
// '#FF6868',
// '#FFBB55',
// '#FAFF04',
// '#AAF50A',
// '#0DF0FF',
// '#3988FF',
// '#9E00FF',
// ];
console.log('colorArr: ', colorArr);
const disX = 120;
const colorPanel = cc.find('Canvas/color_panel');
const colorBtnBase = cc.find('Canvas/color_panel/color_btn');
for (let i=0; i<colorArr.length; i++) {
const color = colorArr[i];
const colorBtn = cc.find('Canvas/color_panel/color_' + (i+1));
const color = colorArr[i].code;
const colorBtn = cc.instantiate(colorBtnBase);
colorBtn.active = true;
colorBtn.parent = colorBtnBase.parent;
colorBtn.x = i * disX;
const colorSpr = cc.find("spr", colorBtn);
colorSpr.color = cc.Color.fromHEX(new cc.Color(), color);
const colorLabel = cc.find('label', colorBtn).getComponent(cc.Label);
colorLabel.string = colorArr[i].key;
colorBtn.on('touchstart', () => {
this.playAudioByName('select');
this.curPaintColor = cc.Color.fromHEX(new cc.Color(), color);
this.curPaintColorCode = color;
selectCircle.x = colorBtn.x;
})
......@@ -591,6 +590,23 @@ cc.Class({
selectCircle.x = colorBtn.x;
}
}
colorPanel.x = -(colorArr.length - 1) * disX / 2;
},
getColorArr() {
const arr = [];
if (this.data.picArr) {
console.log('this.data.picArr: ' , this.data.picArr);
this.data.picArr.forEach(it => {
if (it.colorData) {
arr.push(it.colorData);
}
})
}
return arr;
},
......@@ -639,6 +655,239 @@ cc.Class({
},
hotZoneBg: null,
initHotZoneBg(hotZoneBg) {
const data = this.data;
hotZoneBg.data = data;
data.hotZoneBg = hotZoneBg;
this.initHotZoneItem(hotZoneBg);
},
initHotZoneItem(bgItem) {
const hotZoneItemArr = this.data.hotZoneItemArr || [];
this.editBoxArr = [];
hotZoneItemArr.forEach((item) => {
this.setOneInputRect(item, bgItem);
});
},
setOneInputRect(data, bg) {
console.log(" in setOneInputRect ~", data)
const rectNode = this.setOneRect(data, bg);
// const tempPos = rectNode.position;
// tempPos.x += rectNode.width / 2;
// tempPos.y += rectNode.height / 2;
// const worldPos = rectNode.parent.convertToWorldSpaceAR(tempPos);
// const localPos = this.canvas.convertToNodeSpaceAR(worldPos);
const inputBgBase = cc.find("Canvas/input_bg");
const inputNode = cc.instantiate(inputBgBase);
inputNode.active = true;
inputNode.parent = rectNode;
inputNode.x = rectNode.width / 2;
inputNode.y = rectNode.height / 2;
setSprNodeMaxLen(inputNode, rectNode.width, rectNode.height);
const eBoxNode = cc.find("editBox", inputNode);
eBoxNode.on('editing-did-ended', this.onEditBoxEnded, this);
const eBox = eBoxNode.getComponent(cc.EditBox);
eBox.data = data;
this.editBoxArr.push(eBox);
// const inputBg = getSprNode('input_bg');
// rectNode.addChild(inputBg);
// setSprNodeMaxLen(inputBg, rectNode.width, rectNode.height);
// inputBg.x = rectNode.width / 2;
// inputBg.y = rectNode.height / 2;
// const numLabelNode = new cc.Node();
// numLabelNode.addComponent(cc.Label);
// numLabelNode.parent = inputBg;
// numLabelNode.width = inputBg.width;
// numLabelNode.height = inputBg.height;
// const eBoxNode = new cc.Node();
// inputBg.addChild(eBoxNode);
// eBoxNode.width = inputBg.width;
// eBoxNode.height = inputBg.height;
// const eBox = eBoxNode.addComponent(cc.EditBox);
// eBox.textLabel = numLabelNode;
// const eBoxNode = new cc.Node();
// // eBoxNode.scale = 5;
// inputBg.addChild(eBoxNode);
// const eBox = eBoxNode.addComponent(cc.EditBox);
// eBox.stayOnTop = true;
// const textLabel = eBox.textLabel;
// console.log('eBox: ' , eBox);
// console.log('textlabel: ' , textLabel);
// // textLabel.fontSize = 150;
// eBoxNode.scale = 3;
// eBoxNode.width = inputBg.width / eBoxNode.scale;
// eBoxNode.height = inputBg.height / eBoxNode.scale;
// // eBox.fontSize = 150;
// eBox.placeholderFontSize = 150;
// eBox.lineHeight = 200;
// eBox.maxLength = 1;
// // eBox.inputMode = cc.EditBox.InputMode.
// eBox.node.on('editing-did-ended', this.onEditBoxEnded, this);
// eBoxNode.parent = this.canvas;
// eBoxNode.position = localPos;
// eBoxNode.zIndex=30;
// inputBg.scale = bg.scale;
// this.canvas.addChild(inputBg);
// inputBg.position = localPos;
// const labelData = this.findOneLabelByKey(data.labelArr, 'key');
// const key = labelData.value; // tempItem中的关键key获取
// rectNode.key = key;
// if(data.checkbox && data.checkbox.list[0].label == '自动换行' && data.checkbox.list[0].value == true) {
// //多行
// rectNode.warp = true;
// }
// if (data.anchorGroup != null) {
// this.setRectNodeAnchor(data, bg, rectNode);
// }
// this.inputTextArr.push(rectNode);
},
onEditBoxEnded() {
for(let i=0; i<this.editBoxArr.length; i++) {
const editBox = this.editBoxArr[i];
const inputNum = editBox.string;
if (!inputNum) {
continue;
}
const data = editBox.data;
const targetNum = data.labelArr[0].value;
if (inputNum != targetNum) {
editBox.string = '';
this.playAudioByName('a_o');
return;
}
}
this.playAudioByName('right');
this.checkGameEnd();
},
checkGameEnd() {
for(let i=0; i<this.editBoxArr.length; i++) {
const editBox = this.editBoxArr[i];
const inputNum = editBox.string;
if (!inputNum) {
return;
}
}
for (let i=0; i<this.data.picArr.length; i++) {
const data = this.data.picArr[i];
if (!data.isEnd) {
return;
}
}
this.gameEnd();
},
gameEnd() {
if (this.isGameEnd) {
return;
}
this.isGameEnd = true;
this.playAudioByName('finish');
const camera = cc.find('Canvas/Main Camera');
camera.zIndex = 100;
showTrebleFirework(camera, cc.find('RibbonNodeBase').children);
},
setOneRect(data, bg, color=cc.Color.BLACK) {
const quesData = bg.data;
const rate = (bg.scale * bg.width) / quesData.bgItem.rect.width;
const rectNode = new cc.Node();
rectNode.name = 'rect' + data.index;
bg.addChild(rectNode);
rectNode.data = data;
const ctx = rectNode.addComponent(cc.Graphics);
ctx.lineWidth = 4;
ctx.strokeColor = color;//cc.Color.BLACK;
ctx.fillColor = cc.Color.WHITE.setA(100);
const scale = rate / bg.scaleY;
rectNode.width = data.rect.width * scale;
rectNode.height = data.rect.height * scale;
rectNode.x = -bg.width / 2 + data.rect.x * scale;
rectNode.y = bg.height / 2 - data.rect.height * scale - data.rect.y * scale;
// rectNode.scale = 1 / data.mapScale;
rectNode.anchorX = rectNode.anchorY = 0;
if (quesData.bgItem.isShowDebugLine || this.data.isDebug) {
ctx.rect(0, 0, rectNode.width, rectNode.height);
}
ctx.stroke();
ctx.fill();
rectNode.addComponent(cc.Button);
return rectNode;
},
async updateItem() {
this._submitted = false;
this.cleanColor();
......@@ -847,11 +1096,11 @@ cc.Class({
}
},
gameEnd() {
if (window && window.courseware) {
window.courseware.gameEnd();
}
},
// gameEnd() {
// if (window && window.courseware) {
// window.courseware.gameEnd();
// }
// },
sendAnswer(answer = "", isRight = false) {
console.log(this._aiexerciseid, answer, isRight, this._startTime);
......@@ -885,14 +1134,23 @@ cc.Class({
bindSubImgHit(sprNode) {
bindSubImgHit(sprNode, data) {
sprNode.on(cc.Node.EventType.TOUCH_START, (e) => {
sprNode.color = this.curPaintColor;
this.playAudioByName('painted');
e.stopPropagation();
console.log('data: ' , data);
console.log('this.curPaintColorCode: ' + this.curPaintColorCode);
if (data?.colorData?.code != this.curPaintColorCode) {
this.playAudioByName('a_o');
return;
}
sprNode.color = this.curPaintColor;
data.isEnd = true;
this.playAudioByName('painted');
this.checkGameEnd();
});
sprNode._hitTest = this._hitTest.bind(this);
......
export const defaultData = {"title":"Choose your favorite color and paint it.","audio_url":"http://staging-teach.cdn.ireadabc.com/555083b19cc70078d2ece421b0619520.mp3","picArr":[{"pic_url":"http://staging-teach.cdn.ireadabc.com/47cbc362bdda20a5a15a5c9012174e8f.png"},{"pic_url":"http://staging-teach.cdn.ireadabc.com/d1f337cde81bbe6570e3c4c6989d64fd.png"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/c30eef64a4d7d75972e7bd9ffa8e71cf.png"}
export const defaultData = {"title":"Choose your favorite color and paint it.","audio_url":"http://staging-teach.cdn.ireadabc.com/555083b19cc70078d2ece421b0619520.mp3","picArr":[{"pic_url":"http://staging-teach.cdn.ireadabc.com/90ce5433218c53cb580a57a04ce696f8.png","colorData":{"key":"Blue","value":"蓝色","code":"#3988FF"}},{"pic_url":"http://staging-teach.cdn.ireadabc.com/223b1e8fc317bd435397347f6756c79b.png","colorData":{"key":"Yellow","value":"黄色","code":"#FAFF04"}},{"pic_url":"http://staging-teach.cdn.ireadabc.com/2c4061df2a7d91590b17580d6a426e7b.png","colorData":{"key":"Pink","value":"粉色","code":"#FFC6EC"}},{"pic_url":"http://staging-teach.cdn.ireadabc.com/a89d9738d55bd7373e34141f4c1c3e65.png","colorData":{"key":"Purple","value":"紫色","code":"#9E00FF"}},{"pic_url":"http://staging-teach.cdn.ireadabc.com/ee942a82682b6d5929c7f0b7c9b2c071.png","colorData":{"key":"Green","value":"绿色","code":"#AAF50A"}}],"pic_url":"http://staging-teach.cdn.ireadabc.com/f4d9c566c17699ff7af21ec3beaa7d97.png","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/f4d9c566c17699ff7af21ec3beaa7d97.png","rect":{"x":405.12,"y":0,"width":1066.76,"height":717}},"hotZoneItemArr":[{"id":"1716804401017","index":0,"itemType":"rect","fontScaleX":1.46640625,"fontScaleY":1.46640625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.46640625,"dragDot":{"x":938.5,"y":358.5},"gIdx":"0","posX":612.5,"posY":657.5,"labelArr":[{"key":"number","title":"序号","value":"1"}],"sizeW":56.99999999999999,"sizeH":56.99999999999999,"rect":{"x":178.88,"y":629,"width":57,"height":57}},{"id":"1716804410047","index":1,"itemType":"rect","fontScaleX":1.46640625,"fontScaleY":1.46640625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.46640625,"dragDot":{"x":938.5,"y":358.5},"gIdx":"0","posX":872.5011925785761,"posY":576.4975947226569,"labelArr":[{"key":"number","title":"序号","value":"2"}],"sizeW":56.99979148165999,"sizeH":56.99979148165999,"rect":{"x":438.88,"y":548,"width":57,"height":57}},{"id":"1716804421092","index":2,"itemType":"rect","fontScaleX":1.46640625,"fontScaleY":1.46640625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.46640625,"dragDot":{"x":938.5,"y":358.5},"gIdx":"0","posX":619.5002414422884,"posY":386.49789103819273,"labelArr":[{"key":"number","title":"序号","value":"3"}],"sizeW":56.99979148165999,"sizeH":56.99979148165999,"rect":{"x":185.88,"y":358,"width":57,"height":57}},{"id":"1716804428169","index":3,"itemType":"rect","fontScaleX":1.46640625,"fontScaleY":1.46640625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.46640625,"dragDot":{"x":938.5,"y":358.5},"gIdx":"0","posX":1142.5011669710607,"posY":512.4985860993261,"labelArr":[{"key":"number","title":"序号","value":"4"}],"sizeW":56.99979148165999,"sizeH":56.99979148165999,"rect":{"x":708.88,"y":484,"width":57,"height":57}},{"id":"1716804439994","index":4,"itemType":"rect","fontScaleX":1.46640625,"fontScaleY":1.46640625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.46640625,"dragDot":{"x":938.5,"y":358.5},"gIdx":"0","posX":1228.4992537238356,"posY":270.49812516404813,"labelArr":[{"key":"number","title":"序号","value":"5"}],"sizeW":56.99979148165999,"sizeH":56.99979148165999,"rect":{"x":794.88,"y":242,"width":57,"height":57}}]}
// {"title":"Choose your favorite color and paint it.","audio_url":"http://staging-teach.cdn.ireadabc.com/555083b19cc70078d2ece421b0619520.mp3","picArr":[{"pic_url":"http://staging-teach.cdn.ireadabc.com/47cbc362bdda20a5a15a5c9012174e8f.png"},{"pic_url":"http://staging-teach.cdn.ireadabc.com/d1f337cde81bbe6570e3c4c6989d64fd.png"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/c30eef64a4d7d75972e7bd9ffa8e71cf.png"}
// {
// // "items": [
......
......@@ -162,7 +162,8 @@ export function getSpriteFrimeByUrl(url, cb) {
}
export function getSprNode(resName) {
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
console.log('resName: ' + resName);
const sf = cc.find('res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
const node = new cc.Node();
node.addComponent(cc.Sprite).spriteFrame = sf;
return node;
......
{
"ver": "2.3.5",
"uuid": "5deb08e9-f192-4a77-97ec-e44183c425f4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 29,
"height": 29,
"platformSettings": {},
"subMetas": {
"Img_paper": {
"ver": "1.0.4",
"uuid": "c1b0727d-67a2-484a-9f9b-7267bb45e532",
"rawTextureUuid": "5deb08e9-f192-4a77-97ec-e44183c425f4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 29,
"height": 29,
"rawWidth": 29,
"rawHeight": 29,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "37006322-be4a-4813-8289-b3a9d70dddde",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 36,
"height": 24,
"platformSettings": {},
"subMetas": {
"bg_sahua": {
"ver": "1.0.4",
"uuid": "b927b837-bf0a-4b15-800a-d11e25ed43ff",
"rawTextureUuid": "37006322-be4a-4813-8289-b3a9d70dddde",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 36,
"height": 24,
"rawWidth": 36,
"rawHeight": 24,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "59f73ffe-c9a7-4773-85a9-4d101b5e15a8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 76,
"height": 76,
"platformSettings": {},
"subMetas": {
"color_btn": {
"ver": "1.0.4",
"uuid": "55d5b422-4d5b-4f21-971d-58d287c5fcf5",
"rawTextureUuid": "59f73ffe-c9a7-4773-85a9-4d101b5e15a8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 76,
"height": 76,
"rawWidth": 76,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7dc90fed-f3be-42d5-8579-74f35f451e04",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 66,
"height": 66,
"platformSettings": {},
"subMetas": {
"input_bg": {
"ver": "1.0.4",
"uuid": "dee360d4-ee85-47e0-8013-f07e0ab7da06",
"rawTextureUuid": "7dc90fed-f3be-42d5-8579-74f35f451e04",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 66,
"height": 66,
"rawWidth": 66,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -43,6 +43,32 @@
<button style="margin-left: 0px;" nz-button nzType="danger" (click)="deleteOptionBtnClick(item.picArr, i)">
x
</button>
<div style=" margin-left: 50px; margin-top: 90px;">
<span>颜色:</span>
<a nz-dropdown [nzDropdownMenu]="menu">
{{img?.colorData?.value || '选择颜色'}}
<i nz-icon nzType="down"></i>
</a>
<nz-dropdown-menu #menu="nzDropdownMenu">
<ul nz-menu nzSelectable>
<div nz-menu-item *ngFor="let color of colorArr;" align="center" (click)="clickColor(img,color)">
{{color.value}}
</div>
<!-- <li nz-menu-item>1st menu item</li>
<li nz-menu-item>1st menu item</li>
<li nz-menu-item>2nd menu item</li>
<li nz-menu-item>3rd menu item</li> -->
</ul>
</nz-dropdown-menu>
</div>
</div>
<div style="margin-top: 30px">
......@@ -53,6 +79,20 @@
</div>
</div>
<div>
<h4> 序号标注: </h4>
<app-custom-hot-zone
[bgItem]="item.bgItem"
[hotZoneItemArr]="item.hotZoneItemArr"
[customTypeGroupArr]="customTypeGroupArr"
(save)="saveHotZone(item, $event)"
>
</app-custom-hot-zone>
</div>
<div style="height: 30px;"></div>
......
......@@ -36,376 +36,377 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
customTypeGroupArr = [
{
name: '输入型文本',
name: '序号',
rect: true,
isShowPos: true,
// isShowPos: true,
labelArr: [
{type:"inputText", key: "title", title:"标题"},
{key: "key", title:"key"},
{key: "fontName", title:"字体"},
{key: "fontSize", title:"大小"},
{key: "fontColor", title:"颜色"},
// {type:"inputText", key: "title", title:"标题"},
// {key: "key", title:"key"},
// {key: "fontName", title:"字体"},
// {key: "fontSize", title:"大小"},
{key: "number", title:"序号"},
],
checkbox: {
title: '',
list: [
{label: '自动换行', value:'warp'}
]
}
},
{
name: '固定型文本',
text: true,
audio: true,
isShowPos: true,
labelArr: [
{key: "fontName", title:"字体"},
{key: "fontSize", title:"大小"},
{key: "fontColor", title:"颜色"},
]
},
{
name: '输入型图片',
rect: true,
isShowPos: true,
labelArr: [
{type:"inputPic", key: "title", title:"标题"},
{key: "key", title:"key", value:""},
]
},
{
name: '固定型图片',
pic: true,
audio: true,
anchorGroup: true,
isShowPos: true,
isCopy: true
// checkbox: {
// title: '',
// list: [
// {label: '自动换行', value:'warp'}
// ]
// }
},
{
name: '输入型动画',
rect: true,
isShowPos: true,
labelArr: [
{key: "title", title:"标题"},
]
},
// {
// name: '固定型文本',
// text: true,
// audio: true,
// isShowPos: true,
// labelArr: [
// {key: "fontName", title:"字体"},
// {key: "fontSize", title:"大小"},
// {key: "fontColor", title:"颜色"},
// ]
// },
// {
// name: '输入型图片',
// rect: true,
// isShowPos: true,
// labelArr: [
// {type:"inputPic", key: "title", title:"标题"},
// {key: "key", title:"key", value:""},
// ]
// },
// {
// name: '固定型图片',
// pic: true,
// audio: true,
// anchorGroup: true,
// isShowPos: true,
// },
// {
// name: '输入型动画',
// rect: true,
// isShowPos: true,
// labelArr: [
// {key: "title", title:"标题"},
// ]
// },
{
name: '固定型动画',
rect: true,
anima: true,
audio: true,
isShowPos: true,
},
{
name: '输入型音频',
rect: true,
isShowPos: true,
labelArr: [
{type:"inputAudio", key: "title", title:"标题"},
{key: "key", title:"key", value:""},
]
},
{
name: '固定型音频',
rect: true,
audio: true,
pic: true,
anim: true,
isShowPos: true,
},
// {
// name: '固定型动画',
// rect: true,
// anima: true,
// audio: true,
// isShowPos: true,
// },
// {
// name: '输入型音频',
// rect: true,
// isShowPos: true,
// labelArr: [
// {type:"inputAudio", key: "title", title:"标题"},
// {key: "key", title:"key", value:""},
// ]
// },
// {
// name: '固定型音频',
// rect: true,
// audio: true,
// pic: true,
// anim: true,
// isShowPos: true,
// },
{
name: '数据型文本',
data: true,
labelArr: [
{type:"inputText", key: "title", title:"标题"},
{key: "key", title:"key"},
]
},
{
name: '数据型图片',
// data: true,
labelArr: [
{type:"inputPic", key: "title", title:"标题", value:""},
{key: "key", title:"key", value:""},
]
},
// {
// name: '数据型文本',
// data: true,
// labelArr: [
// {type:"inputText", key: "title", title:"标题"},
// {key: "key", title:"key"},
// ]
// },
// {
// name: '数据型图片',
// // data: true,
// labelArr: [
// {type:"inputPic", key: "title", title:"标题", value:""},
// {key: "key", title:"key", value:""},
// ]
// },
{
name: '翻页按钮组',
rect: true,
audio: true,
// radio: {
// title: "按钮",
// list: [
// {label: '上一页', key: 'prev'},
// {label: '下一页', key: 'next'},
// {label: '翻页文本', key: 'text'},
// ]
// },
isShowPos: true,
},
{
name: '录音按钮组',
rect: true,
audio: true,
isShowPos: true,
},
{
name: '文字选项组',
rect: true,
picArr: [
{title: '默认图'},
{title: '正确图'},
{title: '错误图'},
],
labelArr: [
{type:"inputText", key: "title", title:"标题"},
{key: "key", title:"key"},
{key: "fontSize", title:"字体大小"},
{key: "fontName1", title:"普通字体"},
{key: "fontColor1", title:"普通颜色"},
{key: "fontName2", title:"正确字体"},
{key: "fontColor2", title:"正确颜色"},
{key: "fontName3", title:"错误字体"},
{key: "fontColor3", title:"错误颜色"},
],
checkbox: {
title: '',
list: [
{label: '适配矩形', key:'isScale'},
]
},
isOption: true,
isShowPos: true,
isCopy: true,
},
{
name: '图片选项组',
rect: true,
picArr: [
{title: '输入参考图'},
{title: '默认背景图'},
{title: '正确背景图'},
{title: '错误背景图'},
],
labelArr: [
{type:"inputPic", key: "title", title:"标题"},
{key: "key", title:"key"},
],
checkbox: {
title: '',
list: [
{label: '遮罩', key:'isMask'},
{label: '适配矩形', key:'isScale'},
]
},
isOption: true,
isShowPos: true,
isCopy: true,
},
{
name: '音频型动画',
rect: true,
anima: true,
labelArr: [
{type:"inputAudio", key: "title", title:"标题"},
{key: "key", title:"key"},
],
isShowPos: true,
isCopy: true,
},
// {
// name: '翻页按钮组',
// rect: true,
// audio: true,
// // radio: {
// // title: "按钮",
// // list: [
// // {label: '上一页', key: 'prev'},
// // {label: '下一页', key: 'next'},
// // {label: '翻页文本', key: 'text'},
// // ]
// // },
// isShowPos: true,
// },
// {
// name: '录音按钮组',
// rect: true,
// audio: true,
// isShowPos: true,
// },
// {
// name: '文字选项组',
// rect: true,
// picArr: [
// {title: '默认图'},
// {title: '正确图'},
// {title: '错误图'},
// ],
// labelArr: [
// {type:"inputText", key: "title", title:"标题"},
// {key: "key", title:"key"},
// {key: "fontSize", title:"字体大小"},
// {key: "fontName1", title:"普通字体"},
// {key: "fontColor1", title:"普通颜色"},
// {key: "fontName2", title:"正确字体"},
// {key: "fontColor2", title:"正确颜色"},
// {key: "fontName3", title:"错误字体"},
// {key: "fontColor3", title:"错误颜色"},
// ],
// checkbox: {
// title: '',
// list: [
// {label: '适配矩形', key:'isScale'},
// ]
// },
// isOption: true,
// isShowPos: true,
// isCopy: true,
// },
// {
// name: '图片选项组',
// rect: true,
// picArr: [
// {title: '输入参考图'},
// {title: '默认背景图'},
// {title: '正确背景图'},
// {title: '错误背景图'},
// ],
// labelArr: [
// {type:"inputPic", key: "title", title:"标题"},
// {key: "key", title:"key"},
// ],
// checkbox: {
// title: '',
// list: [
// {label: '遮罩', key:'isMask'},
// {label: '适配矩形', key:'isScale'},
// ]
// },
// isOption: true,
// isShowPos: true,
// isCopy: true,
// },
// {
// name: '音频型动画',
// rect: true,
// anima: true,
// labelArr: [
// {type:"inputAudio", key: "title", title:"标题"},
// {key: "key", title:"key"},
// ],
// isShowPos: true,
// isCopy: true,
// },
{
name: '选项效果组',
picArr: [
{title: '正确效果'},
{title: '错误效果'},
],
audioArr: [
{title: '正确音效'},
{title: '错误音效'},
],
anchorGroup: true,
isCopy: true,
},
{
name: '数组排列区',
rect: true,
checkbox: {
title: '',
list: [
{label: '横向排列', key:'hor'},
]
},
// select: {
// title: '类型',
// list:[
// {label: '拖拽开始区', value:'dragStart'},
// {label: '拖拽结束区', value:'dragEnd'},
// ]
// },
labelArr: [
{key: "id", title:"id"},
{key: "distanceX", title:"横向间距"},
{key: "distanceY", title:"纵向间距"},
],
isShowPos: true,
isShowSize: true,
isCopy: true,
},
{
name: '文字排列物',
rect: true,
picArr: [
{title: '默认图'},
{title: '正确图'},
{title: '错误图'},
],
labelArr: [
{type:"listInputText", key: "title", title:"标题"},
{key: "key", title:"key"},
{key: "id", title:"id"},
{key: "fontSize", title:"字体大小"},
{key: "fontName1", title:"普通字体"},
{key: "fontColor1", title:"普通颜色"},
{key: "fontName2", title:"正确字体"},
{key: "fontColor2", title:"正确颜色"},
{key: "fontName3", title:"错误字体"},
{key: "fontColor3", title:"错误颜色"},
],
radio: {
title: "文字位置",
list: [
{label: '开头', key: 'start'},
{label: '中间', key: 'middle'},
{label: '结尾', key: 'end'},
]
},
// checkbox: {
// title: '',
// list: [
// {label: '结束块', key:'isEndRect'},
// ]
// },
isShowPos: true,
isCopy: true,
},
{
name: '图片排列物',
rect: true,
picArr: [
{title: '输入参考图'},
{title: '默认背景图'},
{title: '正确背景图'},
{title: '错误背景图'},
],
labelArr: [
{type:"listInputPic", key: "title", title:"标题"},
{key: "key", title:"key"},
{key: "id", title:"id"},
],
checkbox: {
title: '',
list: [
{label: '遮罩', key:'isMask'},
// {label: '结束块', key:'isEndRect'},
]
},
isShowPos: true,
isCopy: true,
},
{
name: '拖拽文字组',
rect: true,
picArr: [
{title: '默认图'},
{title: '正确图'},
{title: '错误图'},
],
labelArr: [
{type:"listInputText", key: "title", title:"标题"},
{key: "key", title:"key"},
{key: "fontSize", title:"字体大小"},
{key: "fontName1", title:"普通字体"},
{key: "fontColor1", title:"普通颜色"},
{key: "fontName2", title:"正确字体"},
{key: "fontColor2", title:"正确颜色"},
{key: "fontName3", title:"错误字体"},
{key: "fontColor3", title:"错误颜色"},
],
checkbox: {
title: '',
list: [
{label: '结束块', key:'isEndRect'},
]
},
isShowPos: true,
isCopy: true,
},
{
name: '拖拽图片组',
rect: true,
picArr: [
{title: '输入参考图'},
{title: '默认背景图'},
{title: '正确背景图'},
{title: '错误背景图'},
],
labelArr: [
{type:"listInputPic", key: "title", title:"标题"},
{key: "key", title:"key"},
],
checkbox: {
title: '',
list: [
{label: '遮罩', key:'isMask'},
{label: '结束块', key:'isEndRect'},
]
},
isShowPos: true,
isCopy: true,
},
// {
// name: '选项效果组',
// picArr: [
// {title: '正确效果'},
// {title: '错误效果'},
// ],
// audioArr: [
// {title: '正确音效'},
// {title: '错误音效'},
// ],
// anchorGroup: true,
// isCopy: true,
// },
// {
// name: '数组排列区',
// rect: true,
// checkbox: {
// title: '',
// list: [
// {label: '横向排列', key:'hor'},
// ]
// },
// // select: {
// // title: '类型',
// // list:[
// // {label: '拖拽开始区', value:'dragStart'},
// // {label: '拖拽结束区', value:'dragEnd'},
// // ]
// // },
// labelArr: [
// {key: "id", title:"id"},
// {key: "distanceX", title:"横向间距"},
// {key: "distanceY", title:"纵向间距"},
// ],
// isShowPos: true,
// isShowSize: true,
// isCopy: true,
// },
// {
// name: '文字排列物',
// rect: true,
// picArr: [
// {title: '默认图'},
// {title: '正确图'},
// {title: '错误图'},
// ],
// labelArr: [
// {type:"listInputText", key: "title", title:"标题"},
// {key: "key", title:"key"},
// {key: "id", title:"id"},
// {key: "fontSize", title:"字体大小"},
// {key: "fontName1", title:"普通字体"},
// {key: "fontColor1", title:"普通颜色"},
// {key: "fontName2", title:"正确字体"},
// {key: "fontColor2", title:"正确颜色"},
// {key: "fontName3", title:"错误字体"},
// {key: "fontColor3", title:"错误颜色"},
// ],
// radio: {
// title: "文字位置",
// list: [
// {label: '开头', key: 'start'},
// {label: '中间', key: 'middle'},
// {label: '结尾', key: 'end'},
// ]
// },
// // checkbox: {
// // title: '',
// // list: [
// // {label: '结束块', key:'isEndRect'},
// // ]
// // },
// isShowPos: true,
// isCopy: true,
// },
// {
// name: '图片排列物',
// rect: true,
// picArr: [
// {title: '输入参考图'},
// {title: '默认背景图'},
// {title: '正确背景图'},
// {title: '错误背景图'},
// ],
// labelArr: [
// {type:"listInputPic", key: "title", title:"标题"},
// {key: "key", title:"key"},
// {key: "id", title:"id"},
// ],
// checkbox: {
// title: '',
// list: [
// {label: '遮罩', key:'isMask'},
// // {label: '结束块', key:'isEndRect'},
// ]
// },
// isShowPos: true,
// isCopy: true,
// },
// {
// name: '拖拽文字组',
// rect: true,
// picArr: [
// {title: '默认图'},
// {title: '正确图'},
// {title: '错误图'},
// ],
// labelArr: [
// {type:"listInputText", key: "title", title:"标题"},
// {key: "key", title:"key"},
// {key: "fontSize", title:"字体大小"},
// {key: "fontName1", title:"普通字体"},
// {key: "fontColor1", title:"普通颜色"},
// {key: "fontName2", title:"正确字体"},
// {key: "fontColor2", title:"正确颜色"},
// {key: "fontName3", title:"错误字体"},
// {key: "fontColor3", title:"错误颜色"},
// ],
// checkbox: {
// title: '',
// list: [
// {label: '结束块', key:'isEndRect'},
// ]
// },
// isShowPos: true,
// isCopy: true,
// },
// {
// name: '拖拽图片组',
// rect: true,
// picArr: [
// {title: '输入参考图'},
// {title: '默认背景图'},
// {title: '正确背景图'},
// {title: '错误背景图'},
// ],
// labelArr: [
// {type:"listInputPic", key: "title", title:"标题"},
// {key: "key", title:"key"},
// ],
// checkbox: {
// title: '',
// list: [
// {label: '遮罩', key:'isMask'},
// {label: '结束块', key:'isEndRect'},
// ]
// },
// isShowPos: true,
// isCopy: true,
// },
];
......@@ -487,6 +488,17 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
]
colorArr = [
{key: 'Red', value: '红色', code: '#FF6868'},
{key: 'Pink', value: '粉色', code: '#FFC6EC'},
{key: 'Purple', value: '紫色', code: '#9E00FF'},
{key: 'Yellow', value: '黄色', code: '#FAFF04'},
{key: 'Green', value: '绿色', code: '#AAF50A'},
{key: 'Blue', value: '蓝色', code: '#3988FF'},
{key: 'Orange', value: '橙色', code: '#FFBB55'},
]
constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef,
private message: NzMessageService) {
......@@ -825,7 +837,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
option.subOptArr.push({});
}
clickColor(img, colorData) {
console.log('color: ' , colorData);
img.colorData = colorData;
this.save();
}
......
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