Commit aa8f9efe authored by Tt's avatar Tt

功能完成

parent da91fda0
...@@ -7,17 +7,12 @@ const { ccclass, property } = cc._decorator; ...@@ -7,17 +7,12 @@ const { ccclass, property } = cc._decorator;
@ccclass @ccclass
export default class ImgAuto extends cc.Component { export default class ImgAuto extends cc.Component {
private img_npc_voice: cc.Node;
onLoad() { onLoad() {
this.initView();
this.initEvent(); this.initEvent();
} }
protected onDestroy(): void { protected onDestroy(): void {
this.unscheduleAllCallbacks(); this.unscheduleAllCallbacks();
} }
initView() {
this.img_npc_voice = this.node;
}
initEvent() { initEvent() {
pg.event.on('img_voice_play_voice_start', () => { pg.event.on('img_voice_play_voice_start', () => {
this.playVoiceStart(); this.playVoiceStart();
...@@ -34,10 +29,10 @@ export default class ImgAuto extends cc.Component { ...@@ -34,10 +29,10 @@ export default class ImgAuto extends cc.Component {
} }
playVoiceRunning() { playVoiceRunning() {
this.playVoiceCount++; this.playVoiceCount++;
if (!this.img_npc_voice) return; if (!this.node) return;
let p1 = this.img_npc_voice.getChildByName('p1') let p1 = this.node.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2') let p2 = this.node.getChildByName('p2')
let p3 = this.img_npc_voice.getChildByName('p3') let p3 = this.node.getChildByName('p3')
p1.active = this.playVoiceCount % 3 == 0; p1.active = this.playVoiceCount % 3 == 0;
p2.active = this.playVoiceCount % 3 == 1; p2.active = this.playVoiceCount % 3 == 1;
p3.active = this.playVoiceCount % 3 == 2; p3.active = this.playVoiceCount % 3 == 2;
...@@ -45,9 +40,9 @@ export default class ImgAuto extends cc.Component { ...@@ -45,9 +40,9 @@ export default class ImgAuto extends cc.Component {
playVoiceEnd() { playVoiceEnd() {
this.unschedule(this.playVoiceRunning) this.unschedule(this.playVoiceRunning)
this.playVoiceCount = 0; this.playVoiceCount = 0;
let p1 = this.img_npc_voice.getChildByName('p1') let p1 = this.node.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2') let p2 = this.node.getChildByName('p2')
let p3 = this.img_npc_voice.getChildByName('p3') let p3 = this.node.getChildByName('p3')
p1.active = true; p1.active = true;
p2.active = false; p2.active = false;
p3.active = false; p3.active = false;
......
...@@ -97,30 +97,18 @@ ...@@ -97,30 +97,18 @@
}, },
{ {
"__id__": 114 "__id__": 114
},
{
"__id__": 136
},
{
"__id__": 165
},
{
"__id__": 173
},
{
"__id__": 174
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 192 "__id__": 134
}, },
{ {
"__id__": 193 "__id__": 135
}, },
{ {
"__id__": 194 "__id__": 136
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5587,7 +5575,7 @@ ...@@ -5587,7 +5575,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "layout_top", "_name": "res",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -5597,18 +5585,14 @@ ...@@ -5597,18 +5585,14 @@
"__id__": 115 "__id__": 115
}, },
{ {
"__id__": 123 "__id__": 118
}, },
{ {
"__id__": 133 "__id__": 121
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [],
{
"__id__": 135
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5620,8 +5604,8 @@ ...@@ -5620,8 +5604,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1920, "width": 0,
"height": 200 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5633,7 +5617,7 @@ ...@@ -5633,7 +5617,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
440, 0,
0, 0,
0, 0,
0, 0,
...@@ -5655,11 +5639,11 @@ ...@@ -5655,11 +5639,11 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5aKdzgJxFKLp7jRraiijUt" "_id": "0aAzbH6R1E+6AmGRrkKa5O"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_auto", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 114 "__id__": 114
...@@ -5667,23 +5651,10 @@ ...@@ -5667,23 +5651,10 @@
"_children": [ "_children": [
{ {
"__id__": 116 "__id__": 116
},
{
"__id__": 118
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [],
{
"__id__": 120
},
{
"__id__": 121
},
{
"__id__": 122
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5695,8 +5666,8 @@ ...@@ -5695,8 +5666,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 150, "width": 0,
"height": 150 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5707,8 +5678,8 @@ ...@@ -5707,8 +5678,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
811.977, 0,
-15.975999999999999, 0,
0, 0,
0, 0,
0, 0,
...@@ -5730,17 +5701,17 @@ ...@@ -5730,17 +5701,17 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0cknq5ouNCloAI8M2hLGaq" "_id": "9bLfcYeeNKrr524vzWchiM"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_hand", "_name": "BRLNSDB",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 115 "__id__": 115
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 117
...@@ -5757,8 +5728,8 @@ ...@@ -5757,8 +5728,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 150, "width": 0,
"height": 143 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5792,54 +5763,53 @@ ...@@ -5792,54 +5763,53 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "d3pzxjk7dHJYaprzqocVxG" "_id": "cfMLGsq0BMhJARv+ySMAxS"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Label",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 116
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [],
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_string": "",
"__uuid__": "bb8835e2-f8b3-46aa-9f9e-417d5056ea30" "_N$string": "",
}, "_fontSize": 40,
"_type": 0, "_lineHeight": 40,
"_sizeMode": 1, "_enableWrapText": true,
"_fillType": 0, "_N$file": {
"_fillCenter": { "__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_fillStart": 0, "_isSystemFontUsed": false,
"_fillRange": 0, "_spacingX": 0,
"_isTrimmedMode": true, "_batchAsBitmap": false,
"_atlas": null, "_styleFlags": 0,
"_id": "5cKftivEBDzKIT+utYOMN3" "_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9bNHNPu5lC7rQYyr8ai/sY"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon_auto", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 115 "__id__": 114
}, },
"_children": [], "_children": [
"_active": true,
"_components": [
{ {
"__id__": 119 "__id__": 119
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -5851,8 +5821,8 @@ ...@@ -5851,8 +5821,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 150, "width": 0,
"height": 143 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5886,60 +5856,86 @@ ...@@ -5886,60 +5856,86 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8cqi+EFwFLVLlaEs7HtpKK" "_id": "53LUHHG2pEr79fyrvazXJs"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "icon",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 118 "__id__": 118
}, },
"_enabled": true, "_children": [],
"_materials": [ "_active": true,
"_components": [
{ {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__id__": 120
} }
], ],
"_srcBlendFactor": 770, "_prefab": null,
"_dstBlendFactor": 771, "_opacity": 255,
"_spriteFrame": { "_color": {
"__uuid__": "2f8686df-cf0c-4b8a-87b1-f7517c5bd87b" "__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_type": 0, "_contentSize": {
"_sizeMode": 1, "__type__": "cc.Size",
"_fillType": 0, "width": 138,
"_fillCenter": { "height": 141
},
"_anchorPoint": {
"__type__": "cc.Vec2", "__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, "x": 0,
"y": 0 "y": 0,
"z": 0
}, },
"_fillStart": 0, "_skewX": 0,
"_fillRange": 0, "_skewY": 0,
"_isTrimmedMode": true, "_is3DNode": false,
"_atlas": null, "_groupIndex": 0,
"_id": "774Ruu0EZAyp6xXZZrDA5f" "groupIndex": 0,
"_id": "1blU2OArJIfoC9XfupGxJG"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 115 "__id__": 119
}, },
"_enabled": false, "_enabled": true,
"_materials": [ "_materials": [],
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" "__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 0, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -5950,2755 +5946,50 @@ ...@@ -5950,2755 +5946,50 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "2c4IT3xp9My4btY5gVId37" "_id": "03GEWUEZJGyKormWgIWCtM"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Node",
"_name": "", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 115 "__id__": 114
}, },
"_enabled": true, "_children": [
"_normalMaterial": null, {
"_grayMaterial": null, "__id__": 122
"duration": 0.1, },
"zoomScale": 1.2, {
"clickEvents": [], "__id__": 124
"_N$interactable": true, },
"_N$enableAutoGrayEffect": false, {
"_N$transition": 0, "__id__": 126
"transition": 0, },
"_N$normalColor": { {
"__id__": 128
},
{
"__id__": 130
},
{
"__id__": 132
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_N$pressedColor": { "_contentSize": {
"__type__": "cc.Color", "__type__": "cc.Size",
"r": 211, "width": 0,
"g": 211, "height": 0
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 115
},
"_id": "51UogickFEr4hnpotYEgB+"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 73.02300000000002,
"_top": 40.976,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "3dVBpdYAxGbKqP8+REU4u8"
},
{
"__type__": "cc.Node",
"_name": "layout_auto",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [
{
"__id__": 124
},
{
"__id__": 128
}
],
"_active": true,
"_components": [
{
"__id__": 132
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 526,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
700.691,
-176.9,
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": "03B6Io6iJPbpEKdXhrGOXV"
},
{
"__type__": "cc.Node",
"_name": "layout_unauto",
"_objFlags": 0,
"_parent": {
"__id__": 123
},
"_children": [
{
"__id__": 125
}
],
"_active": false,
"_components": [
{
"__id__": 127
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 526,
"height": 138
},
"_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": "ebD4E0GORAIIzvpjkrEvAK"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 124
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 336,
"height": 60.48
},
"_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": "f5AwKdzIlEMo6SAvqxwVdB"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "已开启手动阅读",
"_N$string": "已开启手动阅读",
"_fontSize": 48,
"_lineHeight": 48,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "45u570fnNJyY+1QOdBwrj/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3c576271-7881-4658-8e8a-e663a01763b7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "53wVAXs5xEnYE3uuiHCg3j"
},
{
"__type__": "cc.Node",
"_name": "layout_auto",
"_objFlags": 0,
"_parent": {
"__id__": 123
},
"_children": [
{
"__id__": 129
}
],
"_active": false,
"_components": [
{
"__id__": 131
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 526,
"height": 138
},
"_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": "b65uuT5glIdJbM3S543LuE"
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags": 0,
"_parent": {
"__id__": 128
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 130
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 336,
"height": 60.48
},
"_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": "2ceqC+NiFPhqU6hiRwU+wM"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "已开启自动阅读",
"_N$string": "已开启自动阅读",
"_fontSize": 48,
"_lineHeight": 48,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "3adaeQZdNE8LwKynpI1+8D"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 128
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3c576271-7881-4658-8e8a-e663a01763b7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "73ASrOpupIlaQPCg8F+6b3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": -3.691000000000031,
"_top": 206.9,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "99YzB9N1pDH6T5ZyKj6gge"
},
{
"__type__": "cc.Node",
"_name": "pos_tip",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 350,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
490.1120000000001,
12.991,
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": "aaKPcas+1KE59IXjj+dZao"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 294.8879999999999,
"_top": 37.009,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "18HxY29zxFHLTpWXo6+gna"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
},
"_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": 0,
"_originalHeight": 0,
"_id": "07DMkNx4FGE7AN5sUJqwSG"
},
{
"__type__": "cc.Node",
"_name": "layout_tip",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 137
},
{
"__id__": 141
},
{
"__id__": 152
},
{
"__id__": 155
}
],
"_active": false,
"_components": [
{
"__id__": 163
},
{
"__id__": 164
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "a9yYqkmpFL17JtDsiQViJF"
},
{
"__type__": "cc.Node",
"_name": "gray",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 138
},
{
"__id__": 139
},
{
"__id__": 140
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "66LhV/tk9Cd7LQDVeyewXN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "59sGotk6hC2otNKPjhYm1v"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_id": "e5myqTdcBA85ia4VyD6RlZ"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 137
},
"_enabled": true,
"_id": "49KF+i84NCQb2GCqvgzSGE"
},
{
"__type__": "cc.Node",
"_name": "layout_bg",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [
{
"__id__": 142
},
{
"__id__": 144
},
{
"__id__": 146
},
{
"__id__": 148
},
{
"__id__": 150
}
],
"_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": "88ivesqAxJRIZRrgSo2VTb"
},
{
"__type__": "cc.Node",
"_name": "img_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 141
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 143
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1188,
"height": 473
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
32.194,
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": "b31hAq159DcIO8/i5MTDX6"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 142
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "268754b7-a771-417b-9548-1520ea662c1a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8fcnPGSDBD+qnfXl+NwHxs"
},
{
"__type__": "cc.Node",
"_name": "img_right",
"_objFlags": 0,
"_parent": {
"__id__": 141
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 145
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1188,
"height": 460
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
27.109,
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": "efGpkms9JByL5oaDtysfxZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 144
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6167d3c4-ae3b-42c9-adb1-fdf73c85f557"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fcKGzIDmBL2Ip/WghOmKeu"
},
{
"__type__": "cc.Node",
"_name": "img_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 141
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 147
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1188,
"height": 360
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-24.72,
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": "4awvky9W5Iy7UxwScvdU2C"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 146
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0c5d9658-a264-497b-aa6f-6a7970041bb0"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "15EgVfcsxE4K8eZeCiQKgf"
},
{
"__type__": "cc.Node",
"_name": "img_good",
"_objFlags": 0,
"_parent": {
"__id__": 141
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 149
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1188,
"height": 362
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-23.072,
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": "21+bm7s7VN1qzCylXsR6+K"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 148
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b3238b2c-d38d-4c80-93f9-ad8cbf76386d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c20S9U9I9H87tU+mZ1kQAe"
},
{
"__type__": "cc.Node",
"_name": "img_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 141
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 151
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1188,
"height": 363
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-24.72,
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": "f7Q6G2TmVPzKvS8JBTNAeA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 150
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "74648591-a16b-4d03-bfad-e771316b07e4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2dgKnOMHVIsI3YLz3rhT8x"
},
{
"__type__": "cc.Node",
"_name": "btn_close",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 153
},
{
"__id__": 154
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 48,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
525.05,
17.285,
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": "34LH3S655OO5UIcSebjCuo"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a9a74bf3-d9a4-439e-8a80-672b9b7479bf"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "61oyrsXBdAT7MxVGE4muJj"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "6fFUW2X7pLrYMlrK1Hktdz"
},
{
"__type__": "cc.Node",
"_name": "label_rich",
"_objFlags": 0,
"_parent": {
"__id__": 136
},
"_children": [
{
"__id__": 156
},
{
"__id__": 158
},
{
"__id__": 160
}
],
"_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": 953.5600000000001,
"height": 126
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-111.633,
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": "2dKIOHC5pGE6AVzaUdfI4z"
},
{
"__type__": "cc.PrivateNode",
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 155
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 157
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 553.28,
"height": 126
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-476.78000000000003,
-63,
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,
"showInEditor": false,
"_id": "e2bPFnnUNE+4/IsEebMGwS"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 156
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "yes,It is Annie's",
"_N$string": "yes,It is Annie's",
"_fontSize": 80,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "2fXbGnYglDBYEkp0B6ufmH"
},
{
"__type__": "cc.PrivateNode",
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 155
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 159
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240.2,
"height": 126
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
76.49999999999994,
-63,
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,
"showInEditor": false,
"_id": "42VOW5zphHwZWkR73Kw33R"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": " apple ",
"_N$string": " apple ",
"_fontSize": 80,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "4cFOPdtE9LTKyZ03ddZYuT"
},
{
"__type__": "cc.PrivateNode",
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 155
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 161
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160.08,
"height": 126
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
316.7,
-63,
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,
"showInEditor": false,
"_id": "7e0aZOU1ZLapEjHmcOiUVo"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "tree.",
"_N$string": "tree.",
"_fontSize": 80,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "c208Em8ghNfK+hdRqujAKe"
},
{
"__type__": "cc.RichText",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
},
"_enabled": true,
"_fontFamily": "Arial",
"_isSystemFontUsed": true,
"_N$string": "<color=#000000>yes,It is Annie's</c><color=#ff0000> apple </color><color=#000000>tree.</color>",
"_N$horizontalAlign": 1,
"_N$fontSize": 80,
"_N$font": null,
"_N$cacheMode": 0,
"_N$maxWidth": 0,
"_N$lineHeight": 100,
"_N$imageAtlas": null,
"_N$handleTouchEvent": true,
"_id": "6eK9h+sMxMr709/aftDf39"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_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": "15E6fBqRhKW78LkX19Pxwf"
},
{
"__type__": "83cd1EgHp5Dz75E48ClW9Ka",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_enabled": true,
"img_wrong": {
"__id__": 142
},
"img_right": {
"__id__": 144
},
"img_excellent": {
"__id__": 146
},
"img_good": {
"__id__": 148
},
"img_tryagain": {
"__id__": 150
},
"btn_close": {
"__id__": 152
},
"label_rich": {
"__id__": 155
},
"_id": "21yeiQSYNL+4fKBi8JDm4u"
},
{
"__type__": "cc.Node",
"_name": "item_ani",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 166
},
{
"__id__": 168
},
{
"__id__": 170
}
],
"_active": false,
"_components": [
{
"__id__": 172
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 350,
"height": 100
},
"_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": "e9c3vDPvdLJb/Sb6Y8JAxU"
},
{
"__type__": "cc.Node",
"_name": "img_good",
"_objFlags": 0,
"_parent": {
"__id__": 165
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 167
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 285,
"height": 89
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
3.362,
3.362,
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": "e3mTXYgbFOHZRGWjhXy0zU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 166
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f538134c-9bce-4c20-98bc-8d1a9551ef8b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "62beIaUlVEIa3U2+qGTUQp"
},
{
"__type__": "cc.Node",
"_name": "img_tryagain",
"_objFlags": 0,
"_parent": {
"__id__": 165
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 169
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 375,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
3.362,
3.362,
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": "ffeiMKa+NMa7u+K8a5l0Aa"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 168
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7dc9b879-8957-4ade-a604-e87ec74099eb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "90U8uBjbdNyLEaz2qMAYu+"
},
{
"__type__": "cc.Node",
"_name": "img_excellent",
"_objFlags": 0,
"_parent": {
"__id__": 165
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 171
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 391,
"height": 93
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
3.362,
3.362,
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": "682xelfZ1FspSrYFEX14bz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 170
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d4d1d630-4dd6-4fa2-b55f-33e15da7499a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "4alcv/CERM4YI0wWnHuE1F"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 33,
"_left": 0,
"_right": 785,
"_top": 490,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "be0x6S8zRAqqY9jA9vGWQa"
},
{
"__type__": "cc.Node",
"_name": "layout_ani",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_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": "1eVKg3zNpD+6xWgPJhuycW"
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 175
},
{
"__id__": 178
},
{
"__id__": 181
}
],
"_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": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Node",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 174
},
"_children": [
{
"__id__": 176
}
],
"_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": "9bLfcYeeNKrr524vzWchiM"
},
{
"__type__": "cc.Node",
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 175
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 177
}
],
"_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": "cfMLGsq0BMhJARv+ySMAxS"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 176
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1"
},
"_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": "9bNHNPu5lC7rQYyr8ai/sY"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 174
},
"_children": [
{
"__id__": 179
}
],
"_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": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -8732,20 +6023,20 @@ ...@@ -8732,20 +6023,20 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs" "_id": "d9f+b0lmZGSJJae6zrADhp"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 178 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 180 "__id__": 123
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8759,8 +6050,8 @@ ...@@ -8759,8 +6050,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 138, "width": 0,
"height": 141 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -8794,122 +6085,39 @@ ...@@ -8794,122 +6085,39 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "1blU2OArJIfoC9XfupGxJG" "_id": "e87DSaFCVJfb2PAUkf4/o7"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 179 "__id__": 122
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_clip": {
"_srcBlendFactor": 770, "__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b"
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03GEWUEZJGyKormWgIWCtM"
},
{
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 174
},
"_children": [
{
"__id__": 182
},
{
"__id__": 184
},
{
"__id__": 186
},
{
"__id__": 188
},
{
"__id__": 190
}
],
"_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, "_volume": 1,
"_skewY": 0, "_mute": false,
"_is3DNode": false, "_loop": false,
"_groupIndex": 0, "_firstlyEnabled": true,
"groupIndex": 0, "playOnLoad": false,
"_id": "d9f+b0lmZGSJJae6zrADhp" "preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn", "_name": "tip",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 181 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 183 "__id__": 125
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8958,18 +6166,18 @@ ...@@ -8958,18 +6166,18 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "e87DSaFCVJfb2PAUkf4/o7" "_id": "4bdKQSDR5PJLYuhAkRcr6S"
}, },
{ {
"__type__": "cc.AudioSource", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 182 "__id__": 124
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b" "__uuid__": "237ef4b0-e21a-4de7-acf1-993d64e41de1"
}, },
"_volume": 1, "_volume": 1,
"_mute": false, "_mute": false,
...@@ -8977,20 +6185,20 @@ ...@@ -8977,20 +6185,20 @@
"_firstlyEnabled": true, "_firstlyEnabled": true,
"playOnLoad": false, "playOnLoad": false,
"preload": false, "preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz" "_id": "24lX876eFIeqH6SbgxlN7Q"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "tip", "_name": "tosmall",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 181 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 185 "__id__": 127
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9039,18 +6247,18 @@ ...@@ -9039,18 +6247,18 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "4bdKQSDR5PJLYuhAkRcr6S" "_id": "6eftdM/U5Gyp02UpLSbg2q"
}, },
{ {
"__type__": "cc.AudioSource", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 184 "__id__": 126
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
"__uuid__": "237ef4b0-e21a-4de7-acf1-993d64e41de1" "__uuid__": "e727dd73-b129-4f1a-baf2-c6d4bc120172"
}, },
"_volume": 1, "_volume": 1,
"_mute": false, "_mute": false,
...@@ -9058,20 +6266,20 @@ ...@@ -9058,20 +6266,20 @@
"_firstlyEnabled": true, "_firstlyEnabled": true,
"playOnLoad": false, "playOnLoad": false,
"preload": false, "preload": false,
"_id": "24lX876eFIeqH6SbgxlN7Q" "_id": "82i8zud6ZNLrt9kUtccmj1"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "tosmall", "_name": "pagenext",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 181 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 187 "__id__": 129
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9120,18 +6328,18 @@ ...@@ -9120,18 +6328,18 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "6eftdM/U5Gyp02UpLSbg2q" "_id": "21mEeo9nZIvapYDzpW4KJd"
}, },
{ {
"__type__": "cc.AudioSource", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 186 "__id__": 128
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
"__uuid__": "e727dd73-b129-4f1a-baf2-c6d4bc120172" "__uuid__": "01ba6fc8-62ac-4044-b1b0-f7acd880b83a"
}, },
"_volume": 1, "_volume": 1,
"_mute": false, "_mute": false,
...@@ -9139,20 +6347,20 @@ ...@@ -9139,20 +6347,20 @@
"_firstlyEnabled": true, "_firstlyEnabled": true,
"playOnLoad": false, "playOnLoad": false,
"preload": false, "preload": false,
"_id": "82i8zud6ZNLrt9kUtccmj1" "_id": "40QNJEWENLba9mWmc5UfVm"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "pagenext", "_name": "arrow",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 181 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 189 "__id__": 131
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9201,18 +6409,18 @@ ...@@ -9201,18 +6409,18 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "21mEeo9nZIvapYDzpW4KJd" "_id": "fexWAFC0JDuJru6GORJbNv"
}, },
{ {
"__type__": "cc.AudioSource", "__type__": "cc.AudioSource",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 188 "__id__": 130
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
"__uuid__": "01ba6fc8-62ac-4044-b1b0-f7acd880b83a" "__uuid__": "7dd7d33d-05f5-4bc5-ad15-eada03f91ddb"
}, },
"_volume": 1, "_volume": 1,
"_mute": false, "_mute": false,
...@@ -9220,20 +6428,20 @@ ...@@ -9220,20 +6428,20 @@
"_firstlyEnabled": true, "_firstlyEnabled": true,
"playOnLoad": false, "playOnLoad": false,
"preload": false, "preload": false,
"_id": "40QNJEWENLba9mWmc5UfVm" "_id": "e4IwULFPlCYJczQnRkZCry"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "right", "_name": "right",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 181 "__id__": 121
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 191 "__id__": 133
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9289,7 +6497,7 @@ ...@@ -9289,7 +6497,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 190 "__id__": 132
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -9364,18 +6572,6 @@ ...@@ -9364,18 +6572,6 @@
"layer_item_little": { "layer_item_little": {
"__id__": 36 "__id__": 36
}, },
"layer_tip": {
"__id__": 136
},
"btn_auto": {
"__id__": 115
},
"layout_unauto": {
"__id__": 124
},
"layout_auto": {
"__id__": 128
},
"btn_record": { "btn_record": {
"__id__": 78 "__id__": 78
}, },
...@@ -9391,15 +6587,6 @@ ...@@ -9391,15 +6587,6 @@
"ani_npc": { "ani_npc": {
"__id__": 73 "__id__": 73
}, },
"item_ani": {
"__id__": 165
},
"layout_ani": {
"__id__": 173
},
"pos_tip": {
"__id__": 133
},
"label_round": { "label_round": {
"__id__": 42 "__id__": 42
}, },
......
...@@ -56,14 +56,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -56,14 +56,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
public layer_item: cc.Node = null; public layer_item: cc.Node = null;
@property(cc.Node) @property(cc.Node)
public layer_item_little: cc.Node = null; public layer_item_little: cc.Node = null;
@property(cc.Node)
public layer_tip: cc.Node = null;
@property(cc.Node)
public btn_auto: cc.Node = null;
@property(cc.Node)
public layout_unauto: cc.Node = null;
@property(cc.Node)
public layout_auto: cc.Node = null;
_cantouch = null; _cantouch = null;
private list: Array<{ type, text, right, imgage, duration, content, audio, npcAudio }>; private list: Array<{ type, text, right, imgage, duration, content, audio, npcAudio }>;
...@@ -78,17 +70,16 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -78,17 +70,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
let data = this.data; let data = this.data;
this.score = 0; this.score = 0;
this.tempCount = 0; this.tempCount = 0;
this.showLastNext = 0;// 前后翻页按钮倒计时
this.recordFlag = data.recordFlag; this.recordFlag = data.recordFlag;
this.list = data.questions[0].options; this.list = data.questions[0].options;
this.scoreList = this.list.map(() => 3); this.scoreList = this.list.map(() => 3);
this.maxCurrent = 0; this.maxCurrent = 0;
this.touchAuto = true;
this.layers = []; this.layers = [];
} }
private layers: Array<cc.Node>; private layers: Array<cc.Node>;
initView() { initView() {
pg.view.touchOn(this.btn_auto, this.onTouchAuto, this);
pg.view.visible(pg.view.find(this, 'tip_record'), false); pg.view.visible(pg.view.find(this, 'tip_record'), false);
pg.view.visible(pg.view.find(this, 'tip_nopic'), false); pg.view.visible(pg.view.find(this, 'tip_nopic'), false);
} }
...@@ -152,48 +143,39 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -152,48 +143,39 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.layers.push(nextLayer) this.layers.push(nextLayer)
} }
startGame() { startGame() {
this.touchForbid = false;
this.voiceTouchForbid = false; this.voiceTouchForbid = false;
this.startPlay(); this.startPlay();
} }
private currentAudioId: any; private currentAudioId: any;
startPlay() { startPlay() {
this.showRecordHide();
this.recordAudio = "";
this.label_word.active = false; this.label_word.active = false;
this.touchForbid = false; this.touchForbid = true;
let com = this.btn_voice.getComponent(ImgAuto); let com = this.btn_voice.getComponent(ImgAuto);
com.playVoiceStart(); com.playVoiceStart();
pg.audio.playAudioByUrl(this.CurrentData.audio, () => { pg.audio.playAudioByUrl(this.CurrentData.audio, () => {
this.currentAudioId = null; this.currentAudioId = null;
com.playVoiceEnd(); com.playVoiceEnd();
this.showRecordWait();
this.touchForbid = false; this.touchForbid = false;
this.scheduleOnce(() => {
this.showRecordWait();
}, 1)
}, (audioId) => { }, (audioId) => {
this.currentAudioId = audioId; this.currentAudioId = audioId;
}) })
} }
updateBtns() { private showLastNext: number;
updateBtns(dt) {
if (this.CurrentData) { if (this.CurrentData) {
pg.view.setString(this.label_round, `${this.count + 1}/${this.list.length}`); pg.view.setString(this.label_round, `${this.count + 1}/${this.list.length}`);
} }
this.showLastNext -= dt;
pg.view.visible(pg.view.find(this.btn_auto, 'icon_hand'), !this.touchAuto); this.btn_last.active = this.showLastNext > 0 && !!this.LastData;
pg.view.visible(pg.view.find(this.btn_auto, 'icon_auto'), this.touchAuto); this.btn_next.active = this.showLastNext > 0 && !!this.NextData;
if (this.touchAuto) {
pg.view.visible(this.btn_last, false);
pg.view.visible(this.btn_next, false);
} else {
pg.view.visible(this.btn_last, this.count > 0);
pg.view.visible(this.btn_next, this.count < this.list.length - 1);
}
} }
update() { update(dt) {
if (!this.list) return; if (!this.list) return;
this.updateBtns(); this.updateBtns(dt);
} }
//--------------------------------Record----------------------------- //--------------------------------Record-----------------------------
private recordAudio: string; private recordAudio: string;
...@@ -223,7 +205,23 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -223,7 +205,23 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.view.find(this.btn_record, 'bg/ani').active = false; pg.view.find(this.btn_record, 'bg/ani').active = false;
} }
showRecordHide() {
this.showRecordWaitEnd();
this.showLastNext = 3;// 3秒显示时间
let img_voice = pg.view.find(this.btn_record, "img_voice");
img_voice.active = false;
img_voice.getComponent(ImgAuto).playVoiceEnd();
// 按钮区域显示 显示对应的对错
let layout_btns = pg.view.find(this.btn_record, "mask/layout_btns");
layout_btns.x = -160
let btn_right = pg.view.find(layout_btns, 'btn_right')
let btn_play = pg.view.find(layout_btns, 'btn_play')
let btn_stop = pg.view.find(layout_btns, 'btn_stop')
btn_right.active = false;
btn_play.active = false;
btn_stop.active = false;
}
async showRecordIng() { async showRecordIng() {
let img_voice = pg.view.find(this.btn_record, "img_voice"); let img_voice = pg.view.find(this.btn_record, "img_voice");
img_voice.active = true; img_voice.active = true;
...@@ -364,6 +362,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -364,6 +362,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
//按钮触发,使用的方法 //按钮触发,使用的方法
async onTouchRecord() { async onTouchRecord() {
if (this.touchForbid) return;
if (this.recording) return; if (this.recording) return;
if (this.recordAudio) return; if (this.recordAudio) return;
this.recording = true; this.recording = true;
...@@ -374,75 +373,30 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -374,75 +373,30 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.log("-----------------------startTest") this.log("-----------------------startTest")
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
courseware && courseware.startTest(''); //开始录音 courseware && courseware.startRecord(1); //开始录音
} }
async onTouchRecordEnd(isClear) { async onTouchRecordEnd(isClear) {
if (!this.recording) return; if (!this.recording) return;
this.showRecordEnd(); this.showRecordEnd();
let testData = { let testData = {
"audioUrl": "https://staging-teach.cdn.ireadabc.com/bea0ba87bcf8bc09815f34b4790ffac9.mp3", "text": "Yes, there is.Yes, there is.Yes, there is.Yes, there is.Yes, there is.Yes, there is.Yes, there is.",
"eof": 1, "file": "/storage/emulated/0/Android/data/com.example.oxford/cache/shengtong/gradeVoice.mp3", "audio": "https://staging-teach.cdn.ireadabc.com/6ee3ccaa831a884f02c6a75c6f647cb5.wav"
"result": {
"duration": "2.670", "fluency": 86,
"integrity": 50, "kernel_version": "3.7.1", "overall": 7,
"pronunciation": 28, "resource_version": "2.3.11", "rhythm": 28,
"sentences": [
{
"beginIndex": 0,
"details": [
{
"charType": 0, "end": 0, "overall": 56, "prominence": 0, "start": 0, "word": "Good"
}, {
"charType": 0, "end": 0, "overall": 0, "prominence": 0, "start": 0, "word": "morning"
}],
"end": 0, "endIndex": 0, "overall": 28,
"sentence": "Good morning", "start": 0
}],
"speed": 28
}, "tokenId": "62d7a2343327934258000009"
}
if (!courseware) {
return this.recrodEnd(isClear, testData)
} }
this.log("---------------courseware.stopTest:") if (!courseware) return this.recrodEnd(testData)
courseware && courseware.stopTest((res) => { courseware && courseware.stopRecord(0, (data) => {
this.log("---------------stopTest:" + res) data = JSON.parse(data);
res = JSON.parse(res); this.log("data: " + JSON.stringify(data));
this.recrodEnd(isClear, res); this.recrodEnd(data);
});//结束录音 }); //结束录音
} }
async recrodEnd(isClear, data) { async recrodEnd(data) {
this.voiceTouchForbid = false; this.voiceTouchForbid = false;
this.recordAudio = data.audioUrl; this.recordAudio = data.audio;
this.showData(data); this.recordAudioWord = data.text;
let score = data.result.overall;
this.log("---------------recrodEnd score:" + score)
this.recording = false; this.recording = false;
if (isClear) return;
this.showRecorAudioPlay(); this.showRecorAudioPlay();
} }
private recordAudioWord: string; private recordAudioWord: string;
showData(data) {
let list = data.result.sentences[0].details;
// 列表处理
let str = "";
for (let i = 0; i < list.length; i++) {
let li = list[i];
let s = "";
s += li.word;
// if (li.overall > 40) {
// s = `<color=#000000>${li.word}</c>`
// } else {
// s = `<color=#FF0000> ${li.word} </c>`
// }
str += s;
}
this.recordAudioWord = str;
}
@property(cc.Node) item_ani: cc.Node = null;
@property(cc.Node) layout_ani: cc.Node = null;
@property(cc.Node) pos_tip: cc.Node = null;
//----------------------------------------Record-End--------------------------------- //----------------------------------------Record-End---------------------------------
addScore(num) { addScore(num) {
...@@ -492,7 +446,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -492,7 +446,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.OutData && !this.OutLayer) { if (this.OutData && !this.OutLayer) {
let outLayer = this.createLittleLayer(); let outLayer = this.createLittleLayer();
this.updateLayer(outLayer, this.OutData) this.updateLayer(outLayer, this.OutData)
outLayer.x = -1500; outLayer.x = 3500;
this.layers.push(outLayer) this.layers.push(outLayer)
} }
...@@ -504,7 +458,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -504,7 +458,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.tween(this.OutLayer).to(1 / 3, { x: this.layer_item_little.x, y: this.layer_item_little.y }).start(); cc.tween(this.OutLayer).to(1 / 3, { x: this.layer_item_little.x, y: this.layer_item_little.y }).start();
} }
this.scheduleOnce(() => { this.scheduleOnce(() => {
this.touchForbid = false;
this.count++; this.count++;
this.maxCurrent = Math.max(this.maxCurrent, this.count); this.maxCurrent = Math.max(this.maxCurrent, this.count);
this.startPlay(); this.startPlay();
...@@ -636,9 +589,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -636,9 +589,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
} }
lastPage() { lastPage() {
if (!this.LastData) { if (!this.LastData) {
this.touchForbid = false; this.scheduleOnce(() => {
this.touchForbid = false;
}, 0.1)
pg.hw.playLocalAudio("tip")
let tip = pg.view.find(this, 'tip_nopic'); let tip = pg.view.find(this, 'tip_nopic');
pg.view.visible(tip, true); pg.view.visible(tip, true);
tip.opacity = 255; tip.opacity = 255;
...@@ -647,8 +602,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -647,8 +602,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
return; return;
} }
if (this.recording) { if (this.recording) {
this.touchForbid = false; this.scheduleOnce(() => {
this.touchForbid = false;
}, 0.1)
// 显示提示 // 显示提示
pg.hw.playLocalAudio("tip")
let tip = pg.view.find(this, 'tip_record'); let tip = pg.view.find(this, 'tip_record');
pg.view.visible(tip, true); pg.view.visible(tip, true);
tip.opacity = 255; tip.opacity = 255;
...@@ -656,12 +614,16 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -656,12 +614,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.tween(tip).delay(0.8).to(0.5, { opacity: 0 }).start(); cc.tween(tip).delay(0.8).to(0.5, { opacity: 0 }).start();
return; return;
} }
pg.hw.playLocalAudio("arrow")
// 停止当前所有动作 // 停止当前所有动作
this.preLayer(); this.preLayer();
} }
nextPage() { nextPage() {
if (!this.NextData) { if (!this.NextData) {
this.touchForbid = false; this.scheduleOnce(() => {
this.touchForbid = false;
}, 0.1)
pg.hw.playLocalAudio("tip")
let tip = pg.view.find(this, 'tip_nopic'); let tip = pg.view.find(this, 'tip_nopic');
pg.view.visible(tip, true); pg.view.visible(tip, true);
tip.opacity = 255; tip.opacity = 255;
...@@ -670,8 +632,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -670,8 +632,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
return; return;
} }
if (this.recording) { if (this.recording) {
this.touchForbid = false; this.scheduleOnce(() => {
this.touchForbid = false;
}, 0.1)
// 显示提示 // 显示提示
pg.hw.playLocalAudio("tip")
let tip = pg.view.find(this, 'tip_record'); let tip = pg.view.find(this, 'tip_record');
pg.view.visible(tip, true); pg.view.visible(tip, true);
tip.opacity = 255; tip.opacity = 255;
...@@ -679,36 +644,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -679,36 +644,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.tween(tip).delay(0.8).to(0.5, { opacity: 0 }).start(); cc.tween(tip).delay(0.8).to(0.5, { opacity: 0 }).start();
return; return;
} }
if (this.recordFlag) { pg.hw.playLocalAudio("arrow")
if (this.count + 1 <= this.maxCurrent) { this.nextLayer();
this.nextLayer();
} else {
this.touchForbid = false;
}
} else {
this.nextLayer();
}
}
private touchAuto: boolean;
onTouchAuto() {
// 展示tips
pg.hw.playLocalAudio('tip')
this.touchAuto = !this.touchAuto
console.log("touchAuto->" + this.touchAuto)
if (this.touchAuto) {
this.layout_unauto.active = false;
this.layout_auto.active = true;
this.layout_auto.x = 550;
this.layout_auto.opacity = 255;
cc.tween(this.layout_auto).to(0.3, { x: 0 }).delay(0.3).to(0.3, { opacity: 0 }).start();
} else {
this.layout_unauto.active = true;
this.layout_auto.active = false;
this.layout_unauto.x = 550;
this.layout_unauto.opacity = 255;
cc.tween(this.layout_unauto).to(0.3, { x: 0 }).delay(0.3).to(0.3, { opacity: 0 }).start();
}
} }
playLocalAudio(audioName) { playLocalAudio(audioName) {
......
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