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
edf8b6e5
Commit
edf8b6e5
authored
Nov 16, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改完成
parent
da901f3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
123 additions
and
46 deletions
+123
-46
ngt7_fish.fire
assets/ngt7_fish/scene/ngt7_fish.fire
+3
-3
ngt7_fish.ts
assets/ngt7_fish/scene/ngt7_fish.ts
+5
-5
defaultData.ts
assets/ngt7_fish/script/defaultData.ts
+115
-38
No files found.
assets/ngt7_fish/scene/ngt7_fish.fire
View file @
edf8b6e5
...
...
@@ -2787,13 +2787,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
1
80,
"height":
10
0
"width":
2
80,
"height":
28
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.
5
"y": 0.
3
},
"_trs": {
"__type__": "TypedArray",
...
...
assets/ngt7_fish/scene/ngt7_fish.ts
View file @
edf8b6e5
...
...
@@ -135,7 +135,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
anis
=
db
.
getAnimationNames
(
db
.
armatureName
);
db
.
playAnimation
(
anis
[
0
],
0
);
cc
.
tween
(
start_ske
).
by
(
0.5
,
{
x
:
-
500
}).
call
(()
=>
{
pg
.
audio
.
playAudioByUrl
(
Game
.
getIns
().
startAudio
).
then
(()
=>
{
pg
.
audio
.
playAudioByUrl
Then
(
Game
.
getIns
().
startAudio
).
then
(()
=>
{
cc
.
tween
(
start_ske
).
delay
(
1
).
by
(
0.5
,
{
x
:
500
}).
call
(()
=>
{
this
.
layout_start
.
active
=
false
;
resolve
(
''
);
...
...
@@ -220,10 +220,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
item
.
scaleX
=
-
1
;
text
.
scaleX
=
-
1
;
item
.
active
=
true
;
cc
.
tween
(
item
).
repeatForever
(
cc
.
tween
().
by
(
21
*
3
,
{
x
:
sceneWidth
+
40
0
}).
call
(()
=>
{
cc
.
tween
(
item
).
repeatForever
(
cc
.
tween
().
by
(
21
*
2.5
,
{
x
:
sceneWidth
+
15
0
}).
call
(()
=>
{
item
.
scaleX
=
-
item
.
scaleX
;
text
.
scaleX
=
-
text
.
scaleX
;
}).
by
(
21
*
3
,
{
x
:
-
sceneWidth
-
40
0
}).
call
(()
=>
{
}).
by
(
21
*
2.5
,
{
x
:
-
sceneWidth
-
5
0
}).
call
(()
=>
{
item
.
scaleX
=
-
item
.
scaleX
;
text
.
scaleX
=
-
text
.
scaleX
;
})).
start
();
...
...
@@ -233,10 +233,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
item
.
scaleX
=
1
;
text
.
scaleX
=
1
;
item
.
active
=
true
;
cc
.
tween
(
item
).
repeatForever
(
cc
.
tween
().
by
(
21
*
3
,
{
x
:
-
sceneWidth
-
40
0
}).
call
(()
=>
{
cc
.
tween
(
item
).
repeatForever
(
cc
.
tween
().
by
(
21
*
2.5
,
{
x
:
-
sceneWidth
-
15
0
}).
call
(()
=>
{
item
.
scaleX
=
-
item
.
scaleX
;
text
.
scaleX
=
-
text
.
scaleX
;
}).
by
(
21
*
3
,
{
x
:
1920
+
40
0
}).
call
(()
=>
{
}).
by
(
21
*
2.5
,
{
x
:
1920
+
5
0
}).
call
(()
=>
{
item
.
scaleX
=
-
item
.
scaleX
;
text
.
scaleX
=
-
text
.
scaleX
;
})).
start
();
...
...
assets/ngt7_fish/script/defaultData.ts
View file @
edf8b6e5
export
const
defaultData
=
{
"
audioName
"
:
"
"
,
export
const
defaultData
=
{
"
title
"
:
"
Choose and fishing.
"
,
"
imgAni
"
:
{
"
ske
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/4ec3da85d888ad3c5c57e10fca728499
.json
"
,
"
name
"
:
"
鱼1
_ske.json
"
},
"
tex
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/2c52380a3f3cdd3f5d38870bee2c9ffd
.json
"
,
"
name
"
:
"
鱼1
_tex.json
"
},
"
png
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/3ca112e3bb312d5e9b7182bbb97c616d
.png
"
,
"
name
"
:
"
鱼1
_tex.png
"
}
"
ske
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/8ecba7014a461f031de0df1b60ba317a
.json
"
,
"
name
"
:
"
niao
_ske.json
"
},
"
tex
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/3508c660236613991535b5bf65b53ac0
.json
"
,
"
name
"
:
"
niao
_tex.json
"
},
"
png
"
:
{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/3f0fe926fd4513d621fca7eee24eb5d9
.png
"
,
"
name
"
:
"
niao
_tex.png
"
}
},
"
startAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/67421bf397cf214254db34427b4f53da_l.mp3
"
,
"
title
"
:
"
分类钓鱼
"
,
"
questions
"
:
[
{
"
title
"
:
"
左侧船
"
,
"
text
"
:
"
f
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/67421bf397cf214254db34427b4f53da_l.mp3
"
,
"
options
"
:
[
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/685adfecfead4414398dc7b71e8521f4_l.mp3
"
,
"
audioName
"
:
"
正确.mp3
"
,
"
text
"
:
"
fish
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/685adfecfead4414398dc7b71e8521f4_l.mp3
"
,
"
audioName
"
:
"
正确.mp3
"
,
"
text
"
:
"
fame
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/685adfecfead4414398dc7b71e8521f4_l.mp3
"
,
"
audioName
"
:
"
正确.mp3
"
,
"
text
"
:
"
frame
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/685adfecfead4414398dc7b71e8521f4_l.mp3
"
,
"
audioName
"
:
"
正确.mp3
"
,
"
text
"
:
"
fake
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/685adfecfead4414398dc7b71e8521f4_l.mp3
"
,
"
audioName
"
:
"
正确.mp3
"
,
"
text
"
:
"
fafa
"
,
"
right
"
:
false
}],
"
audioName
"
:
"
榨汁.mp3
"
},
{
"
title
"
:
"
右侧船
"
,
"
text
"
:
"
d
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/9fa2cc5655c343747db5680e84b462f4_l.mp3
"
,
"
options
"
:
[{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3
"
,
"
audioName
"
:
"
错误.mp3
"
,
"
text
"
:
"
ded
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3
"
,
"
audioName
"
:
"
错误.mp3
"
,
"
text
"
:
"
door
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3
"
,
"
audioName
"
:
"
错误.mp3
"
,
"
text
"
:
"
dude
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/3656883821fc547da4af0253476ab9be_l.mp3
"
,
"
audioName
"
:
"
错误.mp3
"
,
"
text
"
:
"
down
"
,
"
right
"
:
false
}],
"
audioName
"
:
"
倒橙汁.mp3
"
}]
}
\ No newline at end of file
"
startAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/215800e17214add98a0a888ace25d2ac_l.mp3
"
,
"
audioName
"
:
""
,
"
questions
"
:
[
{
"
title
"
:
"
左侧船
"
,
"
text
"
:
"
a
"
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
options
"
:
[
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
friend
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
pen
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
rubber
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
teacher
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
bag
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
cat
"
,
"
right
"
:
false
}
]
},
{
"
title
"
:
"
右侧船
"
,
"
text
"
:
"
an
"
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
options
"
:
[
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
egg
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
octopus
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
alligator
"
,
"
right
"
:
false
},
{
"
type
"
:
"
txt
"
,
"
image
"
:
""
,
"
audio
"
:
""
,
"
audioName
"
:
""
,
"
text
"
:
"
elephant
"
,
"
right
"
:
false
}
]
}
]
}
\ 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