Commit 88e32403 authored by yu's avatar yu

新增图片类型

parent 1bad1dfe
...@@ -105,31 +105,34 @@ ...@@ -105,31 +105,34 @@
"__id__": 131 "__id__": 131
}, },
{ {
"__id__": 133 "__id__": 140
}, },
{ {
"__id__": 135 "__id__": 153
}, },
{ {
"__id__": 153 "__id__": 171
}, },
{ {
"__id__": 155 "__id__": 181
}, },
{ {
"__id__": 169 "__id__": 183
},
{
"__id__": 197
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 177 "__id__": 205
}, },
{ {
"__id__": 178 "__id__": 206
}, },
{ {
"__id__": 179 "__id__": 207
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6015,7 +6018,7 @@ ...@@ -6015,7 +6018,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "1dd9d6bd-29e4-4815-972e-012a2320dfdc" "__uuid__": "3f24ea61-fd4e-47c5-92fb-101bf0bd77f7"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -6091,18 +6094,27 @@ ...@@ -6091,18 +6094,27 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "record_word", "_name": "layout_word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
"_active": true,
"_components": [
{ {
"__id__": 132 "__id__": 132
},
{
"__id__": 134
},
{
"__id__": 136
},
{
"__id__": 138
} }
], ],
"_active": false,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6114,8 +6126,8 @@ ...@@ -6114,8 +6126,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 850, "width": 1000,
"height": 69.3 "height": 360
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6126,8 +6138,8 @@ ...@@ -6126,8 +6138,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
95, 86.255,
0, 70.572,
0, 0,
0, 0,
0, 0,
...@@ -6149,55 +6161,20 @@ ...@@ -6149,55 +6161,20 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a2q85/CvlDQqY3j+MB/RQi" "_id": "f2u1azK35Gwq/l5FG1nnOT"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "1fh0hf05JP/5i6ufwXIIIr"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "question_word", "_name": "bg_text",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 131
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 134 "__id__": 133
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6211,8 +6188,8 @@ ...@@ -6211,8 +6188,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 850, "width": 911,
"height": 69.3 "height": 107
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6223,8 +6200,8 @@ ...@@ -6223,8 +6200,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
95, 0,
146.214, 75,
0, 0,
0, 0,
0, 0,
...@@ -6246,14 +6223,14 @@ ...@@ -6246,14 +6223,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "b7BdK3pndLe5NJ8QTkC5EA" "_id": "e0WShgpWhIZ45B2b3od/uf"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 133 "__id__": 132
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6263,48 +6240,35 @@ ...@@ -6263,48 +6240,35 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "", "_spriteFrame": {
"_N$string": "", "__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
}, },
"_isSystemFontUsed": false, "_type": 0,
"_spacingX": 0, "_sizeMode": 1,
"_batchAsBitmap": false, "_fillType": 0,
"_styleFlags": 0, "_fillCenter": {
"_underlineHeight": 0, "__type__": "cc.Vec2",
"_N$horizontalAlign": 1, "x": 0,
"_N$verticalAlign": 1, "y": 0
"_N$fontFamily": "Arial", },
"_N$overflow": 2, "_fillStart": 0,
"_N$cacheMode": 0, "_fillRange": 0,
"_id": "02Drw6z41A9qPET8CRXsWn" "_isTrimmedMode": true,
"_atlas": null,
"_id": "00Uedvra9OIKelcjaOeizG"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "layout_top", "_name": "bg_text",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 131
}, },
"_children": [ "_children": [],
{
"__id__": 136
},
{
"__id__": 139
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 151 "__id__": 135
},
{
"__id__": 152
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6318,8 +6282,8 @@ ...@@ -6318,8 +6282,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 911,
"height": 94 "height": 107
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6331,7 +6295,7 @@ ...@@ -6331,7 +6295,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
493, -72.15,
0, 0,
0, 0,
0, 0,
...@@ -6353,23 +6317,52 @@ ...@@ -6353,23 +6317,52 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "ad7QI1YydNoaDFdHhubKGc" "_id": "16xhgI7NlFpIqqjQJ75f1W"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7etkoeI9BDObL9oEEg6AYH"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "label_title", "_name": "record_word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 135 "__id__": 131
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 137 "__id__": 137
},
{
"__id__": 138
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6383,20 +6376,20 @@ ...@@ -6383,20 +6376,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90.53, "width": 850,
"height": 57.96 "height": 69.3
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-840, 8.745,
0, -70.572,
0, 0,
0, 0,
0, 0,
...@@ -6418,7 +6411,7 @@ ...@@ -6418,7 +6411,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "580ASwtcJOb4kHAieQgFvD" "_id": "a2q85/CvlDQqY3j+MB/RQi"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -6435,11 +6428,11 @@ ...@@ -6435,11 +6428,11 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_string": "标题", "_string": "",
"_N$string": "标题", "_N$string": "",
"_fontSize": 46, "_fontSize": 55,
"_lineHeight": 46, "_lineHeight": 55,
"_enableWrapText": true, "_enableWrapText": false,
"_N$file": { "_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1" "__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
}, },
...@@ -6451,56 +6444,22 @@ ...@@ -6451,56 +6444,22 @@
"_N$horizontalAlign": 1, "_N$horizontalAlign": 1,
"_N$verticalAlign": 1, "_N$verticalAlign": 1,
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 2,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "4017Tt6XNHDbKgw5lUHTeZ" "_id": "1fh0hf05JP/5i6ufwXIIIr"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 120,
"_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": "aeEbHdwC5J3Kjm8v5Pb9FC"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "layout_mouse", "_name": "question_word",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 135 "__id__": 131
}, },
"_children": [ "_children": [],
{
"__id__": 140
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 149 "__id__": 139
},
{
"__id__": 150
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6514,20 +6473,20 @@ ...@@ -6514,20 +6473,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 850,
"height": 0 "height": 69.3
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 1, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 8.745,
-493, 75.642,
0, 0,
0, 0,
0, 0,
...@@ -6549,31 +6508,1537 @@ ...@@ -6549,31 +6508,1537 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "653l8hjqBPpbwg26KpAFhg" "_id": "b7BdK3pndLe5NJ8QTkC5EA"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Label",
"_name": "img", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "node": {
"__id__": 139 "__id__": 138
}, },
"_children": [ "_enabled": true,
{ "_materials": [
"__id__": 141 {
}, "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
{ }
"__id__": 143 ],
}, "_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "02Drw6z41A9qPET8CRXsWn"
},
{
"__type__": "cc.Node",
"_name": "layout_pic",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 141
},
{
"__id__": 143
},
{ {
"__id__": 145 "__id__": 145
}, },
{ {
"__id__": 147 "__id__": 147
},
{
"__id__": 149
},
{
"__id__": 151
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1000,
"height": 360
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
86.255,
70.572,
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": "dfdOz8tR5HzaNMNkSWrF+Z"
},
{
"__type__": "cc.Node",
"_name": "bg_text",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 142
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
143.363,
75,
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": "6c6r9+14tJYogMxU1A54kR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 141
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4dFMRc4OVEDYUp4Ja4vvOc"
},
{
"__type__": "cc.Node",
"_name": "bg_text",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 144
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
143.363,
-72.15,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a2B00ZQrlIpIk9OYEcLvCX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 143
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9143143-15c2-4f19-ab93-79f11b0fde4a"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6efRymVRhFn51pKm7ph3um"
},
{
"__type__": "cc.Node",
"_name": "record_word",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 146
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 550,
"height": 69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
144.612,
-69.572,
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": "7d0otOQT9L4ZEHSVjAQ4GM"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 145
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "15UGNRektJobX29gzGofX4"
},
{
"__type__": "cc.Node",
"_name": "question_word",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 148
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 550,
"height": 69.3
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
144.612,
76.642,
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": "3bo3RmPdNBvJmU57oGoY//"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 55,
"_lineHeight": 55,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "84a9FwK31EvpgLLEdaZmEd"
},
{
"__type__": "cc.Node",
"_name": "pic_box",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 150
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 252,
"height": 252
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-318.584,
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": "4bj61FgcNLE4FNfuIQQJc/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 149
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c6d5765b-730f-4f41-b95e-8241655ad3a2"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "c5UEEGI7JBRqWYSe9EH0Jw"
},
{
"__type__": "cc.Node",
"_name": "pic",
"_objFlags": 0,
"_parent": {
"__id__": 140
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 152
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 242,
"height": 242
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-318.332,
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": "d4hn+AXSpHbKLA83ciBE2e"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 151
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5byeGhi5lJzp4zZBNuhL/d"
},
{
"__type__": "cc.Node",
"_name": "layout_top",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 154
},
{
"__id__": 157
}
],
"_active": true,
"_components": [
{
"__id__": 169
},
{
"__id__": 170
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 94
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
493,
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": "ad7QI1YydNoaDFdHhubKGc"
},
{
"__type__": "cc.Node",
"_name": "label_title",
"_objFlags": 0,
"_parent": {
"__id__": 153
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 155
},
{
"__id__": 156
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 90.53,
"height": 57.96
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-840,
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": "580ASwtcJOb4kHAieQgFvD"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "标题",
"_N$string": "标题",
"_fontSize": 46,
"_lineHeight": 46,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "6ffefcae-12ff-4a0c-96ee-a733506360f1"
},
"_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": "4017Tt6XNHDbKgw5lUHTeZ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 120,
"_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": "aeEbHdwC5J3Kjm8v5Pb9FC"
},
{
"__type__": "cc.Node",
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 153
},
"_children": [
{
"__id__": 158
}
],
"_active": true,
"_components": [
{
"__id__": 167
},
{
"__id__": 168
}
],
"_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": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-493,
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": "653l8hjqBPpbwg26KpAFhg"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 157
},
"_children": [
{
"__id__": 159
},
{
"__id__": 161
},
{
"__id__": 163
},
{
"__id__": 165
}
],
"_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": "9b8EZ8e3hK+7fuCGMCHFL3"
},
{
"__type__": "cc.Node",
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"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": "4fet/xI55MFIbVdcOdFLlR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b60b5ec2-365a-4e92-8efb-a6752d4c96dd"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "d1GxbLOFVMoZjDnKgn9YZl"
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 162
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"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": "2cpSPmAW1KXbHna2OmR/fz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 161
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2e30c82-5b8f-45fe-aa5e-6a0e6e8646aa"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "f2wM3O0WtAAbIqUNVhxIo4"
},
{
"__type__": "cc.Node",
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 164
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 150
},
"_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": "c5Zsgh6WpFGIHpd2I5zAXW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 163
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f4ddb69d-5089-4a2d-b0fd-1002f178ca34"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "675FBpAsRNxYhlirgQxWAb"
},
{
"__type__": "cc.Node",
"_name": "star_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"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": "12PydWrvBAPJGKT6mL0/Ww"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "81ede1c0-8cd6-4e2c-a432-1ff8b49d864c"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "79yjJFpSRA1aMO3VoxqFwk"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 540,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "9f5sfYn1dOVbnLoe8lBcsK"
},
{
"__type__": "85458/66cdENrZQhCqeYyUf",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 157
},
"_enabled": true,
"position": {
"__type__": "cc.Vec2",
"x": 650,
"y": 495
},
"bigStarClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"starCountClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"_id": "55ikzBt/RDXbj9S9ZjH7e8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "de68101c-0ee4-4cd7-81f2-6d04ce62b462"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "e1gEmi1pBOiqL2v9zm12XF"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 41,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1920,
"_originalHeight": 0,
"_id": "54N7GujG5CYbAesBetw49x"
},
{
"__type__": "cc.Node",
"_name": "layout_img",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 172
},
{
"__id__": 174
},
{
"__id__": 176
},
{
"__id__": 178
} }
], ],
"_active": false, "_active": false,
"_components": [], "_components": [
{
"__id__": 180
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -6585,8 +8050,8 @@ ...@@ -6585,8 +8050,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 1920,
"height": 0 "height": 1080
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6620,35 +8085,35 @@ ...@@ -6620,35 +8085,35 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "9b8EZ8e3hK+7fuCGMCHFL3" "_id": "82kIndH1ZNM6++8bdCKT29"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "star_bg", "_name": "New Sprite(Splash)",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 171
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 173
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 120,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 54, "width": 1920,
"height": 66 "height": 1080
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6682,14 +8147,14 @@ ...@@ -6682,14 +8147,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "4fet/xI55MFIbVdcOdFLlR" "_id": "3159941cFJvYARPC+XaFmC"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 141 "__id__": 172
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6700,10 +8165,10 @@ ...@@ -6700,10 +8165,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "b60b5ec2-365a-4e92-8efb-a6752d4c96dd" "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 2, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6712,22 +8177,22 @@ ...@@ -6712,22 +8177,22 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "d1GxbLOFVMoZjDnKgn9YZl" "_id": "f0n37e2mJBaLtvOSCX4PMg"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "star", "_name": "small_pic",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 171
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 144 "__id__": 175
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6741,8 +8206,8 @@ ...@@ -6741,8 +8206,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 54, "width": 242,
"height": 66 "height": 242
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6753,8 +8218,8 @@ ...@@ -6753,8 +8218,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -232.077,
0, 70.572,
0, 0,
0, 0,
0, 0,
...@@ -6776,14 +8241,14 @@ ...@@ -6776,14 +8241,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "2cpSPmAW1KXbHna2OmR/fz" "_id": "97cKx92mFBL4f9cvnDFP5e"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 143 "__id__": 174
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6793,11 +8258,9 @@ ...@@ -6793,11 +8258,9 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": null,
"__uuid__": "f2e30c82-5b8f-45fe-aa5e-6a0e6e8646aa"
},
"_type": 0, "_type": 0,
"_sizeMode": 2, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6806,22 +8269,22 @@ ...@@ -6806,22 +8269,22 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "f2wM3O0WtAAbIqUNVhxIo4" "_id": "3dK+h1zsRI2qnjh8nxPgkZ"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_bigstar", "_name": "big_pic",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 171
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 146 "__id__": 177
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6835,8 +8298,8 @@ ...@@ -6835,8 +8298,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 150, "width": 720,
"height": 150 "height": 720
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6870,14 +8333,14 @@ ...@@ -6870,14 +8333,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c5Zsgh6WpFGIHpd2I5zAXW" "_id": "500V+XWGRF4quC2fVIuTHd"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 176
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6887,11 +8350,9 @@ ...@@ -6887,11 +8350,9 @@
], ],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": null,
"__uuid__": "f4ddb69d-5089-4a2d-b0fd-1002f178ca34"
},
"_type": 0, "_type": 0,
"_sizeMode": 2, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6900,22 +8361,22 @@ ...@@ -6900,22 +8361,22 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "675FBpAsRNxYhlirgQxWAb" "_id": "679C+MmoxHhY3KmWoz92ww"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "star_wrong", "_name": "btn_close",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 171
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 148 "__id__": 179
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6929,8 +8390,8 @@ ...@@ -6929,8 +8390,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 54, "width": 60,
"height": 66 "height": 60
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -6941,8 +8402,8 @@ ...@@ -6941,8 +8402,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 407.244,
0, 358.318,
0, 0,
0, 0,
0, 0,
...@@ -6964,94 +8425,14 @@ ...@@ -6964,94 +8425,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "12PydWrvBAPJGKT6mL0/Ww" "_id": "daZESUOshId4xi2FSNKijs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 147
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "81ede1c0-8cd6-4e2c-a432-1ff8b49d864c"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "79yjJFpSRA1aMO3VoxqFwk"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top": 540,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "9f5sfYn1dOVbnLoe8lBcsK"
},
{
"__type__": "85458/66cdENrZQhCqeYyUf",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 139
},
"_enabled": true,
"position": {
"__type__": "cc.Vec2",
"x": 650,
"y": 495
},
"bigStarClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"starCountClip": {
"__uuid__": "96b233f5-2d7f-442a-bb1e-f3fe807aa2be"
},
"_id": "55ikzBt/RDXbj9S9ZjH7e8"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 135 "__id__": 178
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7062,10 +8443,10 @@ ...@@ -7062,10 +8443,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "de68101c-0ee4-4cd7-81f2-6d04ce62b462" "__uuid__": "61e4ee90-b002-4136-a69e-d680cb74b360"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 2, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -7074,21 +8455,21 @@ ...@@ -7074,21 +8455,21 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "e1gEmi1pBOiqL2v9zm12XF" "_id": "53OntbAolNSKe9JGV5+Ezq"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 135 "__id__": 171
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 41, "_alignFlags": 45,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 0, "_top": 0,
...@@ -7102,8 +8483,8 @@ ...@@ -7102,8 +8483,8 @@
"_isAbsHorizontalCenter": true, "_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 1920, "_originalWidth": 1920,
"_originalHeight": 0, "_originalHeight": 1080,
"_id": "54N7GujG5CYbAesBetw49x" "_id": "acAyZPWvBFt5TtqfXH7akn"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -7116,7 +8497,7 @@ ...@@ -7116,7 +8497,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 154 "__id__": 182
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7172,7 +8553,7 @@ ...@@ -7172,7 +8553,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 153 "__id__": 181
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7208,22 +8589,22 @@ ...@@ -7208,22 +8589,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 156 "__id__": 184
}, },
{ {
"__id__": 160 "__id__": 188
}, },
{ {
"__id__": 162 "__id__": 190
}, },
{ {
"__id__": 165 "__id__": 193
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 168 "__id__": 196
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7279,19 +8660,19 @@ ...@@ -7279,19 +8660,19 @@
"_name": "New Sprite(Splash)", "_name": "New Sprite(Splash)",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 155 "__id__": 183
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 157 "__id__": 185
}, },
{ {
"__id__": 158 "__id__": 186
}, },
{ {
"__id__": 159 "__id__": 187
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7347,7 +8728,7 @@ ...@@ -7347,7 +8728,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 156 "__id__": 184
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7379,7 +8760,7 @@ ...@@ -7379,7 +8760,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 156 "__id__": 184
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -7406,7 +8787,7 @@ ...@@ -7406,7 +8787,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 156 "__id__": 184
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -7474,13 +8855,13 @@ ...@@ -7474,13 +8855,13 @@
"_name": "finish_db", "_name": "finish_db",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 155 "__id__": 183
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 161 "__id__": 189
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7536,7 +8917,7 @@ ...@@ -7536,7 +8917,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 160 "__id__": 188
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7576,16 +8957,16 @@ ...@@ -7576,16 +8957,16 @@
"_name": "btn_again", "_name": "btn_again",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 155 "__id__": 183
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 163 "__id__": 191
}, },
{ {
"__id__": 164 "__id__": 192
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7641,7 +9022,7 @@ ...@@ -7641,7 +9022,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 162 "__id__": 190
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7673,7 +9054,7 @@ ...@@ -7673,7 +9054,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 162 "__id__": 190
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -7741,16 +9122,16 @@ ...@@ -7741,16 +9122,16 @@
"_name": "btn_next", "_name": "btn_next",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 155 "__id__": 183
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 166 "__id__": 194
}, },
{ {
"__id__": 167 "__id__": 195
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7806,7 +9187,7 @@ ...@@ -7806,7 +9187,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 165 "__id__": 193
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7838,7 +9219,7 @@ ...@@ -7838,7 +9219,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 165 "__id__": 193
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -7906,7 +9287,7 @@ ...@@ -7906,7 +9287,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 155 "__id__": 183
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -7937,16 +9318,16 @@ ...@@ -7937,16 +9318,16 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 170 "__id__": 198
}, },
{ {
"__id__": 174 "__id__": 202
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 176 "__id__": 204
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8002,19 +9383,19 @@ ...@@ -8002,19 +9383,19 @@
"_name": "New Sprite(Splash)", "_name": "New Sprite(Splash)",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 169 "__id__": 197
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 171 "__id__": 199
}, },
{ {
"__id__": 172 "__id__": 200
}, },
{ {
"__id__": 173 "__id__": 201
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8070,7 +9451,7 @@ ...@@ -8070,7 +9451,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 170 "__id__": 198
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8102,7 +9483,7 @@ ...@@ -8102,7 +9483,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 170 "__id__": 198
}, },
"_enabled": true, "_enabled": true,
"_normalMaterial": null, "_normalMaterial": null,
...@@ -8170,7 +9551,7 @@ ...@@ -8170,7 +9551,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 170 "__id__": 198
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -8197,13 +9578,13 @@ ...@@ -8197,13 +9578,13 @@
"_name": "start_ske", "_name": "start_ske",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 169 "__id__": 197
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 175 "__id__": 203
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8259,7 +9640,7 @@ ...@@ -8259,7 +9640,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 174 "__id__": 202
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -8295,7 +9676,7 @@ ...@@ -8295,7 +9676,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 169 "__id__": 197
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
...@@ -8370,10 +9751,10 @@ ...@@ -8370,10 +9751,10 @@
}, },
"_enabled": true, "_enabled": true,
"layout_start": { "layout_start": {
"__id__": 169 "__id__": 197
}, },
"layout_finish": { "layout_finish": {
"__id__": 155 "__id__": 183
}, },
"btn_laba": { "btn_laba": {
"__id__": 57 "__id__": 57
...@@ -8387,15 +9768,18 @@ ...@@ -8387,15 +9768,18 @@
"img_record": { "img_record": {
"__id__": 68 "__id__": 68
}, },
"record_word": { "layout_pic": {
"__id__": 131 "__id__": 140
}, },
"question_word": { "layout_word": {
"__id__": 133 "__id__": 131
}, },
"box2d": { "box2d": {
"__id__": 80 "__id__": 80
}, },
"layout_img": {
"__id__": 171
},
"_id": "45CXemIxhH4YIC4kX1oyBq" "_id": "45CXemIxhH4YIC4kX1oyBq"
} }
] ]
\ No newline at end of file
...@@ -37,11 +37,13 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -37,11 +37,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
@property(cc.Node) @property(cc.Node)
img_record: cc.Node = null; img_record: cc.Node = null;
@property(cc.Node) @property(cc.Node)
record_word: cc.Node = null; layout_pic: cc.Node = null;
@property(cc.Node) @property(cc.Node)
question_word: cc.Node = null; layout_word: cc.Node = null;
@property(cc.Node) @property(cc.Node)
box2d: cc.Node = null; box2d: cc.Node = null;
@property(cc.Node)
layout_img: cc.Node = null;
onLoadEnd() { onLoadEnd() {
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考 // TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
...@@ -69,6 +71,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -69,6 +71,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.btn_record.on(cc.Node.EventType.TOUCH_END, this.onRecord, this); this.btn_record.on(cc.Node.EventType.TOUCH_END, this.onRecord, this);
this.btn_laba.on(cc.Node.EventType.TOUCH_END, this.showLaba, this); this.btn_laba.on(cc.Node.EventType.TOUCH_END, this.showLaba, this);
this.img_record.on(cc.Node.EventType.TOUCH_END, this.onTouchRecordEnd, this); this.img_record.on(cc.Node.EventType.TOUCH_END, this.onTouchRecordEnd, this);
cc.find("btn_close", this.layout_img).on(cc.Node.EventType.TOUCH_END, this.onCloseTips, this);
pg.event.on("game_start", () => { pg.event.on("game_start", () => {
this.gameStart(); this.gameStart();
}); });
...@@ -88,7 +91,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -88,7 +91,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
gameStart(isPlayAudio = true) { gameStart(isPlayAudio = true) {
Game.getIns().state = GAME_STATE.RUNNING; Game.getIns().state = GAME_STATE.RUNNING;
this.showQuestion(); this.showQuestion(isPlayAudio);
isPlayAudio && this.showLaba(); isPlayAudio && this.showLaba();
} }
...@@ -98,8 +101,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -98,8 +101,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
zjz_ske.active = false; zjz_ske.active = false;
this.playLocalAudio("again"); this.playLocalAudio("again");
this.initData(); this.initData();
this.record_word.getComponent(cc.Label).string = ""; // this.record_word.getComponent(cc.Label).string = "";
this.question_word.getComponent(cc.Label).string = ""; // this.question_word.getComponent(cc.Label).string = "";
pg.event.emit("mouse_10_num", Game.getIns().total); pg.event.emit("mouse_10_num", Game.getIns().total);
pg.event.emit('box2d_init', Game.getIns().getTotalPageNum()); pg.event.emit('box2d_init', Game.getIns().getTotalPageNum());
this.gameStart(); this.gameStart();
...@@ -111,14 +114,84 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -111,14 +114,84 @@ export default class SceneComponent extends MyCocosSceneComponent {
// let item = this.node.getChildByName("item"); // let item = this.node.getChildByName("item");
// item.y -= 5; // item.y -= 5;
} }
private showQuestion(showImg = true) {
private showQuestion() {
let question = Game.getIns().getCurrentPage(); let question = Game.getIns().getCurrentPage();
this.question_word.getComponent(cc.Label).string = question.text; if (question.type == "txt") {
let question_word = cc.find("question_word", this.layout_word);
question_word.getComponent(cc.Label).string = question.text;
let record_word = cc.find("record_word", this.layout_word);
record_word.getComponent(cc.Label).string = "";
this.layout_word.active = true;
this.layout_pic.active = false;
} else {
let question_word = cc.find("question_word", this.layout_pic);
question_word.getComponent(cc.Label).string = question.text;
let record_word = cc.find("record_word", this.layout_pic);
record_word.getComponent(cc.Label).string = "";
let pic = cc.find("pic", this.layout_pic);
pg.view.setNetImg(pic, question.picUrl, { w: 242, h: 242 });
this.layout_word.active = false;
this.layout_pic.active = true;
pic.on(cc.Node.EventType.TOUCH_END, this.showBigPic, this);
showImg && this.showLayoutImg();
}
} }
private showRecordWord(word) {
let question = Game.getIns().getCurrentPage();
if (question.type == "txt") {
let record_word = cc.find("record_word", this.layout_word);
record_word.getComponent(cc.Label).string = word || "";
} else {
let record_word = cc.find("record_word", this.layout_pic);
record_word.getComponent(cc.Label).string = word || "";
}
}
private showLayoutImg(hide = true) {
let question = Game.getIns().getCurrentPage();
if (question.type != "img") return;
let big_pic = cc.find("big_pic", this.layout_img);
big_pic.setPosition(0, 0);
big_pic.scale = 1;
pg.view.setNetImg(big_pic, question.picUrl, { w: 720, h: 720 });
this.layout_img.active = true;
hide && this.tipsActionHide();
}
private tipsActionHide(isAction = true) {
let big_pic = cc.find("big_pic", this.layout_img);
let small_pic = cc.find("small_pic", this.layout_img);
let scaleX = small_pic.width / big_pic.width;
let scaleY = small_pic.height / big_pic.height;
let t = isAction ? 4 : 0;
let btn = cc.find("btn_close", this.layout_img);
btn.active = false;
cc.tween(big_pic).delay(t).to(0.3, { scaleX: scaleX, scaleY: scaleY, x: small_pic.x, y: small_pic.y })
.call(() => {
this.layout_img.active = false;
})
.start();
}
private showBigPic() {
let big_pic = cc.find("big_pic", this.layout_img);
let small_pic = cc.find("small_pic", this.layout_img);
let scaleX = small_pic.width / big_pic.width;
let scaleY = small_pic.height / big_pic.height;
big_pic.x = small_pic.x;
big_pic.y = small_pic.y;
small_pic.scaleX = scaleX;
small_pic.scaleY = scaleY;
this.layout_img.active = true;
let btn = cc.find("btn_close", this.layout_img);
cc.tween(big_pic).to(0.3, { scaleX: 1, scaleY: 1, x: 0, y: 0 })
.call(() => {
btn.active = true;
})
.start();
}
private onCloseTips() {
this.tipsActionHide(false);
}
private showTip(show = true) { private showTip(show = true) {
let tip_bg = cc.find("btn_record/tip_bg", this.node); let tip_bg = cc.find("btn_record/tip_bg", this.node);
...@@ -224,7 +297,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -224,7 +297,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.recordIntervalId) clearInterval(this.recordIntervalId); if (this.recordIntervalId) clearInterval(this.recordIntervalId);
this.btn_record.active = true; this.btn_record.active = true;
this.img_record.active = false; this.img_record.active = false;
this.record_word.getComponent(cc.Label).string = data.text; this.showRecordWord(data.text)
if (data.text == Game.getIns().getCurrentPage().word) { if (data.text == Game.getIns().getCurrentPage().word) {
this.playLocalAudio("right").then(() => { this.playLocalAudio("right").then(() => {
this.playLocalAudio("diaoluo"); this.playLocalAudio("diaoluo");
...@@ -288,7 +361,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -288,7 +361,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.event.emit("box2d_roll") pg.event.emit("box2d_roll")
} else { } else {
this.playLocalAudio("next"); this.playLocalAudio("next");
this.record_word.getComponent(cc.Label).string = ""; this.showRecordWord("")
this.gameStart(); this.gameStart();
} }
} }
...@@ -332,12 +405,14 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -332,12 +405,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.tween(start_ske).delay(1).by(0.5, { x: 500 }).call(() => { cc.tween(start_ske).delay(1).by(0.5, { x: 500 }).call(() => {
this.layout_start.active = false; this.layout_start.active = false;
this.showLaba(true); this.showLaba(true);
this.showLayoutImg();
}).start(); }).start();
}); });
}).start(); }).start();
} else { } else {
this.layout_start.active = false; this.layout_start.active = false;
this.showLaba(true); this.showLaba(true);
this.showLayoutImg();
} }
}) })
} }
......
...@@ -45,16 +45,18 @@ export class Item { ...@@ -45,16 +45,18 @@ export class Item {
public audio; public audio;
public duration; public duration;
public optionList; public optionList;
public bgItem;
public hotZoneItemArr;
public word; public word;
public picUrl;
public type;
public text: string; public text: string;
public isClick: boolean; public isClick: boolean;
constructor(data, page) { constructor(data, page) {
this.audio = data.audio; this.audio = data.audio;
this.text = data.text; this.text = data.text;
this.word = data.word; this.word = data.word;
this.type = data.type;
this.duration = data.time; this.duration = data.time;
this.picUrl = data.image;
this.page = page; this.page = page;
// this.optionList = data.options.map((o, idx) => { // this.optionList = data.options.map((o, idx) => {
......
...@@ -23,13 +23,13 @@ export const defaultData = ...@@ -23,13 +23,13 @@ export const defaultData =
"type": "img", "type": "img",
"audio": "http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3", "audio": "http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3",
"text": "what are you kettle ?", "text": "what are you kettle ?",
"image": "", "image": "http://staging-teach.cdn.ireadabc.com/95c760f287a3c55bacc6c12ea47259ea.jpg",
"time": 10, "time": 10,
"audioName": "cape.mp3", "audioName": "cape.mp3",
"word": "oh no" "word": "oh no"
}, },
{ {
"type": "img", "type": "txt",
"audio": "http://staging-teach.cdn.ireadabc.com/944ae51b57fb9390dd03104d9651e5f4_l.mp3", "audio": "http://staging-teach.cdn.ireadabc.com/944ae51b57fb9390dd03104d9651e5f4_l.mp3",
"text": "what your name ?", "text": "what your name ?",
"image": "", "image": "",
...@@ -38,7 +38,7 @@ export const defaultData = ...@@ -38,7 +38,7 @@ export const defaultData =
"word": "join" "word": "join"
}, },
{ {
"type": "img", "type": "txt",
"audio": "http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3", "audio": "http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3",
"text": "what are you disdain?", "text": "what are you disdain?",
"image": "", "image": "",
......
{
"ver": "2.3.5",
"uuid": "f2e561fb-156c-4edc-9137-5dc6ef1b3f7f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1096,
"height": 424,
"platformSettings": {},
"subMetas": {
"bg3": {
"ver": "1.0.4",
"uuid": "3f24ea61-fd4e-47c5-92fb-101bf0bd77f7",
"rawTextureUuid": "f2e561fb-156c-4edc-9137-5dc6ef1b3f7f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1096,
"height": 424,
"rawWidth": 1096,
"rawHeight": 424,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cb5ae762-1e06-4f54-b95a-ee1b84c36a7c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 911,
"height": 107,
"platformSettings": {},
"subMetas": {
"bg_text": {
"ver": "1.0.4",
"uuid": "d9143143-15c2-4f19-ab93-79f11b0fde4a",
"rawTextureUuid": "cb5ae762-1e06-4f54-b95a-ee1b84c36a7c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 911,
"height": 107,
"rawWidth": 911,
"rawHeight": 107,
"borderTop": 30,
"borderBottom": 30,
"borderLeft": 60,
"borderRight": 60,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1f5ec521-15a2-49f0-8237-747efff6f487",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 60,
"height": 60,
"platformSettings": {},
"subMetas": {
"btn_close": {
"ver": "1.0.4",
"uuid": "61e4ee90-b002-4136-a69e-d680cb74b360",
"rawTextureUuid": "1f5ec521-15a2-49f0-8237-747efff6f487",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 60,
"height": 60,
"rawWidth": 60,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "846774ad-b6a9-4f31-9ac7-6ccc8d505d6e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 250,
"height": 250,
"platformSettings": {},
"subMetas": {
"pic": {
"ver": "1.0.4",
"uuid": "38b63c37-4f15-441d-b599-8804e758545f",
"rawTextureUuid": "846774ad-b6a9-4f31-9ac7-6ccc8d505d6e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 250,
"height": 250,
"rawWidth": 250,
"rawHeight": 250,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "da449a78-119f-43a0-970e-bae114518b2a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 252,
"height": 252,
"platformSettings": {},
"subMetas": {
"pic_box": {
"ver": "1.0.4",
"uuid": "c6d5765b-730f-4f41-b95e-8241655ad3a2",
"rawTextureUuid": "da449a78-119f-43a0-970e-bae114518b2a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 252,
"height": 252,
"rawWidth": 252,
"rawHeight": 252,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -110,7 +110,21 @@ ...@@ -110,7 +110,21 @@
题目{{i+1}} 题目{{i+1}}
</div> </div>
<div style="margin-top: 20px;">
<div class="word-type-option-title">
题目类型:
</div>
<div style="margin-top: 5px;">
<nz-radio-group [(ngModel)]="question.type" (ngModelChange)="ngChange()">
<label nz-radio nzValue="img">
<span [style]="{color:question.type=='img' ? '#169BD5':'#000'}">图片</span>
</label>
<label nz-radio nzValue="txt">
<span [style]="{color:question.type=='txt' ? '#169BD5':'#000'}">文字</span>
</label>
</nz-radio-group>
</div>
</div>
<div class="option-text"> <div class="option-text">
<div class="word-input-title"> <div class="word-input-title">
<span style="color:red;margin-left:-15px">* </span> <span style="color:red;margin-left:-15px">* </span>
...@@ -144,13 +158,13 @@ ...@@ -144,13 +158,13 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div> <div *ngIf="question.type=='img'">
<span style="font-size: 20px;">标题图片: </span> <span style="font-size: 20px;">标题图片: </span>
<div style="width:300px"> <div style="width:300px">
<app-upload-image-with-preview [picUrl]="question.image" <app-upload-image-with-preview [picUrl]="question.image"
(imageUploaded)="onImageUploadSuccess($event,'image',question)"></app-upload-image-with-preview> (imageUploaded)="onImageUploadSuccess($event,'image',question)"></app-upload-image-with-preview>
</div> </div>
</div> --> </div>
<div class="option-time"> <div class="option-time">
<div class="word-input-title"> <div class="word-input-title">
<span>录音时间: </span> <span>录音时间: </span>
...@@ -160,15 +174,15 @@ ...@@ -160,15 +174,15 @@
</div> </div>
<div style="margin:0 20px"> <div style="margin:0 20px">
<button class="btn-red" nz-button nzType="default" nzDanger (click)="removeQuestion(i)">删除题目</button> <button class="btn-red" nz-button nzType="default" nzDanger (click)="removeQuestion(i)">删除题目</button>
<button class="btn-blue" style="margin-top: 10px;" nz-button <button class="btn-blue" style="margin-top: 10px;" nz-button nzType="default" nzDanger
nzType="default" nzDanger (click)="copyQuestion(i)">复制题目</button> (click)="copyQuestion(i)">复制题目</button>
</div> </div>
</div> </div>
</div> </div>
<div style="margin-top: 20px;"> <div style="margin-top: 20px;">
<button class="btn-blue" style="width: 1000px; height: 50px;" nz-button <button class="btn-blue" style="width: 1000px; height: 50px;" nz-button nzType="default" nzDanger
nzType="default" nzDanger (click)="addQuestion()">+增加题目</button> (click)="addQuestion()">+增加题目</button>
</div> </div>
</div> </div>
......
...@@ -52,7 +52,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -52,7 +52,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
addQuestion() { addQuestion() {
// if (this.item.questions.length == 6) return; // if (this.item.questions.length == 6) return;
this.item.questions.push({ this.item.questions.push({
type: 'img', type: 'txt',
audio: '', audio: '',
text: '', text: '',
image: '', image: '',
...@@ -97,4 +97,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -97,4 +97,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
console.log(e); console.log(e);
this.save(); this.save();
} }
ngChange() {
this.save();
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment