Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP05
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
OP05
Commits
ff7ec199
Commit
ff7ec199
authored
Sep 25, 2021
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成
parent
96a235f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
393 additions
and
372 deletions
+393
-372
scene.fire
play/assets/scene/scene/scene.fire
+369
-369
scene.js
play/assets/scene/scene/scene.js
+24
-3
No files found.
play/assets/scene/scene/scene.fire
View file @
ff7ec199
...
@@ -102,13 +102,13 @@
...
@@ -102,13 +102,13 @@
"__id__": 35
"__id__": 35
},
},
{
{
"__id__": 4
0
"__id__": 4
4
},
},
{
{
"__id__": 4
5
"__id__": 4
9
},
},
{
{
"__id__":
47
"__id__":
54
},
},
{
{
"__id__": 56
"__id__": 56
...
@@ -1788,7 +1788,7 @@
...
@@ -1788,7 +1788,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
btn_recor
d",
"_name": "
en
d",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
...
@@ -1796,17 +1796,19 @@
...
@@ -1796,17 +1796,19 @@
"_children": [
"_children": [
{
{
"__id__": 36
"__id__": 36
}
},
],
"_active": false,
"_components": [
{
{
"__id__": 38
"__id__": 38
},
},
{
{
"__id__": 39
"__id__": 40
},
{
"__id__": 42
}
}
],
],
"_active": false,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1818,8 +1820,8 @@
...
@@ -1818,8 +1820,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
244
,
"width":
0
,
"height":
232
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1830,8 +1832,8 @@
...
@@ -1830,8 +1832,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
535.658
,
0
,
-644.463
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1853,11 +1855,11 @@
...
@@ -1853,11 +1855,11 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
ccjgAxI1BG7rMV7gd/XEVE
"
"_id": "
07p8eJb8pC8pYEA8Xua6YQ
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
icon_record
",
"_name": "
bg_btm
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 35
"__id__": 35
...
@@ -1870,18 +1872,18 @@
...
@@ -1870,18 +1872,18 @@
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity":
255
,
"_opacity":
120
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
255
,
"r":
4
,
"g":
255
,
"g":
0
,
"b":
255
,
"b":
0
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
10
6,
"width":
217
6,
"height": 1
38
"height": 1
600
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1892,8 +1894,8 @@
...
@@ -1892,8 +1894,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-1.361
,
17.5
88,
0.8
88,
0,
0,
0,
0,
0,
0,
...
@@ -1915,7 +1917,7 @@
...
@@ -1915,7 +1917,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
11mMRungRPRJPc8PD0BfhD
"
"_id": "
ebSymemClARaK95V+wwkmN
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -1933,42 +1935,10 @@
...
@@ -1933,42 +1935,10 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "c9122267-cd57-4742-bfe7-1c928880d5de"
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "77Ktr/JFFJdZEjm+jqed6F"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ce2dae10-9b79-4de9-8163-75702e087b62"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1979,97 +1949,20 @@
...
@@ -1979,97 +1949,20 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "21hANBFtRFVLFqU9SFAO87"
"_id": "6a0nM66JFJn4MkmqFhBuAn"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_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": {
"__id__": 35
},
"_id": "b09HfTfohGxpd5Ff9vXa7G"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
tn_recording
",
"_name": "b
g_light
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
2
"__id__":
35
},
},
"_children": [
"_children": [],
{
"_active": true,
"__id__": 41
}
],
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 43
"__id__": 39
},
{
"__id__": 44
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2083,8 +1976,8 @@
...
@@ -2083,8 +1976,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
244
,
"width":
1246
,
"height":
232
"height":
1234
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2095,8 +1988,8 @@
...
@@ -2095,8 +1988,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
535.658
,
-8.982999999999947
,
-644.463
,
32.778999999999996
,
0,
0,
0,
0,
0,
0,
...
@@ -2118,20 +2011,52 @@
...
@@ -2118,20 +2011,52 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "1biy/YkRFBIrvtBb6z4JQR"
"_id": "694gyX3xhJgr9GoA+xQfJP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "61f2fdd4-a347-4bfa-820f-9440bf5e8519"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c42Hrx6dRDJItFAOtxoAkG"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
icon_recording
",
"_name": "
bg_tryagain
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
40
"__id__":
35
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
2
"__id__": 4
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2145,8 +2070,8 @@
...
@@ -2145,8 +2070,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
87
,
"width": 1
068
,
"height":
61
"height":
416
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2157,8 +2082,8 @@
...
@@ -2157,8 +2082,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-1
.582
,
-1
0
,
23.375
,
34
,
0,
0,
0,
0,
0,
0,
...
@@ -2180,14 +2105,14 @@
...
@@ -2180,14 +2105,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
83WLP36bhM7JJE3rZH6Vmz
"
"_id": "
a0AIt+CpNAkYDbtRuwmm+K
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
0
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2198,7 +2123,7 @@
...
@@ -2198,7 +2123,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
dff89d8e-e14f-4e19-ab8f-c7dd09bd4c68
"
"__uuid__": "
536c7203-4462-4233-b8b5-87b85ef80023
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2212,122 +2137,20 @@
...
@@ -2212,122 +2137,20 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
6fqrgACQxG8Jm/6JE0zCdz
"
"_id": "
42vj6URj5G8KnAupjQZEyn
"
},
},
{
{
"__type__": "cc.
Sprit
e",
"__type__": "cc.
Nod
e",
"_name": "",
"_name": "
bg_success
",
"_objFlags": 0,
"_objFlags": 0,
"
node
": {
"
_parent
": {
"__id__":
40
"__id__":
35
},
},
"_enabled": true,
"_children": [],
"_materials": [
"_active": true,
"_components": [
{
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 43
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ce2dae10-9b79-4de9-8163-75702e087b62"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "56vZki/29P76v3Vp6qtBit"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_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": {
"__id__": 40
},
"_id": "feA2HsnyFASLUXjdq0vRse"
},
{
"__type__": "cc.Node",
"_name": "icon_hand",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 46
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2341,8 +2164,8 @@
...
@@ -2341,8 +2164,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
8
8,
"width":
106
8,
"height":
185
"height":
416
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2353,8 +2176,8 @@
...
@@ -2353,8 +2176,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
529.053
,
-8.982999999999947
,
-456.351
,
32.778999999999996
,
0,
0,
0,
0,
0,
0,
...
@@ -2376,14 +2199,14 @@
...
@@ -2376,14 +2199,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
72zamZOoRFGI+HU7MNmFC+
"
"_id": "
10QxNKt41KsKTF477vjYTv
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
5
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2394,7 +2217,7 @@
...
@@ -2394,7 +2217,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
8a3ed353-ff01-4d14-a50e-efa58a411f61
"
"__uuid__": "
0dfa1159-bf38-41f9-9fbd-3ce1de927a82
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2408,31 +2231,29 @@
...
@@ -2408,31 +2231,29 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
bfxrEXMJhHLYefc7ZxZ95L
"
"_id": "
4ctQbxwJlIRYnqCNcxT5Ua
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
en
d",
"_name": "
btn_recor
d",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
},
},
"_children": [
"_children": [
{
{
"__id__": 4
8
"__id__": 4
5
}
,
}
{
],
"__id__": 50
"_active": false,
},
"_components": [
{
{
"__id__":
52
"__id__":
47
},
},
{
{
"__id__":
54
"__id__":
48
}
}
],
],
"_active": false,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -2444,8 +2265,8 @@
...
@@ -2444,8 +2265,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
244
,
"height":
0
"height":
232
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2456,8 +2277,8 @@
...
@@ -2456,8 +2277,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
535.658
,
0
,
-644.463
,
0,
0,
0,
0,
0,
0,
...
@@ -2479,35 +2300,35 @@
...
@@ -2479,35 +2300,35 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
07p8eJb8pC8pYEA8Xua6YQ
"
"_id": "
ccjgAxI1BG7rMV7gd/XEVE
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_btm
",
"_name": "
icon_record
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
7
"__id__": 4
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
9
"__id__": 4
6
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity":
120
,
"_opacity":
255
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
4
,
"r":
255
,
"g":
0
,
"g":
255
,
"b":
0
,
"b":
255
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
217
6,
"width":
10
6,
"height": 1
600
"height": 1
38
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2518,8 +2339,8 @@
...
@@ -2518,8 +2339,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-1.361
,
0
,
0.8
88,
17.5
88,
0,
0,
0,
0,
0,
0,
...
@@ -2541,14 +2362,14 @@
...
@@ -2541,14 +2362,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
ebSymemClARaK95V+wwkmN
"
"_id": "
11mMRungRPRJPc8PD0BfhD
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
8
"__id__": 4
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2559,10 +2380,10 @@
...
@@ -2559,10 +2380,10 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
a23235d1-15db-4b95-8439-a2e005bfff91
"
"__uuid__": "
c9122267-cd57-4742-bfe7-1c928880d5de
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2573,20 +2394,129 @@
...
@@ -2573,20 +2394,129 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "6a0nM66JFJn4MkmqFhBuAn"
"_id": "77Ktr/JFFJdZEjm+jqed6F"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ce2dae10-9b79-4de9-8163-75702e087b62"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "21hANBFtRFVLFqU9SFAO87"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_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": {
"__id__": 44
},
"_id": "b09HfTfohGxpd5Ff9vXa7G"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
g_light
",
"_name": "b
tn_recording
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
47
"__id__":
2
},
},
"_children": [],
"_children": [
"_active": true,
{
"__id__": 50
}
],
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 51
"__id__": 52
},
{
"__id__": 53
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2600,8 +2530,8 @@
...
@@ -2600,8 +2530,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1246
,
"width":
244
,
"height":
1234
"height":
232
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2612,8 +2542,8 @@
...
@@ -2612,8 +2542,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-8.982999999999947
,
535.658
,
32.778999999999996
,
-644.463
,
0,
0,
0,
0,
0,
0,
...
@@ -2635,52 +2565,20 @@
...
@@ -2635,52 +2565,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "694gyX3xhJgr9GoA+xQfJP"
"_id": "1biy/YkRFBIrvtBb6z4JQR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "61f2fdd4-a347-4bfa-820f-9440bf5e8519"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c42Hrx6dRDJItFAOtxoAkG"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_tryagain
",
"_name": "
icon_recording
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2694,8 +2592,8 @@
...
@@ -2694,8 +2592,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
068
,
"width": 1
87
,
"height":
416
"height":
61
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2706,8 +2604,8 @@
...
@@ -2706,8 +2604,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-1
0
,
-1
.582
,
34
,
23.375
,
0,
0,
0,
0,
0,
0,
...
@@ -2729,14 +2627,14 @@
...
@@ -2729,14 +2627,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
a0AIt+CpNAkYDbtRuwmm+K
"
"_id": "
83WLP36bhM7JJE3rZH6Vmz
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
2
"__id__": 5
0
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2747,7 +2645,7 @@
...
@@ -2747,7 +2645,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
536c7203-4462-4233-b8b5-87b85ef80023
"
"__uuid__": "
dff89d8e-e14f-4e19-ab8f-c7dd09bd4c68
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2761,17 +2659,119 @@
...
@@ -2761,17 +2659,119 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "42vj6URj5G8KnAupjQZEyn"
"_id": "6fqrgACQxG8Jm/6JE0zCdz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ce2dae10-9b79-4de9-8163-75702e087b62"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "56vZki/29P76v3Vp6qtBit"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 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": {
"__id__": 49
},
"_id": "feA2HsnyFASLUXjdq0vRse"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_success
",
"_name": "
icon_hand
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
47
"__id__":
2
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 55
"__id__": 55
...
@@ -2788,8 +2788,8 @@
...
@@ -2788,8 +2788,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
106
8,
"width":
8
8,
"height":
416
"height":
185
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2800,8 +2800,8 @@
...
@@ -2800,8 +2800,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-8.982999999999947
,
529.053
,
32.778999999999996
,
-456.351
,
0,
0,
0,
0,
0,
0,
...
@@ -2823,7 +2823,7 @@
...
@@ -2823,7 +2823,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
10QxNKt41KsKTF477vjYTv
"
"_id": "
72zamZOoRFGI+HU7MNmFC+
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -2841,7 +2841,7 @@
...
@@ -2841,7 +2841,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
0dfa1159-bf38-41f9-9fbd-3ce1de927a82
"
"__uuid__": "
8a3ed353-ff01-4d14-a50e-efa58a411f61
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2855,7 +2855,7 @@
...
@@ -2855,7 +2855,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
4ctQbxwJlIRYnqCNcxT5Ua
"
"_id": "
bfxrEXMJhHLYefc7ZxZ95L
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
...
play/assets/scene/scene/scene.js
View file @
ff7ec199
...
@@ -222,7 +222,7 @@ cc.Class({
...
@@ -222,7 +222,7 @@ cc.Class({
}
else
if
(
GameManager
.
getIns
().
getState
()
==
1
)
{
}
else
if
(
GameManager
.
getIns
().
getState
()
==
1
)
{
let
dragonDisplay
=
carton
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
let
dragonDisplay
=
carton
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
dragonDisplay
.
playAnimation
(
this
.
animationName
,
1
);
//animation所有的动画名称
dragonDisplay
.
playAnimation
(
this
.
animationName
,
1
);
//animation所有的动画名称
// 动画结束后,出现单词,同时播放音频-----缺少单词放大效果
setTimeout
(()
=>
{
setTimeout
(()
=>
{
pg
.
view
.
visible
(
icon_ex
,
true
);
pg
.
view
.
visible
(
icon_ex
,
true
);
let
icon_ex_word
=
this
.
_stageData
.
word
;
let
icon_ex_word
=
this
.
_stageData
.
word
;
...
@@ -250,7 +250,7 @@ cc.Class({
...
@@ -250,7 +250,7 @@ cc.Class({
pg
.
view
.
visible
(
btn_recording
,
true
);
pg
.
view
.
visible
(
btn_recording
,
true
);
pg
.
view
.
visible
(
progress
,
true
);
pg
.
view
.
visible
(
progress
,
true
);
}
else
if
(
GameManager
.
getIns
().
getState
()
==
3
)
{
}
else
if
(
GameManager
.
getIns
().
getState
()
==
3
)
{
pg
.
view
.
visible
(
btn_record
,
tru
e
);
pg
.
view
.
visible
(
btn_record
,
fals
e
);
pg
.
view
.
visible
(
btn_recording
,
false
);
pg
.
view
.
visible
(
btn_recording
,
false
);
pg
.
view
.
visible
(
progress
,
false
);
pg
.
view
.
visible
(
progress
,
false
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -263,6 +263,23 @@ cc.Class({
...
@@ -263,6 +263,23 @@ cc.Class({
},
1000
*
4
);
//6秒钟之后进入下一关卡
},
1000
*
4
);
//6秒钟之后进入下一关卡
}
else
if
(
GameManager
.
getIns
().
getState
()
==
4
)
{
}
else
if
(
GameManager
.
getIns
().
getState
()
==
4
)
{
// 一局失败弹出tryagain,同时下方录音按钮明亮并出现提示
// 一局失败弹出tryagain,同时下方录音按钮明亮并出现提示
pg
.
view
.
visible
(
end
,
true
);
pg
.
view
.
visible
(
bg_tryagain
,
true
);
pg
.
view
.
visible
(
btn_recording
,
false
);
pg
.
view
.
visible
(
btn_record
,
true
);
pg
.
view
.
visible
(
progress
,
false
);
setTimeout
(()
=>
{
this
.
playSFX
(
"
audio_record
"
);
pg
.
view
.
visible
(
icon_hand
,
true
);
let
action
=
cc
.
tween
(
icon_hand
);
action
.
sequence
(
cc
.
tween
().
by
(
0.5
,
{
y
:
50
}),
cc
.
tween
().
by
(
0.5
,
{
y
:
-
50
}),
).
repeatForever
();
action
.
start
();
},
1000
*
1
);
}
else
if
(
GameManager
.
getIns
().
getState
()
==
5
)
{
}
else
if
(
GameManager
.
getIns
().
getState
()
==
5
)
{
pg
.
view
.
visible
(
end
,
false
);
pg
.
view
.
visible
(
end
,
false
);
...
@@ -306,6 +323,10 @@ cc.Class({
...
@@ -306,6 +323,10 @@ cc.Class({
//按钮触发,使用的方法
//按钮触发,使用的方法
onTouchRecord
()
{
onTouchRecord
()
{
this
.
playSFX
(
"
audio_btns
"
);
this
.
playSFX
(
"
audio_btns
"
);
let
end
=
pg
.
view
.
find
(
this
,
"
end
"
);
let
bg_tryagain
=
pg
.
view
.
find
(
end
,
"
bg_tryagain
"
)
pg
.
view
.
visible
(
end
,
false
);
pg
.
view
.
visible
(
bg_tryagain
,
false
);
GameManager
.
getIns
().
setState
(
2
);
GameManager
.
getIns
().
setState
(
2
);
this
.
initLayout
()
this
.
initLayout
()
...
@@ -338,7 +359,7 @@ cc.Class({
...
@@ -338,7 +359,7 @@ cc.Class({
},
},
recrodEnd
(
data
)
{
recrodEnd
(
data
)
{
let
score
=
data
.
result
.
overall
;
let
score
=
data
.
result
.
overall
;
//
score = 40;
score
=
40
;
if
(
score
>
50
)
{
if
(
score
>
50
)
{
GameManager
.
getIns
().
setState
(
3
);
GameManager
.
getIns
().
setState
(
3
);
this
.
initLayout
();
this
.
initLayout
();
...
...
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