Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ngt7_fish
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
ngt7_fish
Commits
d1638871
Commit
d1638871
authored
Oct 23, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
音效添加完成
parent
964c8b01
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
1649 additions
and
355 deletions
+1649
-355
error.mp3
assets/ngt7_fish/audios/error.mp3
+0
-0
error.mp3.meta
assets/ngt7_fish/audios/error.mp3.meta
+7
-0
right.mp3
assets/ngt7_fish/audios/right.mp3
+0
-0
right.mp3.meta
assets/ngt7_fish/audios/right.mp3.meta
+7
-0
boatmove.ts
assets/ngt7_fish/scene/game/boatmove.ts
+42
-0
boatmove.ts.meta
assets/ngt7_fish/scene/game/boatmove.ts.meta
+9
-0
netscale.ts
assets/ngt7_fish/scene/game/netscale.ts
+42
-0
netscale.ts.meta
assets/ngt7_fish/scene/game/netscale.ts.meta
+9
-0
ngt7_fish.fire
assets/ngt7_fish/scene/ngt7_fish.fire
+1340
-335
ngt7_fish.ts
assets/ngt7_fish/scene/ngt7_fish.ts
+73
-20
voice.meta
assets/ngt7_fish/textures/fish/voice.meta
+12
-0
v1.png
assets/ngt7_fish/textures/fish/voice/v1.png
+0
-0
v1.png.meta
assets/ngt7_fish/textures/fish/voice/v1.png.meta
+36
-0
v2.png
assets/ngt7_fish/textures/fish/voice/v2.png
+0
-0
v2.png.meta
assets/ngt7_fish/textures/fish/voice/v2.png.meta
+36
-0
v3.png
assets/ngt7_fish/textures/fish/voice/v3.png
+0
-0
v3.png.meta
assets/ngt7_fish/textures/fish/voice/v3.png.meta
+36
-0
No files found.
assets/ngt7_fish/audios/error.mp3
0 → 100644
View file @
d1638871
File added
assets/ngt7_fish/audios/error.mp3.meta
0 → 100644
View file @
d1638871
{
"ver": "2.0.1",
"uuid": "816d8590-0603-4136-ab5b-9940e8616a2d",
"downloadMode": 0,
"duration": 1.306122,
"subMetas": {}
}
\ No newline at end of file
assets/ngt7_fish/audios/right.mp3
0 → 100644
View file @
d1638871
File added
assets/ngt7_fish/audios/right.mp3.meta
0 → 100644
View file @
d1638871
{
"ver": "2.0.1",
"uuid": "afb37858-5693-40e2-b4f9-156c2536bbef",
"downloadMode": 0,
"duration": 1.828571,
"subMetas": {}
}
\ No newline at end of file
assets/ngt7_fish/scene/game/boatmove.ts
0 → 100644
View file @
d1638871
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
@
ccclass
export
default
class
NewClass
extends
cc
.
Component
{
@
property
firstUp
:
boolean
=
true
;
// LIFE-CYCLE CALLBACKS:
onLoad
()
{
if
(
this
.
firstUp
)
{
cc
.
tween
(
this
.
node
).
repeatForever
(
cc
.
tween
()
.
by
(
10
,
{
y
:
25
})
.
by
(
10
,
{
y
:
-
25
})
.
by
(
10
,
{
y
:
-
25
})
.
by
(
10
,
{
y
:
25
})
).
start
();
}
else
{
cc
.
tween
(
this
.
node
).
repeatForever
(
cc
.
tween
()
.
by
(
10
,
{
y
:
-
25
})
.
by
(
10
,
{
y
:
25
})
.
by
(
10
,
{
y
:
25
})
.
by
(
10
,
{
y
:
-
25
})
).
start
();
}
}
start
()
{
}
// update (dt) {}
}
assets/ngt7_fish/scene/game/boatmove.ts.meta
0 → 100644
View file @
d1638871
{
"ver": "1.0.8",
"uuid": "4937e51d-fabc-4acf-a0c7-d6d5bce868b0",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/ngt7_fish/scene/game/netscale.ts
0 → 100644
View file @
d1638871
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
@
ccclass
export
default
class
NewClass
extends
cc
.
Component
{
@
property
firstUp
:
boolean
=
true
;
// LIFE-CYCLE CALLBACKS:
onLoad
()
{
if
(
this
.
firstUp
)
{
cc
.
tween
(
this
.
node
).
repeatForever
(
cc
.
tween
()
.
to
(
10
,
{
scale
:
0.97
})
.
to
(
10
,
{
scale
:
1.00
})
.
to
(
10
,
{
scale
:
1.03
})
.
to
(
10
,
{
scale
:
1.00
})
).
start
();
}
else
{
cc
.
tween
(
this
.
node
).
repeatForever
(
cc
.
tween
()
.
to
(
10
,
{
scale
:
1.03
})
.
to
(
10
,
{
scale
:
1.00
})
.
to
(
10
,
{
scale
:
0.97
})
.
to
(
10
,
{
scale
:
1.00
})
).
start
();
}
}
start
()
{
}
// update (dt) {}
}
assets/ngt7_fish/scene/game/netscale.ts.meta
0 → 100644
View file @
d1638871
{
"ver": "1.0.8",
"uuid": "dd0efcab-7baa-485c-8197-5c9fabdee674",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/ngt7_fish/scene/ngt7_fish.fire
View file @
d1638871
...
@@ -75,43 +75,43 @@
...
@@ -75,43 +75,43 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__":
29
"__id__":
33
},
},
{
{
"__id__": 3
1
"__id__": 3
5
},
},
{
{
"__id__":
39
"__id__":
43
},
},
{
{
"__id__":
87
"__id__":
110
},
},
{
{
"__id__":
89
"__id__":
112
},
},
{
{
"__id__":
95
"__id__":
118
},
},
{
{
"__id__":
97
"__id__":
120
},
},
{
{
"__id__": 1
22
"__id__": 1
45
},
},
{
{
"__id__": 1
41
"__id__": 1
64
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
52
"__id__": 1
75
},
},
{
{
"__id__": 1
53
"__id__": 1
76
},
},
{
{
"__id__": 1
54
"__id__": 1
77
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -666,6 +666,12 @@
...
@@ -666,6 +666,12 @@
},
},
{
{
"__id__": 27
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1366,6 +1372,168 @@
...
@@ -1366,6 +1372,168 @@
"preload": false,
"preload": false,
"_id": "4cslh0QgRC7Zi4LG7D8+k7"
"_id": "4cslh0QgRC7Zi4LG7D8+k7"
},
},
{
"__type__": "cc.Node",
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
}
],
"_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": "24gQNZC5VGO6aOg9iq1Eei"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_clip": {
"__uuid__": "816d8590-0603-4136-ab5b-9940e8616a2d"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "c1WByDFQNI/7CmlEb1as1t"
},
{
"__type__": "cc.Node",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_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": "bdb+1Z6DFCgYRNlvAcf5Qe"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_clip": {
"__uuid__": "afb37858-5693-40e2-b4f9-156c2536bbef"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "18tvO6xrtAGpYF9P/QETrg"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "view",
"_name": "view",
...
@@ -1377,7 +1545,7 @@
...
@@ -1377,7 +1545,7 @@
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 3
0
"__id__": 3
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1433,7 +1601,7 @@
...
@@ -1433,7 +1601,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
29
"__id__":
33
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1469,16 +1637,16 @@
...
@@ -1469,16 +1637,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 3
2
"__id__": 3
6
},
},
{
{
"__id__": 3
5
"__id__": 3
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
38
"__id__":
42
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1534,16 +1702,16 @@
...
@@ -1534,16 +1702,16 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
1
"__id__": 3
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
3
"__id__": 3
7
},
},
{
{
"__id__": 3
4
"__id__": 3
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1599,7 +1767,7 @@
...
@@ -1599,7 +1767,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
2
"__id__": 3
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1631,7 +1799,7 @@
...
@@ -1631,7 +1799,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
2
"__id__": 3
6
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1658,16 +1826,16 @@
...
@@ -1658,16 +1826,16 @@
"_name": "背景的长河_ske",
"_name": "背景的长河_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
1
"__id__": 3
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
36
"__id__":
40
},
},
{
{
"__id__":
37
"__id__":
41
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1723,7 +1891,7 @@
...
@@ -1723,7 +1891,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
5
"__id__": 3
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1763,7 +1931,7 @@
...
@@ -1763,7 +1931,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
5
"__id__": 3
9
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1790,7 +1958,7 @@
...
@@ -1790,7 +1958,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
1
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1821,22 +1989,22 @@
...
@@ -1821,22 +1989,22 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 4
0
"__id__": 4
4
},
},
{
{
"__id__":
69
"__id__":
73
},
},
{
{
"__id__": 7
0
"__id__": 7
4
},
},
{
{
"__id__":
78
"__id__":
92
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
86
"__id__":
109
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1892,20 +2060,20 @@
...
@@ -1892,20 +2060,20 @@
"_name": "item",
"_name": "item",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
43
},
},
"_children": [
"_children": [
{
{
"__id__": 4
1
"__id__": 4
5
},
},
{
{
"__id__": 6
3
"__id__": 6
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
68
"__id__":
72
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1961,15 +2129,9 @@
...
@@ -1961,15 +2129,9 @@
"_name": "fish",
"_name": "fish",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
0
"__id__": 4
4
},
},
"_children": [
"_children": [
{
"__id__": 42
},
{
"__id__": 44
},
{
{
"__id__": 46
"__id__": 46
},
},
...
@@ -1993,12 +2155,18 @@
...
@@ -1993,12 +2155,18 @@
},
},
{
{
"__id__": 60
"__id__": 60
},
{
"__id__": 62
},
{
"__id__": 64
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
2
"__id__": 6
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2054,13 +2222,13 @@
...
@@ -2054,13 +2222,13 @@
"_name": "fish_1",
"_name": "fish_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2116,7 +2284,7 @@
...
@@ -2116,7 +2284,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2156,13 +2324,13 @@
...
@@ -2156,13 +2324,13 @@
"_name": "fish_2",
"_name": "fish_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2218,7 +2386,7 @@
...
@@ -2218,7 +2386,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
4
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2258,13 +2426,13 @@
...
@@ -2258,13 +2426,13 @@
"_name": "fish_3",
"_name": "fish_3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
47
"__id__":
51
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2320,7 +2488,7 @@
...
@@ -2320,7 +2488,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
46
"__id__":
50
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2360,13 +2528,13 @@
...
@@ -2360,13 +2528,13 @@
"_name": "fish_4",
"_name": "fish_4",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
49
"__id__":
53
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2422,7 +2590,7 @@
...
@@ -2422,7 +2590,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
48
"__id__":
52
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2462,13 +2630,13 @@
...
@@ -2462,13 +2630,13 @@
"_name": "fish_5",
"_name": "fish_5",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2524,7 +2692,7 @@
...
@@ -2524,7 +2692,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2564,13 +2732,13 @@
...
@@ -2564,13 +2732,13 @@
"_name": "fish_6",
"_name": "fish_6",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2626,7 +2794,7 @@
...
@@ -2626,7 +2794,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
2
"__id__": 5
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2666,13 +2834,13 @@
...
@@ -2666,13 +2834,13 @@
"_name": "fish_7",
"_name": "fish_7",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 5
5
"__id__": 5
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2728,7 +2896,7 @@
...
@@ -2728,7 +2896,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2768,13 +2936,13 @@
...
@@ -2768,13 +2936,13 @@
"_name": "fish_8",
"_name": "fish_8",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
57
"__id__":
61
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2830,7 +2998,7 @@
...
@@ -2830,7 +2998,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
56
"__id__":
60
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2870,13 +3038,13 @@
...
@@ -2870,13 +3038,13 @@
"_name": "fish_9",
"_name": "fish_9",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
59
"__id__":
63
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2932,7 +3100,7 @@
...
@@ -2932,7 +3100,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
58
"__id__":
62
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2972,13 +3140,13 @@
...
@@ -2972,13 +3140,13 @@
"_name": "fish_10",
"_name": "fish_10",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
1
"__id__": 4
5
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
1
"__id__": 6
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3034,7 +3202,7 @@
...
@@ -3034,7 +3202,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
0
"__id__": 6
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3074,7 +3242,7 @@
...
@@ -3074,7 +3242,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
5
},
},
"_enabled": false,
"_enabled": false,
"_materials": [
"_materials": [
...
@@ -3106,14 +3274,14 @@
...
@@ -3106,14 +3274,14 @@
"_name": "layout_text",
"_name": "layout_text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
0
"__id__": 4
4
},
},
"_children": [
"_children": [
{
{
"__id__": 6
4
"__id__": 6
8
},
},
{
{
"__id__":
66
"__id__":
70
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3171,13 +3339,13 @@
...
@@ -3171,13 +3339,13 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
3
"__id__": 6
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
5
"__id__": 6
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3233,7 +3401,7 @@
...
@@ -3233,7 +3401,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
4
"__id__": 6
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3265,13 +3433,13 @@
...
@@ -3265,13 +3433,13 @@
"_name": "text",
"_name": "text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
3
"__id__": 6
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
67
"__id__":
71
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3327,7 +3495,7 @@
...
@@ -3327,7 +3495,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
66
"__id__":
70
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3362,7 +3530,7 @@
...
@@ -3362,7 +3530,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
4
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -3423,7 +3591,7 @@
...
@@ -3423,7 +3591,7 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"_N$target": {
"__id__": 4
0
"__id__": 4
4
},
},
"_id": "a1Avh4LwBKJKeCLMrv0hnM"
"_id": "a1Avh4LwBKJKeCLMrv0hnM"
},
},
...
@@ -3432,7 +3600,7 @@
...
@@ -3432,7 +3600,7 @@
"_name": "layout_fish",
"_name": "layout_fish",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
43
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -3490,17 +3658,17 @@
...
@@ -3490,17 +3658,17 @@
"_name": "boat_left",
"_name": "boat_left",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
43
},
},
"_children": [
"_children": [
{
{
"__id__": 7
1
"__id__": 7
5
},
},
{
{
"__id__": 7
3
"__id__": 7
8
},
},
{
{
"__id__":
75
"__id__":
89
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3558,13 +3726,16 @@
...
@@ -3558,13 +3726,16 @@
"_name": "net",
"_name": "net",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 72
"__id__": 76
},
{
"__id__": 77
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3584,14 +3755,14 @@
...
@@ -3584,14 +3755,14 @@
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0.5,
"x": 0.5,
"y":
0.5
"y":
1
},
},
"_trs": {
"_trs": {
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
5.526,
5.526,
2
9.398
,
2
40.519
,
0,
0,
0,
0,
0,
0,
...
@@ -3620,7 +3791,7 @@
...
@@ -3620,7 +3791,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
1
"__id__": 7
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3647,18 +3818,39 @@
...
@@ -3647,18 +3818,39 @@
"_atlas": null,
"_atlas": null,
"_id": "988u5Imk5KmLFem99r6rRm"
"_id": "988u5Imk5KmLFem99r6rRm"
},
},
{
"__type__": "dd0efyre6pIXIGXXJ+r3uZ0",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
},
"_enabled": true,
"firstUp": true,
"_id": "b4DDK1JD5KOpTznwuT8lcB"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "boat",
"_name": "boat",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
4
},
},
"_children": [],
"_children": [
{
"__id__": 79
}
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 74
"__id__": 86
},
{
"__id__": 87
},
{
"__id__": 88
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3710,75 +3902,100 @@
...
@@ -3710,75 +3902,100 @@
"_id": "cdJh81Dz1EmqKEUxN9/v5s"
"_id": "cdJh81Dz1EmqKEUxN9/v5s"
},
},
{
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Node
",
"_name": "",
"_name": "
voice
",
"_objFlags": 0,
"_objFlags": 0,
"
node
": {
"
_parent
": {
"__id__": 7
3
"__id__": 7
8
},
},
"_enabled": true,
"_children": [
"_materials": [
{
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 80
},
{
"__id__": 82
},
{
"__id__": 84
}
}
],
],
"_armatureName": "armatureName",
"_active": false,
"_animationName": "newAnimation",
"_components": [],
"_preCacheMode": 0,
"_prefab": null,
"_cacheMode": 0,
"_opacity": 255,
"playTimes": -1,
"_color": {
"premultipliedAlpha": false,
"__type__": "cc.Color",
"_armatureKey": "b117da79-33b2-411d-9587-055c3c2a0f83#47d53c0d-fc2f-4983-9b6b-4bcbf7028407",
"r": 255,
"_accTime": 0,
"g": 255,
"_playCount": 0,
"b": 255,
"_frameCache": null,
"a": 255
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "b117da79-33b2-411d-9587-055c3c2a0f83"
},
},
"_N$dragonAtlasAsset": {
"_contentSize": {
"__uuid__": "47d53c0d-fc2f-4983-9b6b-4bcbf7028407"
"__type__": "cc.Size",
"width": 0,
"height": 0
},
},
"_N$_defaultArmatureIndex": 0,
"_anchorPoint": {
"_N$_animationIndex": 1,
"__type__": "cc.Vec2",
"_N$_defaultCacheMode": 0,
"x": 0.5,
"_N$timeScale": 1,
"y": 0.5
"_N$debugBones": false,
},
"_N$enableBatch": false,
"_trs": {
"_id": "5fq4xKqYNBEbv7MY1sGAfS"
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-221.944,
-8.343,
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": "6aO9gxLjNGQ6iQr1jGJb7S"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
text
",
"_name": "
v1
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 76
"__id__": 81
},
{
"__id__": 77
}
}
],
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
0
,
"r":
255
,
"g":
76
,
"g":
255
,
"b": 2
00
,
"b": 2
55
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
56.36
,
"width":
11
,
"height":
111.1
"height":
24
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -3789,8 +4006,8 @@
...
@@ -3789,8 +4006,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
2.755
,
1
,
408.201
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -3812,14 +4029,14 @@
...
@@ -3812,14 +4029,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
f8Y1Ejcw1FmpHfXp8sBQV+
"
"_id": "
20mZCngs1By4Ww1Hm1ejDF
"
},
},
{
{
"__type__": "cc.
Label
",
"__type__": "cc.
Sprite
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
75
"__id__":
80
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3829,34 +4046,39 @@
...
@@ -3829,34 +4046,39 @@
],
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "a",
"_spriteFrame": {
"_N$string": "a",
"__uuid__": "dc635d80-da93-4f22-b4f0-b182682262c2"
"_fontSize": 85,
"_lineHeight": 85,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e6bb5f58-11fc-4474-951d-d9fedbb5321c"
},
},
"_isSystemFontUsed": false,
"_type": 0,
"_spacingX": 0,
"_sizeMode": 1,
"_batchAsBitmap": false,
"_fillType": 0,
"_styleFlags": 0,
"_fillCenter": {
"_underlineHeight": 0,
"__type__": "cc.Vec2",
"_N$horizontalAlign": 1,
"x": 0,
"_N$verticalAlign": 1,
"y": 0
"_N$fontFamily": "Arial",
},
"_N$overflow": 0,
"_fillStart": 0,
"_N$cacheMode": 0,
"_fillRange": 0,
"_id": "ffKN93nqdNh6r1WlJeHPf1"
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8dSZbmChVHmbdmd1QPQaUY"
},
},
{
{
"__type__": "cc.
LabelOutlin
e",
"__type__": "cc.
Nod
e",
"_name": "",
"_name": "
v2
",
"_objFlags": 0,
"_objFlags": 0,
"
node
": {
"
_parent
": {
"__id__": 7
5
"__id__": 7
9
},
},
"_enabled": true,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
...
@@ -3864,29 +4086,737 @@
...
@@ -3864,29 +4086,737 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_width": 2,
"_contentSize": {
"_id": "c5nRbhxOpHX48eAq7TrYmP"
"__type__": "cc.Size",
"width": 29,
"height": 48
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-8,
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": "640dzrAN9CfoyMDT2VrWcS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6601c88f-dfbf-4ccb-9ff6-e44377e3bf66"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0cb4LIIoRBK7uJLJpJfINZ"
},
{
"__type__": "cc.Node",
"_name": "v3",
"_objFlags": 0,
"_parent": {
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 50,
"height": 74
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-19,
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": "12tUKVjRhBy6mKmKF8yDKv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "195ea49e-9f29-4b2e-8baf-cfe83f99fafc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "339YxtiBROOqgcsxvLMHar"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "b117da79-33b2-411d-9587-055c3c2a0f83#47d53c0d-fc2f-4983-9b6b-4bcbf7028407",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "b117da79-33b2-411d-9587-055c3c2a0f83"
},
"_N$dragonAtlasAsset": {
"__uuid__": "47d53c0d-fc2f-4983-9b6b-4bcbf7028407"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "5fq4xKqYNBEbv7MY1sGAfS"
},
{
"__type__": "4937eUd+rxKz6DH1tW86Giw",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_enabled": true,
"firstUp": true,
"_id": "bf7MI9pkZOybiez2lni1Rc"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_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__": 78
},
"_id": "22jYvkMwtPYqNNI2jFKpz8"
},
{
"__type__": "cc.Node",
"_name": "text",
"_objFlags": 0,
"_parent": {
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
},
{
"__id__": 91
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 76,
"b": 200,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 56.36,
"height": 111.1
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
2.755,
408.201,
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": "f8Y1Ejcw1FmpHfXp8sBQV+"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "a",
"_N$string": "a",
"_fontSize": 85,
"_lineHeight": 85,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "e6bb5f58-11fc-4474-951d-d9fedbb5321c"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ffKN93nqdNh6r1WlJeHPf1"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 89
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_width": 2,
"_id": "c5nRbhxOpHX48eAq7TrYmP"
},
{
"__type__": "cc.Node",
"_name": "boat_right",
"_objFlags": 0,
"_parent": {
"__id__": 43
},
"_children": [
{
"__id__": 93
},
{
"__id__": 96
},
{
"__id__": 106
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 400
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
452.507,
-64.271,
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": "6eoMaiRmBOQb7D1FZDJaIS"
},
{
"__type__": "cc.Node",
"_name": "net",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
},
{
"__id__": 95
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 745,
"height": 439
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5.526,
235.602,
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": "e2l/qoaixD3LRVBMQ2tLyn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "be098dab-11fd-41f5-9065-7542f10cfb1a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5erzTn0/dA4YLQ081RCf0c"
},
{
"__type__": "dd0efyre6pIXIGXXJ+r3uZ0",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
},
"_enabled": true,
"firstUp": false,
"_id": "2b0MOofDZL14o76zVem2er"
},
{
"__type__": "cc.Node",
"_name": "boat",
"_objFlags": 0,
"_parent": {
"__id__": 92
},
"_children": [
{
"__id__": 97
}
],
"_active": true,
"_components": [
{
"__id__": 104
},
{
"__id__": 105
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 511,
"height": 306
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-41.368,
340.477,
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": "8aPvq/60BMI6Mkkgp5IUlE"
},
{
"__type__": "cc.Node",
"_name": "voice",
"_objFlags": 0,
"_parent": {
"__id__": 96
},
"_children": [
{
"__id__": 98
},
{
"__id__": 100
},
{
"__id__": 102
}
],
"_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": [
-222.623,
-6.193,
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": "48ZbQn2cdD9rixXZWyRfUV"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
boat_right
",
"_name": "
v1
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
97
},
},
"_children": [
"_children": [],
{
"_active": true,
"__id__": 79
"_components": [
},
{
"__id__": 81
},
{
{
"__id__":
83
"__id__":
99
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -3898,8 +4828,8 @@
...
@@ -3898,8 +4828,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
700
,
"width":
11
,
"height":
400
"height":
24
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -3910,8 +4840,8 @@
...
@@ -3910,8 +4840,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
452.507
,
1
,
-64.271
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -3933,20 +4863,52 @@
...
@@ -3933,20 +4863,52 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "6eoMaiRmBOQb7D1FZDJaIS"
"_id": "00iOgsUvlPw50wR8R/flRr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "dc635d80-da93-4f22-b4f0-b182682262c2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e8F+gTUVFPdZ8jO2HG6coK"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
net
",
"_name": "
v2
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
78
"__id__":
97
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
80
"__id__":
101
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3960,8 +4922,8 @@
...
@@ -3960,8 +4922,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
745
,
"width":
29
,
"height": 4
39
"height": 4
8
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -3972,8 +4934,8 @@
...
@@ -3972,8 +4934,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
5.526
,
-8
,
29.398
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -3995,14 +4957,14 @@
...
@@ -3995,14 +4957,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
e2l/qoaixD3LRVBMQ2tLyn
"
"_id": "
34zeluls1Eq7ByJzg+ACId
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
79
"__id__":
100
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4013,7 +4975,7 @@
...
@@ -4013,7 +4975,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
be098dab-11fd-41f5-9065-7542f10cfb1a
"
"__uuid__": "
6601c88f-dfbf-4ccb-9ff6-e44377e3bf66
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -4027,20 +4989,20 @@
...
@@ -4027,20 +4989,20 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "5
erzTn0/dA4YLQ081RCf0c
"
"_id": "5
70+iveoJK1INAVOtaExlT
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
boat
",
"_name": "
v3
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
78
"__id__":
97
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
82
"__id__":
103
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4054,8 +5016,8 @@
...
@@ -4054,8 +5016,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 5
11
,
"width": 5
0
,
"height":
306
"height":
74
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4066,8 +5028,8 @@
...
@@ -4066,8 +5028,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
41.368
,
-
19
,
340.477
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -4089,14 +5051,46 @@
...
@@ -4089,14 +5051,46 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "8aPvq/60BMI6Mkkgp5IUlE"
"_id": "bfgGrS0IJNE7mH1LhoYuXn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "195ea49e-9f29-4b2e-8baf-cfe83f99fafc"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "06eY6qLoBHU78+YzrxQkeO"
},
},
{
{
"__type__": "dragonBones.ArmatureDisplay",
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
81
"__id__":
96
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4131,21 +5125,32 @@
...
@@ -4131,21 +5125,32 @@
"_N$enableBatch": false,
"_N$enableBatch": false,
"_id": "c1CERwS0NLY4OaFVuqtQ29"
"_id": "c1CERwS0NLY4OaFVuqtQ29"
},
},
{
"__type__": "4937eUd+rxKz6DH1tW86Giw",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
},
"_enabled": true,
"firstUp": false,
"_id": "b8FAi+qhxENrUThXcQ8XU6"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "text",
"_name": "text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
78
"__id__":
92
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
84
"__id__":
107
},
},
{
{
"__id__":
85
"__id__":
108
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4201,7 +5206,7 @@
...
@@ -4201,7 +5206,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
83
"__id__":
106
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4236,7 +5241,7 @@
...
@@ -4236,7 +5241,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
83
"__id__":
106
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -4254,7 +5259,7 @@
...
@@ -4254,7 +5259,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
39
"__id__":
43
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -4287,7 +5292,7 @@
...
@@ -4287,7 +5292,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
88
"__id__":
111
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4343,7 +5348,7 @@
...
@@ -4343,7 +5348,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
87
"__id__":
110
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -4374,16 +5379,16 @@
...
@@ -4374,16 +5379,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
90
"__id__":
113
},
},
{
{
"__id__":
92
"__id__":
115
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
94
"__id__":
117
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4439,13 +5444,13 @@
...
@@ -4439,13 +5444,13 @@
"_name": "touch",
"_name": "touch",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
89
"__id__":
112
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
91
"__id__":
114
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4501,7 +5506,7 @@
...
@@ -4501,7 +5506,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
90
"__id__":
113
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4569,13 +5574,13 @@
...
@@ -4569,13 +5574,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
89
"__id__":
112
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
93
"__id__":
116
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4631,7 +5636,7 @@
...
@@ -4631,7 +5636,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
92
"__id__":
115
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4664,7 +5669,7 @@
...
@@ -4664,7 +5669,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
89
"__id__":
112
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4702,7 +5707,7 @@
...
@@ -4702,7 +5707,7 @@
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
96
"__id__":
119
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4758,7 +5763,7 @@
...
@@ -4758,7 +5763,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
95
"__id__":
118
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4794,23 +5799,23 @@
...
@@ -4794,23 +5799,23 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
98
"__id__":
121
},
},
{
{
"__id__": 1
02
"__id__": 1
25
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
19
"__id__": 1
42
},
},
{
{
"__id__": 1
20
"__id__": 1
43
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
21
"__id__": 1
44
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4864,20 +5869,20 @@
...
@@ -4864,20 +5869,20 @@
"_name": "label_title",
"_name": "label_title",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
97
"__id__":
120
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
99
"__id__":
122
},
},
{
{
"__id__": 1
00
"__id__": 1
23
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
01
"__id__": 1
24
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4931,7 +5936,7 @@
...
@@ -4931,7 +5936,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
121
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4964,7 +5969,7 @@
...
@@ -4964,7 +5969,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
121
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -4989,7 +5994,7 @@
...
@@ -4989,7 +5994,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5002,21 +6007,21 @@
...
@@ -5002,21 +6007,21 @@
"_name": "layout_mouse",
"_name": "layout_mouse",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
97
"__id__":
120
},
},
"_children": [
"_children": [
{
{
"__id__": 1
03
"__id__": 1
26
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
17
"__id__": 1
40
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
18
"__id__": 1
41
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5070,26 +6075,26 @@
...
@@ -5070,26 +6075,26 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
02
"__id__": 1
25
},
},
"_children": [
"_children": [
{
{
"__id__": 1
04
"__id__": 1
27
},
},
{
{
"__id__": 1
07
"__id__": 1
30
},
},
{
{
"__id__": 1
10
"__id__": 1
33
},
},
{
{
"__id__": 1
13
"__id__": 1
36
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 1
16
"__id__": 1
39
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5143,17 +6148,17 @@
...
@@ -5143,17 +6148,17 @@
"_name": "star_bg",
"_name": "star_bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
03
"__id__": 1
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
05
"__id__": 1
28
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
06
"__id__": 1
29
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5207,7 +6212,7 @@
...
@@ -5207,7 +6212,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
04
"__id__": 1
27
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5237,7 +6242,7 @@
...
@@ -5237,7 +6242,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5250,17 +6255,17 @@
...
@@ -5250,17 +6255,17 @@
"_name": "star",
"_name": "star",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
03
"__id__": 1
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
08
"__id__": 1
31
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
09
"__id__": 1
32
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5314,7 +6319,7 @@
...
@@ -5314,7 +6319,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
07
"__id__": 1
30
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5344,7 +6349,7 @@
...
@@ -5344,7 +6349,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5357,17 +6362,17 @@
...
@@ -5357,17 +6362,17 @@
"_name": "icon_bigstar",
"_name": "icon_bigstar",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
03
"__id__": 1
26
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
11
"__id__": 1
34
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
12
"__id__": 1
35
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5421,7 +6426,7 @@
...
@@ -5421,7 +6426,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
10
"__id__": 1
33
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5451,7 +6456,7 @@
...
@@ -5451,7 +6456,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5464,17 +6469,17 @@
...
@@ -5464,17 +6469,17 @@
"_name": "star_wrong",
"_name": "star_wrong",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
03
"__id__": 1
26
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
14
"__id__": 1
37
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
15
"__id__": 1
38
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5528,7 +6533,7 @@
...
@@ -5528,7 +6533,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
13
"__id__": 1
36
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5558,7 +6563,7 @@
...
@@ -5558,7 +6563,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5569,7 +6574,7 @@
...
@@ -5569,7 +6574,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5582,7 +6587,7 @@
...
@@ -5582,7 +6587,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
02
"__id__": 1
25
},
},
"_enabled": true,
"_enabled": true,
"position": {
"position": {
...
@@ -5601,7 +6606,7 @@
...
@@ -5601,7 +6606,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5614,7 +6619,7 @@
...
@@ -5614,7 +6619,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
97
"__id__":
120
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5646,7 +6651,7 @@
...
@@ -5646,7 +6651,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
97
"__id__":
120
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5671,7 +6676,7 @@
...
@@ -5671,7 +6676,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
97
"__id__":
120
},
},
"asset": {
"asset": {
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
"__uuid__": "95e7414b-cea3-4467-bc48-5fd920880222"
...
@@ -5688,26 +6693,26 @@
...
@@ -5688,26 +6693,26 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
23
"__id__": 1
46
},
},
{
{
"__id__": 1
28
"__id__": 1
51
},
},
{
{
"__id__": 1
31
"__id__": 1
54
},
},
{
{
"__id__": 1
35
"__id__": 1
58
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
39
"__id__": 1
62
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
40
"__id__": 1
63
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5761,23 +6766,23 @@
...
@@ -5761,23 +6766,23 @@
"_name": "New Sprite(Splash)",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
22
"__id__": 1
45
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
24
"__id__": 1
47
},
},
{
{
"__id__": 1
25
"__id__": 1
48
},
},
{
{
"__id__": 1
26
"__id__": 1
49
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
27
"__id__": 1
50
},
},
"_opacity": 175,
"_opacity": 175,
"_color": {
"_color": {
...
@@ -5831,7 +6836,7 @@
...
@@ -5831,7 +6836,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
23
"__id__": 1
46
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5863,7 +6868,7 @@
...
@@ -5863,7 +6868,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
23
"__id__": 1
46
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -5890,7 +6895,7 @@
...
@@ -5890,7 +6895,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
23
"__id__": 1
46
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -5956,7 +6961,7 @@
...
@@ -5956,7 +6961,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
22
"__id__": 1
45
},
},
"asset": {
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
...
@@ -5969,17 +6974,17 @@
...
@@ -5969,17 +6974,17 @@
"_name": "finish_db",
"_name": "finish_db",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
22
"__id__": 1
45
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
29
"__id__": 1
52
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
30
"__id__": 1
53
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6033,7 +7038,7 @@
...
@@ -6033,7 +7038,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
28
"__id__": 1
51
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6067,7 +7072,7 @@
...
@@ -6067,7 +7072,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
22
"__id__": 1
45
},
},
"asset": {
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
...
@@ -6080,20 +7085,20 @@
...
@@ -6080,20 +7085,20 @@
"_name": "btn_again",
"_name": "btn_again",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
22
"__id__": 1
45
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
32
"__id__": 1
55
},
},
{
{
"__id__": 1
33
"__id__": 1
56
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
34
"__id__": 1
57
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6147,7 +7152,7 @@
...
@@ -6147,7 +7152,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
31
"__id__": 1
54
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6179,7 +7184,7 @@
...
@@ -6179,7 +7184,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
31
"__id__": 1
54
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -6245,7 +7250,7 @@
...
@@ -6245,7 +7250,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
22
"__id__": 1
45
},
},
"asset": {
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
...
@@ -6258,20 +7263,20 @@
...
@@ -6258,20 +7263,20 @@
"_name": "btn_next",
"_name": "btn_next",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
22
"__id__": 1
45
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
36
"__id__": 1
59
},
},
{
{
"__id__": 1
37
"__id__": 1
60
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
38
"__id__": 1
61
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6325,7 +7330,7 @@
...
@@ -6325,7 +7330,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
35
"__id__": 1
58
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6357,7 +7362,7 @@
...
@@ -6357,7 +7362,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
35
"__id__": 1
58
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -6423,7 +7428,7 @@
...
@@ -6423,7 +7428,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
22
"__id__": 1
45
},
},
"asset": {
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
...
@@ -6436,7 +7441,7 @@
...
@@ -6436,7 +7441,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
22
"__id__": 1
45
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -6461,7 +7466,7 @@
...
@@ -6461,7 +7466,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
22
"__id__": 1
45
},
},
"asset": {
"asset": {
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
"__uuid__": "4e3ba6ba-17d6-4285-beb3-d5f8c90cc1f1"
...
@@ -6478,20 +7483,20 @@
...
@@ -6478,20 +7483,20 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
42
"__id__": 1
65
},
},
{
{
"__id__": 1
47
"__id__": 1
70
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 1
50
"__id__": 1
73
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
51
"__id__": 1
74
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6545,23 +7550,23 @@
...
@@ -6545,23 +7550,23 @@
"_name": "New Sprite(Splash)",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
41
"__id__": 1
64
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
43
"__id__": 1
66
},
},
{
{
"__id__": 1
44
"__id__": 1
67
},
},
{
{
"__id__": 1
45
"__id__": 1
68
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
46
"__id__": 1
69
},
},
"_opacity": 110,
"_opacity": 110,
"_color": {
"_color": {
...
@@ -6615,7 +7620,7 @@
...
@@ -6615,7 +7620,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
42
"__id__": 1
65
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6647,7 +7652,7 @@
...
@@ -6647,7 +7652,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
42
"__id__": 1
65
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -6715,7 +7720,7 @@
...
@@ -6715,7 +7720,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
42
"__id__": 1
65
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -6740,7 +7745,7 @@
...
@@ -6740,7 +7745,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
41
"__id__": 1
64
},
},
"asset": {
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
...
@@ -6753,17 +7758,17 @@
...
@@ -6753,17 +7758,17 @@
"_name": "start_ske",
"_name": "start_ske",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
41
"__id__": 1
64
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
48
"__id__": 1
71
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
49
"__id__": 1
72
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -6817,7 +7822,7 @@
...
@@ -6817,7 +7822,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
47
"__id__": 1
70
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -6851,7 +7856,7 @@
...
@@ -6851,7 +7856,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
41
"__id__": 1
64
},
},
"asset": {
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
...
@@ -6864,7 +7869,7 @@
...
@@ -6864,7 +7869,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
41
"__id__": 1
64
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -6889,7 +7894,7 @@
...
@@ -6889,7 +7894,7 @@
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
41
"__id__": 1
64
},
},
"asset": {
"asset": {
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
"__uuid__": "424614db-81ce-4c87-bc56-e9bb460b2aaa"
...
@@ -6950,10 +7955,10 @@
...
@@ -6950,10 +7955,10 @@
},
},
"_enabled": true,
"_enabled": true,
"layout_start": {
"layout_start": {
"__id__": 1
41
"__id__": 1
64
},
},
"layout_finish": {
"layout_finish": {
"__id__": 1
22
"__id__": 1
45
},
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
}
...
...
assets/ngt7_fish/scene/ngt7_fish.ts
View file @
d1638871
...
@@ -42,12 +42,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -42,12 +42,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
clear
();
pg
.
event
.
clear
();
}
}
_cantouch
=
null
;
initData
()
{
initData
()
{
Game
.
getIns
().
init
(
this
.
data
);
Game
.
getIns
().
init
(
this
.
data
);
Game
.
getIns
().
reset
();
Game
.
getIns
().
reset
();
// 所有全局变量 默认都是null
this
.
touching
=
null
;
this
.
_cantouch
=
true
;
}
}
private
audioId
:
any
;
private
audioId
:
any
;
async
initView
()
{
async
initView
()
{
...
@@ -57,14 +55,45 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -57,14 +55,45 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
view
.
setString
(
pg
.
view
.
find
(
boat_right
,
'
text
'
),
Game
.
getIns
().
boatRight
.
text
)
pg
.
view
.
setString
(
pg
.
view
.
find
(
boat_right
,
'
text
'
),
Game
.
getIns
().
boatRight
.
text
)
}
}
initEvent
()
{
initEvent
()
{
pg
.
event
.
on
(
"
game_time_over
"
,
()
=>
{
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
,
'
layout_bottom/boat_left/boat
'
),
this
.
onTouchBoatLeft
,
this
)
// alert("game_time_over")
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
,
'
layout_bottom/boat_right/boat
'
),
this
.
onTouchBoatRight
,
this
)
//这里的事件会发送的很早。但是我们需要等待动画执行完了之后再开始后续的内容
}
Game
.
getIns
().
addPage
();
onTouchBoatLeft
()
{
if
(
!
Game
.
getIns
().
isOver
)
{
let
voice
=
pg
.
view
.
find
(
this
,
'
layout_bottom/boat_left/boat/voice
'
)
return
;
let
count
=
0
;
}
voice
.
active
=
true
;
this
.
showGameOver
();
function
func
()
{
pg
.
view
.
find
(
voice
,
'
v1
'
).
active
=
count
%
4
==
1
;
pg
.
view
.
find
(
voice
,
'
v2
'
).
active
=
count
%
4
==
2
;
pg
.
view
.
find
(
voice
,
'
v3
'
).
active
=
count
%
4
==
3
;
count
++
;
}
this
.
schedule
(
func
,
0.3
)
pg
.
audio
.
playAudioByUrlThen
(
Game
.
getIns
().
boatLeft
.
audio
).
then
(()
=>
{
this
.
unschedule
(
func
)
pg
.
view
.
find
(
voice
,
'
v1
'
).
active
=
false
;
pg
.
view
.
find
(
voice
,
'
v2
'
).
active
=
false
;
pg
.
view
.
find
(
voice
,
'
v3
'
).
active
=
false
;
voice
.
active
=
false
;
})
}
onTouchBoatRight
()
{
let
voice
=
pg
.
view
.
find
(
this
,
'
layout_bottom/boat_right/boat/voice
'
)
let
count
=
0
;
voice
.
active
=
true
;
function
func
()
{
pg
.
view
.
find
(
voice
,
'
v1
'
).
active
=
count
%
4
==
1
;
pg
.
view
.
find
(
voice
,
'
v2
'
).
active
=
count
%
4
==
2
;
pg
.
view
.
find
(
voice
,
'
v3
'
).
active
=
count
%
4
==
3
;
count
++
;
}
this
.
schedule
(
func
,
0.3
)
pg
.
audio
.
playAudioByUrlThen
(
Game
.
getIns
().
boatRight
.
audio
).
then
(()
=>
{
this
.
unschedule
(
func
)
pg
.
view
.
find
(
voice
,
'
v1
'
).
active
=
false
;
pg
.
view
.
find
(
voice
,
'
v2
'
).
active
=
false
;
pg
.
view
.
find
(
voice
,
'
v3
'
).
active
=
false
;
voice
.
active
=
false
;
})
})
}
}
...
@@ -148,7 +177,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -148,7 +177,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
fishList
.
forEach
((
fish
,
index
)
=>
{
fishList
.
forEach
((
fish
,
index
)
=>
{
let
node
=
cc
.
instantiate
(
item
);
let
node
=
cc
.
instantiate
(
item
);
layout_fish
.
addChild
(
node
);
layout_fish
.
addChild
(
node
);
this
.
updateItem
(
node
,
fish
);
this
.
scheduleOnce
(()
=>
{
this
.
updateItem
(
node
,
fish
);
},
index
*
Math
.
random
())
});
});
}
}
updateItem
(
item
,
data
:
Option
)
{
updateItem
(
item
,
data
:
Option
)
{
...
@@ -200,23 +231,26 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -200,23 +231,26 @@ export default class SceneComponent extends MyCocosSceneComponent {
item
.
x
=
pos
.
x
;
item
.
x
=
pos
.
x
;
item
.
y
=
pos
.
y
;
item
.
y
=
pos
.
y
;
}
}
private
touching
:
any
;
onItemTouchStart
(
e
)
{
onItemTouchStart
(
e
)
{
if
(
this
.
touching
)
return
;
let
target
:
cc
.
Node
=
e
.
target
;
let
target
:
cc
.
Node
=
e
.
target
;
let
data
=
target
.
data
;
let
data
:
Option
=
target
.
data
;
if
(
data
.
isChecked
)
return
;
this
.
setTouchPos
(
e
);
this
.
setTouchPos
(
e
);
this
.
touching
=
data
;
}
}
onItemTouchMove
(
e
)
{
onItemTouchMove
(
e
)
{
let
target
:
cc
.
Node
=
e
.
target
;
let
target
:
cc
.
Node
=
e
.
target
;
let
data
=
target
.
data
;
let
data
=
target
.
data
;
if
(
data
.
isChecked
)
return
;
if
(
!
this
.
touching
)
return
;
if
(
this
.
touching
.
id
!=
data
.
id
)
return
;
this
.
setTouchPos
(
e
);
this
.
setTouchPos
(
e
);
}
}
onItemTouchEnd
(
e
)
{
onItemTouchEnd
(
e
)
{
//
let
target
:
cc
.
Node
=
e
.
target
;
let
target
:
cc
.
Node
=
e
.
target
;
let
data
=
target
.
data
;
let
data
=
target
.
data
;
if
(
data
.
isChecked
)
return
;
if
(
!
this
.
touching
)
return
;
if
(
this
.
touching
.
id
!=
data
.
id
)
return
;
// let rect = cc.rect(target.x, target.y, target.width, target.height);
// let rect = cc.rect(target.x, target.y, target.width, target.height);
let
rect
=
cc
.
rect
(
target
.
x
,
target
.
y
,
50
,
50
);
let
rect
=
cc
.
rect
(
target
.
x
,
target
.
y
,
50
,
50
);
...
@@ -236,11 +270,27 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -236,11 +270,27 @@ export default class SceneComponent extends MyCocosSceneComponent {
Game
.
getIns
().
boatRight
.
setRight
(
data
);
Game
.
getIns
().
boatRight
.
setRight
(
data
);
currentRect
=
rightRect
;
currentRect
=
rightRect
;
}
}
if
(
!
currentRect
)
return
;
if
(
!
currentRect
)
{
this
.
touching
=
null
;
this
.
playLocalAudio
(
'
error
'
).
then
(()
=>
{
this
.
touching
=
null
;
this
.
updateItem
(
target
,
data
);
})
return
;
}
if
(
isRight
)
{
if
(
isRight
)
{
// target
let
item
=
target
;
let
item
=
target
;
let
lastArea
=
100
;
let
lastArea
=
100
;
this
.
playLocalAudio
(
'
right
'
).
then
(()
=>
{
if
(
data
.
audioUrl
)
{
pg
.
audio
.
playAudioByUrlThen
(
data
.
audioUrl
).
then
(()
=>
{
this
.
touching
=
null
;
})
}
else
{
this
.
touching
=
null
;
}
})
if
(
item
.
scaleX
==
-
1
)
{
if
(
item
.
scaleX
==
-
1
)
{
// 计算当前坐标距离最左侧的距离
// 计算当前坐标距离最左侧的距离
let
space
=
currentRect
.
width
-
((
rect
.
x
+
rect
.
width
)
-
currentRect
.
x
)
-
lastArea
/
5
;
let
space
=
currentRect
.
width
-
((
rect
.
x
+
rect
.
width
)
-
currentRect
.
x
)
-
lastArea
/
5
;
...
@@ -258,7 +308,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -258,7 +308,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_CANCEL
,
this
.
onItemTouchCancel
,
this
);
item
.
off
(
cc
.
Node
.
EventType
.
TOUCH_CANCEL
,
this
.
onItemTouchCancel
,
this
);
pg
.
event
.
emit
(
'
mouse_05_add
'
)
pg
.
event
.
emit
(
'
mouse_05_add
'
)
}
else
{
}
else
{
this
.
updateItem
(
target
,
data
);
this
.
playLocalAudio
(
'
error
'
).
then
(()
=>
{
this
.
touching
=
null
;
this
.
updateItem
(
target
,
data
);
})
}
}
//判断是否结束了
//判断是否结束了
if
(
Game
.
getIns
().
boatLeft
.
isAllRight
()
&&
Game
.
getIns
().
boatRight
.
isAllRight
())
{
if
(
Game
.
getIns
().
boatLeft
.
isAllRight
()
&&
Game
.
getIns
().
boatRight
.
isAllRight
())
{
...
...
assets/ngt7_fish/textures/fish/voice.meta
0 → 100644
View file @
d1638871
{
"ver": "1.1.2",
"uuid": "d427b42b-3b60-403a-a224-7b0137a16c06",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/ngt7_fish/textures/fish/voice/v1.png
0 → 100644
View file @
d1638871
1.5 KB
assets/ngt7_fish/textures/fish/voice/v1.png.meta
0 → 100644
View file @
d1638871
{
"ver": "2.3.5",
"uuid": "8f1ed432-166d-4cdc-8dab-c545657b906e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 52,
"height": 76,
"platformSettings": {},
"subMetas": {
"v1": {
"ver": "1.0.4",
"uuid": "dc635d80-da93-4f22-b4f0-b182682262c2",
"rawTextureUuid": "8f1ed432-166d-4cdc-8dab-c545657b906e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 19.5,
"offsetY": 2,
"trimX": 40,
"trimY": 24,
"width": 11,
"height": 24,
"rawWidth": 52,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/ngt7_fish/textures/fish/voice/v2.png
0 → 100644
View file @
d1638871
2.4 KB
assets/ngt7_fish/textures/fish/voice/v2.png.meta
0 → 100644
View file @
d1638871
{
"ver": "2.3.5",
"uuid": "54bab549-e6ae-4d18-bec1-2c485ce342a8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 52,
"height": 76,
"platformSettings": {},
"subMetas": {
"v2": {
"ver": "1.0.4",
"uuid": "6601c88f-dfbf-4ccb-9ff6-e44377e3bf66",
"rawTextureUuid": "54bab549-e6ae-4d18-bec1-2c485ce342a8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 10.5,
"offsetY": 2,
"trimX": 22,
"trimY": 12,
"width": 29,
"height": 48,
"rawWidth": 52,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/ngt7_fish/textures/fish/voice/v3.png
0 → 100644
View file @
d1638871
3.61 KB
assets/ngt7_fish/textures/fish/voice/v3.png.meta
0 → 100644
View file @
d1638871
{
"ver": "2.3.5",
"uuid": "f40b630a-635c-497a-8a8c-9b6bc74fce0d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 52,
"height": 76,
"platformSettings": {},
"subMetas": {
"v3": {
"ver": "1.0.4",
"uuid": "195ea49e-9f29-4b2e-8baf-cfe83f99fafc",
"rawTextureUuid": "f40b630a-635c-497a-8a8c-9b6bc74fce0d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 50,
"height": 74,
"rawWidth": 52,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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