Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_debug
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
middleLayer_for_debug
Commits
fec8b2f0
Commit
fec8b2f0
authored
Dec 19, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
56ac973c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1008 additions
and
248 deletions
+1008
-248
middleLayer_for_debug.fire
...ts/middleLayer_for_debug/scene/middleLayer_for_debug.fire
+995
-247
middleLayer.js
assets/middleLayer_for_debug/script/middleLayer.js
+13
-1
No files found.
assets/middleLayer_for_debug/scene/middleLayer_for_debug.fire
View file @
fec8b2f0
...
...
@@ -295,22 +295,22 @@
"__id__": 20
},
{
"__id__": 1
24
"__id__": 1
38
},
{
"__id__": 1
59
"__id__": 1
73
},
{
"__id__": 1
63
"__id__": 1
77
}
],
"_active": true,
"_components": [
{
"__id__": 1
65
"__id__": 1
79
},
{
"__id__": 1
66
"__id__": 1
80
}
],
"_prefab": null,
...
...
@@ -1000,13 +1000,19 @@
"__id__": 116
},
{
"__id__": 118
"__id__": 123
},
{
"__id__": 130
},
{
"__id__": 132
}
],
"_active": true,
"_components": [
{
"__id__": 1
23
"__id__": 1
37
}
],
"_prefab": null,
...
...
@@ -4986,7 +4992,7 @@
},
{
"__type__": "cc.Node",
"_name": "Btn
CloseOsmo
",
"_name": "Btn
OpenTest
",
"_objFlags": 0,
"_parent": {
"__id__": 20
...
...
@@ -5025,8 +5031,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-
438.022
,
-
209.664
,
-
56.95
,
-
124.147
,
0,
0,
0,
...
...
@@ -5048,7 +5054,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
64Kn4xGW9PSJqoZ7ayrgZu
"
"_id": "
89BDHUcqlIXJdSr3PszB5T
"
},
{
"__type__": "cc.Node",
...
...
@@ -5117,7 +5123,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
a4atTysq5MZYXuAR7OPR0B
"
"_id": "
e3KorFhZJOt4uunEZSasOs
"
},
{
"__type__": "cc.Node",
...
...
@@ -5179,7 +5185,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
161xkiPIJCR6CwZaUCvBUI
"
"_id": "
e41Z91HhdGBp0BV1jMehvV
"
},
{
"__type__": "cc.Label",
...
...
@@ -5196,8 +5202,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "
closeOSMO
",
"_N$string": "
closeOSMO
",
"_string": "
开始录音评测
",
"_N$string": "
开始录音评测
",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
...
...
@@ -5212,7 +5218,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "
a8iSQfSjVF7qGfo3hxji7I
"
"_id": "
ecpdlq7/dJWrR8sEFqBmND
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -5244,7 +5250,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
69ZlIcwzJN5oHS5d/ktceg
"
"_id": "
05u79UtwFMco+aXdDUaCvG
"
},
{
"__type__": "cc.Widget",
...
...
@@ -5271,7 +5277,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "
58WyKrehVLu4r0ukhirvsu
"
"_id": "
bf8O3saJxC8LAPre3FawAK
"
},
{
"__type__": "cc.Button",
...
...
@@ -5353,11 +5359,11 @@
"_N$target": {
"__id__": 103
},
"_id": "
27BjR9SvZAhY/aQBzv9ezW
"
"_id": "
a5XO4yG/pFba3VPIyM65lV
"
},
{
"__type__": "cc.Node",
"_name": "BtnClose
Record
",
"_name": "BtnClose
Osmo
",
"_objFlags": 0,
"_parent": {
"__id__": 20
...
...
@@ -5396,8 +5402,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-
237.75
,
-2
12.566
,
-
438.022
,
-2
09.664
,
0,
0,
0,
...
...
@@ -5419,7 +5425,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
b0CNtDF31GIKeExEh6brpO
"
"_id": "
64Kn4xGW9PSJqoZ7ayrgZu
"
},
{
"__type__": "cc.Node",
...
...
@@ -5488,7 +5494,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
c4HbUAg4BJULnfqpeSGINO
"
"_id": "
a4atTysq5MZYXuAR7OPR0B
"
},
{
"__type__": "cc.Node",
...
...
@@ -5550,7 +5556,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
860zjp/XxPBYt0Bcm/Olmd
"
"_id": "
161xkiPIJCR6CwZaUCvBUI
"
},
{
"__type__": "cc.Label",
...
...
@@ -5567,8 +5573,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "
结束录音
",
"_N$string": "
结束录音
",
"_string": "
closeOSMO
",
"_N$string": "
closeOSMO
",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
...
...
@@ -5583,7 +5589,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "a8
Hfl5kMtDbZEZe5iGp4lX
"
"_id": "a8
iSQfSjVF7qGfo3hxji7I
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -5615,7 +5621,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
71oMIls3BLoI4/4PLi2l6W
"
"_id": "
69ZlIcwzJN5oHS5d/ktceg
"
},
{
"__type__": "cc.Widget",
...
...
@@ -5642,7 +5648,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "
a04/ixt/dKHr958wO0xIRg
"
"_id": "
58WyKrehVLu4r0ukhirvsu
"
},
{
"__type__": "cc.Button",
...
...
@@ -5724,22 +5730,26 @@
"_N$target": {
"__id__": 110
},
"_id": "
dcTVkN3bpECJDI8qtt0W1A
"
"_id": "
27BjR9SvZAhY/aQBzv9ezW
"
},
{
"__type__": "cc.Node",
"_name": "
ProgressLabel
",
"_name": "
BtnCloseRecord
",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [],
"_active": false,
"_components": [
"_children": [
{
"__id__": 117
}
],
"_active": true,
"_components": [
{
"__id__": 122
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
...
...
@@ -5751,8 +5761,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
88.95
,
"height":
50.4
"width":
150
,
"height":
40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5763,8 +5773,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
216
,
-
168
,
-237.75
,
-
212.566
,
0,
0,
0,
...
...
@@ -5786,60 +5796,27 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4a4jPKza9MU70DqzTZHZ00"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0 / 0",
"_N$string": "0 / 0",
"_fontSize": 40,
"_lineHeight": 40,
"_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": "ee0WrmR8hIQbOtXJqrMoQ5"
"_id": "b0CNtDF31GIKeExEh6brpO"
},
{
"__type__": "cc.Node",
"_name": "
loadingProgress
",
"_objFlags":
0
,
"_name": "
Background
",
"_objFlags":
512
,
"_parent": {
"__id__":
20
"__id__":
116
},
"_children": [
{
"__id__": 11
9
"__id__": 11
8
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 12
1
"__id__": 12
0
},
{
"__id__": 12
2
"__id__": 12
1
}
],
"_prefab": null,
...
...
@@ -5853,8 +5830,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
30
0,
"height":
15
"width":
15
0,
"height":
40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -5866,7 +5843,7 @@
"ctor": "Float64Array",
"array": [
0,
-106.947
,
0
,
0,
0,
0,
...
...
@@ -5888,46 +5865,46 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
8eQzQS+G9EIqiUtunVxOmS
"
"_id": "
c4HbUAg4BJULnfqpeSGINO
"
},
{
"__type__": "cc.Node",
"_name": "
bar
",
"_name": "
Label
",
"_objFlags": 512,
"_parent": {
"__id__": 11
8
"__id__": 11
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
20
"__id__": 1
19
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r":
255
,
"g":
255
,
"b":
255
,
"r":
0
,
"g":
0
,
"b":
0
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height":
15
"width":
15
0,
"height":
40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"x": 0
.5
,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-15
0,
0,
0,
0,
0,
...
...
@@ -5950,14 +5927,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
4dGkzjGXpDp47yn3d4Qd9r
"
"_id": "
860zjp/XxPBYt0Bcm/Olmd
"
},
{
"__type__": "cc.
Sprite
",
"__type__": "cc.
Label
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
9
"__id__": 11
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5967,29 +5944,30 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "14PkFmJmtK/Yp9AZyo9gVv"
"_string": "结束录音",
"_N$string": "结束录音",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "a8Hfl5kMtDbZEZe5iGp4lX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
8
"__id__": 11
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6000,7 +5978,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
88e79fd5-96b4-4a77-a1f4-312467171014
"
"__uuid__": "
f0048c10-f03e-4c97-b9d3-3506e1d58952
"
},
"_type": 1,
"_sizeMode": 0,
...
...
@@ -6014,34 +5992,17 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "590gTWZEdMwIlULNUksORP"
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
},
"_enabled": true,
"_N$totalLength": 300,
"_N$barSprite": {
"__id__": 120
},
"_N$mode": 0,
"_N$progress": 0,
"_N$reverse": false,
"_id": "bc3W7j5EVJRaoW20bSToA3"
"_id": "71oMIls3BLoI4/4PLi2l6W"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
20
"__id__":
117
},
"_enabled": true,
"alignMode":
2
,
"alignMode":
0
,
"_target": null,
"_alignFlags": 45,
"_left": 0,
...
...
@@ -6056,48 +6017,835 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1
28
0,
"_originalHeight":
72
0,
"_id": "
c87OiuHMRI7YOL5SUoikbx
"
"_originalWidth": 1
0
0,
"_originalHeight":
4
0,
"_id": "
a04/ixt/dKHr958wO0xIRg
"
},
{
"__type__": "cc.
Node
",
"_name": "
ConsoleNode
",
"__type__": "cc.
Button
",
"_name": "",
"_objFlags": 0,
"
_parent
": {
"__id__":
7
"
node
": {
"__id__":
116
},
"_children": [
{
"__id__": 125
},
{
"__id__": 131
},
{
"__id__": 134
},
{
"__id__": 142
},
{
"__id__": 150
}
],
"_active": true,
"_components": [
{
"__id__": 158
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 117
},
"_id": "dcTVkN3bpECJDI8qtt0W1A"
},
{
"__type__": "cc.Node",
"_name": "BtnCloseTest",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [
{
"__id__": 124
}
],
"_active": true,
"_components": [
{
"__id__": 129
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-57.795,
-212.566,
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": "f7P58nNlVDvI/scHDd1ktF"
},
{
"__type__": "cc.Node",
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 123
},
"_children": [
{
"__id__": 125
}
],
"_active": true,
"_components": [
{
"__id__": 127
},
{
"__id__": 128
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d5TQuix2lBW53ezV1Ie0qG"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 124
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "47Mofb8LBPv7mG7ygYedbz"
},
{
"__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": 20,
"_lineHeight": 40,
"_enableWrapText": false,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 1,
"_N$cacheMode": 1,
"_id": "f7f3mbhVRMjoo8R7CnAL+e"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "10DD7rTuVNz4Pd9DBMDEvJ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 40,
"_id": "52cojoJ4hFCobXFkySOzz8"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 2,
"transition": 2,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 230,
"g": 230,
"b": 230,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 120,
"g": 120,
"b": 120,
"a": 200
},
"_N$normalSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"pressedSprite": {
"__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
},
"_N$hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"hoverSprite": {
"__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
},
"_N$disabledSprite": {
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 124
},
"_id": "83eUThoCpA1ZTT7wKX9gnN"
},
{
"__type__": "cc.Node",
"_name": "ProgressLabel",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [],
"_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": 88.95,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
216,
-168,
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": "4a4jPKza9MU70DqzTZHZ00"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0 / 0",
"_N$string": "0 / 0",
"_fontSize": 40,
"_lineHeight": 40,
"_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": "ee0WrmR8hIQbOtXJqrMoQ5"
},
{
"__type__": "cc.Node",
"_name": "loadingProgress",
"_objFlags": 0,
"_parent": {
"__id__": 20
},
"_children": [
{
"__id__": 133
}
],
"_active": false,
"_components": [
{
"__id__": 135
},
{
"__id__": 136
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-106.947,
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": "8eQzQS+G9EIqiUtunVxOmS"
},
{
"__type__": "cc.Node",
"_name": "bar",
"_objFlags": 512,
"_parent": {
"__id__": 132
},
"_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": 0,
"height": 15
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-150,
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": "4dGkzjGXpDp47yn3d4Qd9r"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "14PkFmJmtK/Yp9AZyo9gVv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "590gTWZEdMwIlULNUksORP"
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
},
"_enabled": true,
"_N$totalLength": 300,
"_N$barSprite": {
"__id__": 134
},
"_N$mode": 0,
"_N$progress": 0,
"_N$reverse": false,
"_id": "bc3W7j5EVJRaoW20bSToA3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "c87OiuHMRI7YOL5SUoikbx"
},
{
"__type__": "cc.Node",
"_name": "ConsoleNode",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 139
},
{
"__id__": 145
},
{
"__id__": 148
},
{
"__id__": 156
},
{
"__id__": 164
}
],
"_active": true,
"_components": [
{
"__id__": 172
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -6143,20 +6891,20 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
"__id__": 1
24
"__id__": 1
38
},
"_children": [
{
"__id__": 1
26
"__id__": 1
40
}
],
"_active": false,
"_components": [
{
"__id__": 1
29
"__id__": 1
43
},
{
"__id__": 1
30
"__id__": 1
44
}
],
"_prefab": null,
...
...
@@ -6212,16 +6960,16 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 1
25
"__id__": 1
39
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
27
"__id__": 1
41
},
{
"__id__": 1
28
"__id__": 1
42
}
],
"_prefab": null,
...
...
@@ -6277,7 +7025,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
26
"__id__": 1
40
},
"_enabled": true,
"_materials": [
...
...
@@ -6310,7 +7058,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
26
"__id__": 1
40
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -6337,7 +7085,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
25
"__id__": 1
39
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -6369,7 +7117,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
25
"__id__": 1
39
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -6396,16 +7144,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 1
24
"__id__": 1
38
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 1
32
"__id__": 1
46
},
{
"__id__": 1
33
"__id__": 1
47
}
],
"_prefab": null,
...
...
@@ -6461,7 +7209,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
31
"__id__": 1
45
},
"_enabled": true,
"_materials": [
...
...
@@ -6493,7 +7241,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
31
"__id__": 1
45
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -6520,26 +7268,26 @@
"_name": "Console",
"_objFlags": 0,
"_parent": {
"__id__": 1
24
"__id__": 1
38
},
"_children": [
{
"__id__": 1
35
"__id__": 1
49
}
],
"_active": false,
"_components": [
{
"__id__": 1
38
"__id__": 1
52
},
{
"__id__": 1
39
"__id__": 1
53
},
{
"__id__": 1
40
"__id__": 1
54
},
{
"__id__": 1
41
"__id__": 1
55
}
],
"_prefab": null,
...
...
@@ -6595,16 +7343,16 @@
"_name": "content",
"_objFlags": 0,
"_parent": {
"__id__": 1
34
"__id__": 1
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
36
"__id__": 1
50
},
{
"__id__": 1
37
"__id__": 1
51
}
],
"_prefab": null,
...
...
@@ -6660,7 +7408,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
35
"__id__": 1
49
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -6692,7 +7440,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
35
"__id__": 1
49
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -6719,7 +7467,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
34
"__id__": 1
48
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -6746,7 +7494,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
34
"__id__": 1
48
},
"_enabled": true,
"_materials": [
...
...
@@ -6766,7 +7514,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
34
"__id__": 1
48
},
"_enabled": true,
"horizontal": false,
...
...
@@ -6778,10 +7526,10 @@
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 1
35
"__id__": 1
49
},
"content": {
"__id__": 1
35
"__id__": 1
49
},
"_id": "43wBGhGBpFP7OYyNM+j0Ho"
},
...
...
@@ -6790,7 +7538,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
34
"__id__": 1
48
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -6822,20 +7570,20 @@
"_name": "BtnClose",
"_objFlags": 0,
"_parent": {
"__id__": 1
24
"__id__": 1
38
},
"_children": [
{
"__id__": 1
43
"__id__": 1
57
}
],
"_active": false,
"_components": [
{
"__id__": 1
48
"__id__": 1
62
},
{
"__id__": 1
49
"__id__": 1
63
}
],
"_prefab": null,
...
...
@@ -6891,20 +7639,20 @@
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 1
42
"__id__": 1
56
},
"_children": [
{
"__id__": 1
44
"__id__": 1
58
}
],
"_active": true,
"_components": [
{
"__id__": 1
46
"__id__": 1
60
},
{
"__id__": 1
47
"__id__": 1
61
}
],
"_prefab": null,
...
...
@@ -6960,13 +7708,13 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 1
43
"__id__": 1
57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
45
"__id__": 1
59
}
],
"_prefab": null,
...
...
@@ -7022,7 +7770,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
44
"__id__": 1
58
},
"_enabled": true,
"_materials": [
...
...
@@ -7055,7 +7803,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
43
"__id__": 1
57
},
"_enabled": true,
"_materials": [
...
...
@@ -7087,7 +7835,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
43
"__id__": 1
57
},
"_enabled": true,
"alignMode": 0,
...
...
@@ -7114,7 +7862,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
42
"__id__": 1
56
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7187,7 +7935,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 1
43
"__id__": 1
57
},
"_id": "54SC9WcmBAZ6cTznyI0o+3"
},
...
...
@@ -7196,7 +7944,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
42
"__id__": 1
56
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7223,20 +7971,20 @@
"_name": "BtnOpen",
"_objFlags": 0,
"_parent": {
"__id__": 1
24
"__id__": 1
38
},
"_children": [
{
"__id__": 1
51
"__id__": 1
65
}
],
"_active": false,
"_components": [
{
"__id__": 1
56
"__id__": 1
70
},
{
"__id__": 1
57
"__id__": 1
71
}
],
"_prefab": null,
...
...
@@ -7292,20 +8040,20 @@
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 1
50
"__id__": 1
64
},
"_children": [
{
"__id__": 1
52
"__id__": 1
66
}
],
"_active": true,
"_components": [
{
"__id__": 1
54
"__id__": 1
68
},
{
"__id__": 1
55
"__id__": 1
69
}
],
"_prefab": null,
...
...
@@ -7361,13 +8109,13 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 1
51
"__id__": 1
65
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
53
"__id__": 1
67
}
],
"_prefab": null,
...
...
@@ -7423,7 +8171,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
52
"__id__": 1
66
},
"_enabled": true,
"_materials": [
...
...
@@ -7456,7 +8204,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
51
"__id__": 1
65
},
"_enabled": true,
"_materials": [
...
...
@@ -7488,7 +8236,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
51
"__id__": 1
65
},
"_enabled": true,
"alignMode": 0,
...
...
@@ -7515,7 +8263,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
50
"__id__": 1
64
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7588,7 +8336,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 1
51
"__id__": 1
65
},
"_id": "81HoUuRyJOppi+n4Av/u0p"
},
...
...
@@ -7597,7 +8345,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
50
"__id__": 1
64
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7624,7 +8372,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
24
"__id__": 1
38
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7657,13 +8405,13 @@
"_active": false,
"_components": [
{
"__id__": 1
60
"__id__": 1
74
},
{
"__id__": 1
61
"__id__": 1
75
},
{
"__id__": 1
62
"__id__": 1
76
}
],
"_prefab": null,
...
...
@@ -7719,7 +8467,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
73
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -7746,7 +8494,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
73
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7814,7 +8562,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
73
},
"_enabled": true,
"_materials": [
...
...
@@ -7852,7 +8600,7 @@
"_active": true,
"_components": [
{
"__id__": 1
64
"__id__": 1
78
}
],
"_prefab": null,
...
...
@@ -7908,7 +8656,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
63
"__id__": 1
77
},
"_enabled": true,
"_layoutSize": {
...
...
assets/middleLayer_for_debug/script/middleLayer.js
View file @
fec8b2f0
...
...
@@ -251,7 +251,19 @@ cc.Class({
cc
.
find
(
'
middleLayer/ui/BtnCloseRecord
'
).
on
(
'
click
'
,
()
=>
{
window
.
courseware
.
stopRecord
(
0
,
res
=>
{
this
.
log
(
'
--------录音返回结果------------
'
);
this
.
log
(
'
--------录音返回结果 stopRecord ------------
'
);
this
.
log
(
JSON
.
stringify
(
res
))
this
.
log
(
'
------------------------------
'
);
});
});
cc
.
find
(
'
middleLayer/ui/BtnOpenTest
'
).
on
(
'
click
'
,
()
=>
{
window
.
courseware
.
startTest
(
''
);
});
cc
.
find
(
'
middleLayer/ui/BtnCloseTest
'
).
on
(
'
click
'
,
()
=>
{
window
.
courseware
.
stopTest
(
res
=>
{
this
.
log
(
'
--------录音评测返回结果 stopTest ---------
'
);
this
.
log
(
JSON
.
stringify
(
res
))
this
.
log
(
'
------------------------------
'
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment