Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP32_PLUS
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
OP32_PLUS
Commits
2309dc1f
Commit
2309dc1f
authored
Oct 10, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加点击coolcat播放题目音频
parent
163456fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
399 additions
and
242 deletions
+399
-242
OP32_PLUS.meta
assets/OP32_PLUS.meta
+15
-1
OP32_PLUS.fire
assets/OP32_PLUS/scene/OP32_PLUS.fire
+373
-240
OP32_PLUS.js
assets/OP32_PLUS/scene/OP32_PLUS.js
+11
-1
No files found.
assets/OP32_PLUS.meta
View file @
2309dc1f
{"ver":"1.1.2","uuid":"efac53ec-d7b3-4ce9-aa78-c5e169cfd7c6","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "efac53ec-d7b3-4ce9-aa78-c5e169cfd7c6",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/OP32_PLUS/scene/OP32_PLUS.fire
View file @
2309dc1f
...
...
@@ -17,13 +17,13 @@
"__id__": 2
},
{
"__id__": 7
2
"__id__": 7
4
},
{
"__id__": 9
3
"__id__": 9
5
},
{
"__id__": 9
5
"__id__": 9
7
}
],
"_active": true,
...
...
@@ -84,22 +84,22 @@
"__id__": 5
},
{
"__id__": 4
4
"__id__": 4
6
},
{
"__id__": 4
7
"__id__": 4
9
}
],
"_active": true,
"_components": [
{
"__id__":
69
"__id__":
71
},
{
"__id__": 7
0
"__id__": 7
2
},
{
"__id__": 7
1
"__id__": 7
3
}
],
"_prefab": null,
...
...
@@ -302,7 +302,7 @@
"_active": true,
"_components": [
{
"__id__": 4
3
"__id__": 4
5
}
],
"_prefab": null,
...
...
@@ -1868,12 +1868,15 @@
"_children": [
{
"__id__": 40
},
{
"__id__": 42
}
],
"_active": true,
"_components": [
{
"__id__": 4
2
"__id__": 4
4
}
],
"_prefab": null,
...
...
@@ -2026,6 +2029,136 @@
"_N$enableBatch": false,
"_id": "2bGQ48cD1A26xniAejnUtn"
},
{
"__type__": "cc.Node",
"_name": "clickTarget",
"_objFlags": 0,
"_parent": {
"__id__": 39
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
905.501,
-493.38,
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": "26SUFicSxNlbHlTOZrQ4xD"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_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": "43pcZghylNhZ5LOdsbejTV"
},
{
"__type__": "cc.Widget",
"_name": "",
...
...
@@ -2091,10 +2224,10 @@
"_active": false,
"_components": [
{
"__id__": 4
5
"__id__": 4
7
},
{
"__id__": 4
6
"__id__": 4
8
}
],
"_prefab": null,
...
...
@@ -2150,7 +2283,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"_materials": [
...
...
@@ -2183,7 +2316,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
4
"__id__": 4
6
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -2214,23 +2347,23 @@
},
"_children": [
{
"__id__":
48
"__id__":
50
},
{
"__id__": 5
3
"__id__": 5
5
}
],
"_active": false,
"_components": [
{
"__id__": 6
6
"__id__": 6
8
},
{
"__id__": 6
7
"__id__": 6
9
}
],
"_prefab": {
"__id__":
68
"__id__":
70
},
"_opacity": 255,
"_color": {
...
...
@@ -2284,23 +2417,23 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
49
"__id__":
51
},
{
"__id__": 5
0
"__id__": 5
2
},
{
"__id__": 5
1
"__id__": 5
3
}
],
"_prefab": {
"__id__": 5
2
"__id__": 5
4
},
"_opacity": 100,
"_color": {
...
...
@@ -2354,7 +2487,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"_materials": [
...
...
@@ -2386,7 +2519,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -2413,7 +2546,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
50
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -2479,7 +2612,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 4
7
"__id__": 4
9
},
"asset": {
"__uuid__": "eeda0150-a627-49d0-9a7a-0fc5f756ec78"
...
...
@@ -2492,24 +2625,24 @@
"_name": "BtnFrame",
"_objFlags": 0,
"_parent": {
"__id__": 4
7
"__id__": 4
9
},
"_children": [
{
"__id__": 5
4
"__id__": 5
6
},
{
"__id__":
59
"__id__":
61
}
],
"_active": true,
"_components": [
{
"__id__": 6
4
"__id__": 6
6
}
],
"_prefab": {
"__id__": 6
5
"__id__": 6
7
},
"_opacity": 255,
"_color": {
...
...
@@ -2563,23 +2696,23 @@
"_name": "BtnExit",
"_objFlags": 0,
"_parent": {
"__id__": 5
3
"__id__": 5
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
5
"__id__": 5
7
},
{
"__id__": 5
6
"__id__": 5
8
},
{
"__id__": 5
7
"__id__": 5
9
}
],
"_prefab": {
"__id__":
58
"__id__":
60
},
"_opacity": 255,
"_color": {
...
...
@@ -2633,7 +2766,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
4
"__id__": 5
6
},
"_enabled": true,
"_materials": [
...
...
@@ -2665,7 +2798,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
4
"__id__": 5
6
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -2692,7 +2825,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
4
"__id__": 5
6
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -2758,7 +2891,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 4
7
"__id__": 4
9
},
"asset": {
"__uuid__": "eeda0150-a627-49d0-9a7a-0fc5f756ec78"
...
...
@@ -2771,23 +2904,23 @@
"_name": "BtnPlayAgain",
"_objFlags": 0,
"_parent": {
"__id__": 5
3
"__id__": 5
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
0
"__id__": 6
2
},
{
"__id__": 6
1
"__id__": 6
3
},
{
"__id__": 6
2
"__id__": 6
4
}
],
"_prefab": {
"__id__": 6
3
"__id__": 6
5
},
"_opacity": 255,
"_color": {
...
...
@@ -2841,7 +2974,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
61
},
"_enabled": true,
"_materials": [
...
...
@@ -2873,7 +3006,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
61
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -2900,7 +3033,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
59
"__id__":
61
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -2966,7 +3099,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 4
7
"__id__": 4
9
},
"asset": {
"__uuid__": "eeda0150-a627-49d0-9a7a-0fc5f756ec78"
...
...
@@ -2979,7 +3112,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
3
"__id__": 5
5
},
"_enabled": true,
"_materials": [
...
...
@@ -3009,7 +3142,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 4
7
"__id__": 4
9
},
"asset": {
"__uuid__": "eeda0150-a627-49d0-9a7a-0fc5f756ec78"
...
...
@@ -3022,7 +3155,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
9
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -3049,7 +3182,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
9
},
"_enabled": true,
"_id": "e1uzFCt0pKAYCyt24DtQmx"
...
...
@@ -3057,7 +3190,7 @@
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 4
7
"__id__": 4
9
},
"asset": {
"__uuid__": "eeda0150-a627-49d0-9a7a-0fc5f756ec78"
...
...
@@ -3130,9 +3263,6 @@
"__id__": 1
},
"_children": [
{
"__id__": 73
},
{
"__id__": 75
},
...
...
@@ -3159,6 +3289,9 @@
},
{
"__id__": 91
},
{
"__id__": 93
}
],
"_active": true,
...
...
@@ -3216,13 +3349,13 @@
"_name": "next",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
4
"__id__": 7
6
}
],
"_prefab": null,
...
...
@@ -3278,7 +3411,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
3
"__id__": 7
5
},
"_enabled": true,
"_clip": {
...
...
@@ -3297,13 +3430,13 @@
"_name": "boxJump",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
6
"__id__": 7
8
}
],
"_prefab": null,
...
...
@@ -3359,7 +3492,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
5
"__id__": 7
7
},
"_enabled": true,
"_clip": {
...
...
@@ -3378,13 +3511,13 @@
"_name": "jumpAll",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
78
"__id__":
80
}
],
"_prefab": null,
...
...
@@ -3440,7 +3573,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
7
"__id__": 7
9
},
"_enabled": true,
"_clip": {
...
...
@@ -3459,13 +3592,13 @@
"_name": "submit",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
0
"__id__": 8
2
}
],
"_prefab": null,
...
...
@@ -3521,7 +3654,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
79
"__id__":
81
},
"_enabled": true,
"_clip": {
...
...
@@ -3540,13 +3673,13 @@
"_name": "flyBack",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
2
"__id__": 8
4
}
],
"_prefab": null,
...
...
@@ -3602,7 +3735,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
1
"__id__": 8
3
},
"_enabled": true,
"_clip": {
...
...
@@ -3621,13 +3754,13 @@
"_name": "flyBackAll",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
4
"__id__": 8
6
}
],
"_prefab": null,
...
...
@@ -3683,7 +3816,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
3
"__id__": 8
5
},
"_enabled": true,
"_clip": {
...
...
@@ -3702,13 +3835,13 @@
"_name": "CoolCatRight",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
6
"__id__": 8
8
}
],
"_prefab": null,
...
...
@@ -3764,7 +3897,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
5
"__id__": 8
7
},
"_enabled": true,
"_clip": {
...
...
@@ -3783,13 +3916,13 @@
"_name": "CoolCatWrong",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
88
"__id__":
90
}
],
"_prefab": null,
...
...
@@ -3845,7 +3978,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
7
"__id__": 8
9
},
"_enabled": true,
"_clip": {
...
...
@@ -3864,13 +3997,13 @@
"_name": "CoolCatBegin",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
0
"__id__": 9
2
}
],
"_prefab": null,
...
...
@@ -3926,7 +4059,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
91
},
"_enabled": true,
"_clip": {
...
...
@@ -3945,13 +4078,13 @@
"_name": "CoolCatFinish",
"_objFlags": 0,
"_parent": {
"__id__": 7
2
"__id__": 7
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
2
"__id__": 9
4
}
],
"_prefab": null,
...
...
@@ -4007,7 +4140,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
1
"__id__": 9
3
},
"_enabled": true,
"_clip": {
...
...
@@ -4032,7 +4165,7 @@
"_active": true,
"_components": [
{
"__id__": 9
4
"__id__": 9
6
}
],
"_prefab": null,
...
...
@@ -4088,7 +4221,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
3
"__id__": 9
5
},
"_enabled": true,
"_materials": [
...
...
@@ -4123,29 +4256,29 @@
"__id__": 1
},
"_children": [
{
"__id__": 96
},
{
"__id__": 98
},
{
"__id__": 10
1
"__id__": 10
0
},
{
"__id__": 103
},
{
"__id__": 165
"__id__": 105
},
{
"__id__": 167
}
],
"_active": false,
"_components": [
{
"__id__": 1
69
"__id__": 1
71
},
{
"__id__": 17
0
"__id__": 17
2
}
],
"_prefab": null,
...
...
@@ -4201,13 +4334,13 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 9
7
"__id__": 9
9
}
],
"_prefab": null,
...
...
@@ -4263,7 +4396,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
6
"__id__": 9
8
},
"_enabled": true,
"_materials": [],
...
...
@@ -4291,16 +4424,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
99
"__id__":
101
},
{
"__id__": 10
0
"__id__": 10
2
}
],
"_prefab": null,
...
...
@@ -4356,7 +4489,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
98
"__id__":
100
},
"_enabled": true,
"_materials": [
...
...
@@ -4388,7 +4521,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
98
"__id__":
100
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -4415,13 +4548,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
2
"__id__": 10
4
}
],
"_prefab": null,
...
...
@@ -4477,7 +4610,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
1
"__id__": 10
3
},
"_enabled": true,
"_materials": [
...
...
@@ -4510,12 +4643,9 @@
"_name": "jiangtaiNode",
"_objFlags": 0,
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
"_children": [
{
"__id__": 104
},
{
"__id__": 106
},
...
...
@@ -4526,16 +4656,19 @@
"__id__": 110
},
{
"__id__": 1
21
"__id__": 1
12
},
{
"__id__": 1
32
"__id__": 1
23
},
{
"__id__": 1
43
"__id__": 1
34
},
{
"__id__": 154
"__id__": 145
},
{
"__id__": 156
}
],
"_active": false,
...
...
@@ -4593,13 +4726,13 @@
"_name": "fire",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
5
"__id__": 10
7
}
],
"_prefab": null,
...
...
@@ -4655,7 +4788,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
4
"__id__": 10
6
},
"_enabled": true,
"_materials": [
...
...
@@ -4687,13 +4820,13 @@
"_name": "light",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
7
"__id__": 10
9
}
],
"_prefab": null,
...
...
@@ -4749,7 +4882,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
6
"__id__": 10
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4781,13 +4914,13 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
09
"__id__": 1
11
}
],
"_prefab": null,
...
...
@@ -4843,7 +4976,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
08
"__id__": 1
10
},
"_enabled": true,
"_materials": [
...
...
@@ -4875,20 +5008,20 @@
"_name": "head_0",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [
{
"__id__": 111
},
{
"__id__": 115
"__id__": 113
},
{
"__id__": 117
},
{
"__id__": 119
},
{
"__id__": 121
}
],
"_active": false,
...
...
@@ -4946,17 +5079,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [
{
"__id__": 11
2
"__id__": 11
4
}
],
"_active": true,
"_components": [
{
"__id__": 11
4
"__id__": 11
6
}
],
"_prefab": null,
...
...
@@ -5012,13 +5145,13 @@
"_name": "headImg",
"_objFlags": 0,
"_parent": {
"__id__": 11
1
"__id__": 11
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
3
"__id__": 11
5
}
],
"_prefab": null,
...
...
@@ -5074,7 +5207,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
2
"__id__": 11
4
},
"_enabled": true,
"_materials": [
...
...
@@ -5106,7 +5239,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
1
"__id__": 11
3
},
"_enabled": true,
"_materials": [
...
...
@@ -5128,13 +5261,13 @@
"_name": "head",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
6
"__id__": 11
8
}
],
"_prefab": null,
...
...
@@ -5190,7 +5323,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
5
"__id__": 11
7
},
"_enabled": true,
"_materials": [
...
...
@@ -5222,13 +5355,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
18
"__id__": 1
20
}
],
"_prefab": null,
...
...
@@ -5284,7 +5417,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
7
"__id__": 11
9
},
"_enabled": true,
"_materials": [
...
...
@@ -5319,13 +5452,13 @@
"_name": "arrow",
"_objFlags": 0,
"_parent": {
"__id__": 11
0
"__id__": 11
2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 12
0
"__id__": 12
2
}
],
"_prefab": null,
...
...
@@ -5381,7 +5514,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
19
"__id__": 1
21
},
"_enabled": true,
"_materials": [
...
...
@@ -5413,20 +5546,20 @@
"_name": "head_1",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [
{
"__id__": 122
},
{
"__id__": 126
"__id__": 124
},
{
"__id__": 128
},
{
"__id__": 130
},
{
"__id__": 132
}
],
"_active": false,
...
...
@@ -5484,17 +5617,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 12
1
"__id__": 12
3
},
"_children": [
{
"__id__": 12
3
"__id__": 12
5
}
],
"_active": true,
"_components": [
{
"__id__": 12
5
"__id__": 12
7
}
],
"_prefab": null,
...
...
@@ -5550,13 +5683,13 @@
"_name": "headImg",
"_objFlags": 0,
"_parent": {
"__id__": 12
2
"__id__": 12
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
4
"__id__": 12
6
}
],
"_prefab": null,
...
...
@@ -5612,7 +5745,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
3
"__id__": 12
5
},
"_enabled": true,
"_materials": [
...
...
@@ -5644,7 +5777,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
2
"__id__": 12
4
},
"_enabled": true,
"_materials": [
...
...
@@ -5666,13 +5799,13 @@
"_name": "head",
"_objFlags": 0,
"_parent": {
"__id__": 12
1
"__id__": 12
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
7
"__id__": 12
9
}
],
"_prefab": null,
...
...
@@ -5728,7 +5861,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
6
"__id__": 12
8
},
"_enabled": true,
"_materials": [
...
...
@@ -5760,13 +5893,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 12
1
"__id__": 12
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
29
"__id__": 1
31
}
],
"_prefab": null,
...
...
@@ -5822,7 +5955,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
28
"__id__": 1
30
},
"_enabled": true,
"_materials": [
...
...
@@ -5857,13 +5990,13 @@
"_name": "arrow",
"_objFlags": 0,
"_parent": {
"__id__": 12
1
"__id__": 12
3
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 13
1
"__id__": 13
3
}
],
"_prefab": null,
...
...
@@ -5919,7 +6052,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
0
"__id__": 13
2
},
"_enabled": true,
"_materials": [
...
...
@@ -5951,20 +6084,20 @@
"_name": "head_2",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [
{
"__id__": 133
},
{
"__id__": 137
"__id__": 135
},
{
"__id__": 139
},
{
"__id__": 141
},
{
"__id__": 143
}
],
"_active": false,
...
...
@@ -6022,17 +6155,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 13
2
"__id__": 13
4
},
"_children": [
{
"__id__": 13
4
"__id__": 13
6
}
],
"_active": true,
"_components": [
{
"__id__": 13
6
"__id__": 13
8
}
],
"_prefab": null,
...
...
@@ -6088,13 +6221,13 @@
"_name": "headImg",
"_objFlags": 0,
"_parent": {
"__id__": 13
3
"__id__": 13
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
5
"__id__": 13
7
}
],
"_prefab": null,
...
...
@@ -6150,7 +6283,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
4
"__id__": 13
6
},
"_enabled": true,
"_materials": [
...
...
@@ -6182,7 +6315,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
3
"__id__": 13
5
},
"_enabled": true,
"_materials": [
...
...
@@ -6204,13 +6337,13 @@
"_name": "head",
"_objFlags": 0,
"_parent": {
"__id__": 13
2
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
38
"__id__": 1
40
}
],
"_prefab": null,
...
...
@@ -6266,7 +6399,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
7
"__id__": 13
9
},
"_enabled": true,
"_materials": [
...
...
@@ -6298,13 +6431,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 13
2
"__id__": 13
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
0
"__id__": 14
2
}
],
"_prefab": null,
...
...
@@ -6360,7 +6493,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
39
"__id__": 1
41
},
"_enabled": true,
"_materials": [
...
...
@@ -6395,13 +6528,13 @@
"_name": "arrow",
"_objFlags": 0,
"_parent": {
"__id__": 13
2
"__id__": 13
4
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 14
2
"__id__": 14
4
}
],
"_prefab": null,
...
...
@@ -6457,7 +6590,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
1
"__id__": 14
3
},
"_enabled": true,
"_materials": [
...
...
@@ -6489,20 +6622,20 @@
"_name": "head_3",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [
{
"__id__": 144
},
{
"__id__": 148
"__id__": 146
},
{
"__id__": 150
},
{
"__id__": 152
},
{
"__id__": 154
}
],
"_active": false,
...
...
@@ -6560,17 +6693,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
5
},
"_children": [
{
"__id__": 14
5
"__id__": 14
7
}
],
"_active": true,
"_components": [
{
"__id__": 14
7
"__id__": 14
9
}
],
"_prefab": null,
...
...
@@ -6626,13 +6759,13 @@
"_name": "headImg",
"_objFlags": 0,
"_parent": {
"__id__": 14
4
"__id__": 14
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
6
"__id__": 14
8
}
],
"_prefab": null,
...
...
@@ -6688,7 +6821,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
5
"__id__": 14
7
},
"_enabled": true,
"_materials": [
...
...
@@ -6720,7 +6853,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
4
"__id__": 14
6
},
"_enabled": true,
"_materials": [
...
...
@@ -6742,13 +6875,13 @@
"_name": "head",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
49
"__id__": 1
51
}
],
"_prefab": null,
...
...
@@ -6804,7 +6937,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
48
"__id__": 1
50
},
"_enabled": true,
"_materials": [
...
...
@@ -6836,13 +6969,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
1
"__id__": 15
3
}
],
"_prefab": null,
...
...
@@ -6898,7 +7031,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
0
"__id__": 15
2
},
"_enabled": true,
"_materials": [
...
...
@@ -6933,13 +7066,13 @@
"_name": "arrow",
"_objFlags": 0,
"_parent": {
"__id__": 14
3
"__id__": 14
5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 15
3
"__id__": 15
5
}
],
"_prefab": null,
...
...
@@ -6995,7 +7128,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
2
"__id__": 15
4
},
"_enabled": true,
"_materials": [
...
...
@@ -7027,20 +7160,20 @@
"_name": "head_4",
"_objFlags": 0,
"_parent": {
"__id__": 10
3
"__id__": 10
5
},
"_children": [
{
"__id__": 155
},
{
"__id__": 159
"__id__": 157
},
{
"__id__": 161
},
{
"__id__": 163
},
{
"__id__": 165
}
],
"_active": false,
...
...
@@ -7098,17 +7231,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 15
4
"__id__": 15
6
},
"_children": [
{
"__id__": 15
6
"__id__": 15
8
}
],
"_active": true,
"_components": [
{
"__id__": 1
58
"__id__": 1
60
}
],
"_prefab": null,
...
...
@@ -7164,13 +7297,13 @@
"_name": "headImg",
"_objFlags": 0,
"_parent": {
"__id__": 15
5
"__id__": 15
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
7
"__id__": 15
9
}
],
"_prefab": null,
...
...
@@ -7226,7 +7359,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
6
"__id__": 15
8
},
"_enabled": true,
"_materials": [
...
...
@@ -7258,7 +7391,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
5
"__id__": 15
7
},
"_enabled": true,
"_materials": [
...
...
@@ -7280,13 +7413,13 @@
"_name": "head",
"_objFlags": 0,
"_parent": {
"__id__": 15
4
"__id__": 15
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
0
"__id__": 16
2
}
],
"_prefab": null,
...
...
@@ -7342,7 +7475,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
59
"__id__": 1
61
},
"_enabled": true,
"_materials": [
...
...
@@ -7374,13 +7507,13 @@
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 15
4
"__id__": 15
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
2
"__id__": 16
4
}
],
"_prefab": null,
...
...
@@ -7436,7 +7569,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
1
"__id__": 16
3
},
"_enabled": true,
"_materials": [
...
...
@@ -7471,13 +7604,13 @@
"_name": "arrow",
"_objFlags": 0,
"_parent": {
"__id__": 15
4
"__id__": 15
6
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 16
4
"__id__": 16
6
}
],
"_prefab": null,
...
...
@@ -7533,7 +7666,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
3
"__id__": 16
5
},
"_enabled": true,
"_materials": [
...
...
@@ -7565,17 +7698,17 @@
"_name": "catFrame",
"_objFlags": 0,
"_parent": {
"__id__": 9
5
"__id__": 9
7
},
"_children": [
{
"__id__": 16
6
"__id__": 16
8
}
],
"_active": true,
"_components": [
{
"__id__": 1
68
"__id__": 1
70
}
],
"_prefab": null,
...
...
@@ -7631,13 +7764,13 @@
"_name": "CoolCat",
"_objFlags": 0,
"_parent": {
"__id__": 16
5
"__id__": 16
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
7
"__id__": 16
9
}
],
"_prefab": null,
...
...
@@ -7693,7 +7826,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
6
"__id__": 16
8
},
"_enabled": true,
"_materials": [
...
...
@@ -7733,7 +7866,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
5
"__id__": 16
7
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7760,7 +7893,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
7
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7787,7 +7920,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
5
"__id__": 9
7
},
"_enabled": true,
"_id": "2ePvFR+ndAyLJHbJvLo8xe"
...
...
assets/OP32_PLUS/scene/OP32_PLUS.js
View file @
2309dc1f
...
...
@@ -202,6 +202,7 @@ cc.Class({
};
},
gameStart
:
false
,
async
initView
()
{
const
loadingLayerBase
=
cc
.
find
(
"
Canvas/bg/loadingLayerBase
"
);
const
loadingLayerNode
=
cc
.
instantiate
(
this
.
loadingLayerProfab
);
...
...
@@ -212,8 +213,8 @@ cc.Class({
this
.
loadingLayer
.
setMaxPlayerNumber
(
5
);
this
.
loadingLayer
.
onLoadFinished
(()
=>
{
this
.
gameStart
=
true
;
this
.
refreshCoolCatPosition
();
this
.
coolCatSpeakStart
(()
=>
{
this
.
startCountTime
();
this
.
jumpToQuestion
(
this
.
status
.
currentQuestionIdx
);
...
...
@@ -397,6 +398,15 @@ cc.Class({
this
.
optionJump
(
btnNext
,
0.05
);
});
const
coolCat
=
cc
.
find
(
"
Canvas/bg/catFrame/clickTarget
"
);
coolCat
.
on
(
"
click
"
,
()
=>
{
if
(
this
.
gameStart
)
{
const
questionAudioUrl
=
this
.
data
.
question_arr
[
this
.
status
.
currentQuestionIdx
].
audio_url
;
console
.
log
(
"
Click coolcat:
"
,
questionAudioUrl
)
this
.
coolCatSpeak
(
questionAudioUrl
)
}
});
this
.
initNetworkListener
();
},
...
...
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