Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
east-10
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
east-10
Commits
06b7d607
Commit
06b7d607
authored
Jun 23, 2021
by
linzhiguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 减少声音延时
parent
fb89326c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
east-10.js
play/assets/east-10/scene/east-10.js
+2
-2
defaultData.js
play/assets/east-10/script/defaultData.js
+1
-1
No files found.
play/assets/east-10/scene/east-10.js
View file @
06b7d607
...
@@ -242,7 +242,7 @@ cc.Class({
...
@@ -242,7 +242,7 @@ cc.Class({
if
(
this
.
_touched
!=
true
&&
cc
.
rect
(
option_node
.
getBoundingBoxToWorld
()).
contains
(
event
.
touch
.
_point
)){
if
(
this
.
_touched
!=
true
&&
cc
.
rect
(
option_node
.
getBoundingBoxToWorld
()).
contains
(
event
.
touch
.
_point
)){
this
.
playAudioByName
(
'
tap
'
);
this
.
playAudioByName
(
'
tap
'
);
cc
.
tween
(
this
)
cc
.
tween
(
this
)
.
delay
(
0.
5
)
.
delay
(
0.
2
)
.
call
(()
=>
{
.
call
(()
=>
{
option
.
playAudio
();
option
.
playAudio
();
})
})
...
@@ -309,7 +309,7 @@ cc.Class({
...
@@ -309,7 +309,7 @@ cc.Class({
this
.
pageFinish
();
this
.
pageFinish
();
});
});
cc
.
tween
(
this
)
cc
.
tween
(
this
)
.
delay
(
0.
5
)
.
delay
(
0.
2
)
.
call
(()
=>
{
.
call
(()
=>
{
ot
.
playAudio
();
ot
.
playAudio
();
})
})
...
...
play/assets/east-10/script/defaultData.js
View file @
06b7d607
export
const
defaultData
=
{
export
const
defaultData
=
{
"
stars
"
:[{
"
id
"
:
"
16239922308635wok5p
"
},{
"
id
"
:
"
1623992233278l9trhw
"
}],
"
pages
"
:[{
"
id
"
:
"
1623992235665ryt80q
"
,
"
star_id
"
:
"
16239922308635wok5p
"
},{
"
id
"
:
"
1623992246832rwwxwc
"
,
"
star_id
"
:
"
16239922308635wok5p
"
},{
"
id
"
:
"
162399224768148xblq
"
,
"
star_id
"
:
"
1623992233278l9trhw
"
},{
"
id
"
:
"
1624169541137z3l0l8
"
,
"
star_id
"
:
"
1623992233278l9trhw
"
}],
"
kinds
"
:[{
"
id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
aaa
"
,
"
page_id
"
:
"
1623992235665ryt80q
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/9fe5243645c4d48f5ccddcac67e1808e.jpeg
"
},{
"
id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
bbb
"
,
"
page_id
"
:
"
1623992235665ryt80q
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7c1537fcf875cc782235ddebfa0d5d72.jpg
"
},{
"
id
"
:
"
162417027477500qwmy
"
,
"
word
"
:
""
,
"
page_id
"
:
"
1623992235665ryt80q
"
},{
"
id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
ddd
"
,
"
page_id
"
:
"
1623992246832rwwxwc
"
},{
"
id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
eee
"
,
"
page_id
"
:
"
1623992246832rwwxwc
"
},{
"
id
"
:
"
1624170277020xpdwcp
"
,
"
word
"
:
""
,
"
page_id
"
:
"
1623992246832rwwxwc
"
},{
"
id
"
:
"
1624227738503to7kx2
"
,
"
page_id
"
:
"
162399224768148xblq
"
,
"
word
"
:
"
fff
"
},{
"
id
"
:
"
1624227738776v99r1v
"
,
"
page_id
"
:
"
162399224768148xblq
"
,
"
word
"
:
"
ggg
"
},{
"
id
"
:
"
1624227740414bof8zt
"
,
"
page_id
"
:
"
162399224768148xblq
"
,
"
word
"
:
""
},{
"
id
"
:
"
1624227741225xhhzbp
"
,
"
page_id
"
:
"
1624169541137z3l0l8
"
,
"
word
"
:
"
kkk
"
},{
"
id
"
:
"
162422774153338vuvx
"
,
"
page_id
"
:
"
1624169541137z3l0l8
"
,
"
word
"
:
"
lll
"
},{
"
id
"
:
"
1624227741787cdi54f
"
,
"
page_id
"
:
"
1624169541137z3l0l8
"
,
"
word
"
:
""
}],
"
options
"
:[{
"
kind_id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
a1
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/9475b713f231acb63a2f1defa1c358d8.jpeg
"
},{
"
kind_id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
a2
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7e6859583e7cce173d500021d164be4a.jpg
"
},{
"
kind_id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
a3
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/e0e3c605b5c4136569c7468352fcd10d.jpg
"
},{
"
kind_id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
b1
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/6c04a4211a3664f64dcda68f027f1f40.jpeg
"
},{
"
kind_id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
b2
"
},{
"
kind_id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
b3
"
},{
"
kind_id
"
:
"
162417027477500qwmy
"
,
"
word
"
:
"
fff
"
},{
"
kind_id
"
:
"
162417027477500qwmy
"
,
"
word
"
:
"
rrr
"
},{
"
kind_id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
d1
"
},{
"
kind_id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
d2
"
},{
"
kind_id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
d3
"
},{
"
kind_id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
e1
"
},{
"
kind_id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
e2
"
},{
"
kind_id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
e3
"
},{
"
kind_id
"
:
"
1624170277020xpdwcp
"
,
"
word
"
:
"
we
"
},{
"
kind_id
"
:
"
1624170277020xpdwcp
"
,
"
word
"
:
"
eewr
"
},{
"
kind_id
"
:
"
1624227738503to7kx2
"
,
"
word
"
:
"
f1
"
},{
"
kind_id
"
:
"
1624227738503to7kx2
"
,
"
word
"
:
"
f2
"
},{
"
kind_id
"
:
"
1624227738503to7kx2
"
,
"
word
"
:
"
f3
"
},{
"
kind_id
"
:
"
1624227738776v99r1v
"
,
"
word
"
:
"
g1
"
},{
"
kind_id
"
:
"
1624227738776v99r1v
"
,
"
word
"
:
"
g2
"
},{
"
kind_id
"
:
"
1624227738776v99r1v
"
,
"
word
"
:
"
g3
"
},{
"
kind_id
"
:
"
1624227740414bof8zt
"
,
"
word
"
:
"
3434
"
},{
"
kind_id
"
:
"
1624227740414bof8zt
"
,
"
word
"
:
"
444
"
},{
"
kind_id
"
:
"
1624227741225xhhzbp
"
,
"
word
"
:
"
k1
"
},{
"
kind_id
"
:
"
1624227741225xhhzbp
"
,
"
word
"
:
"
k2
"
},{
"
kind_id
"
:
"
162422774153338vuvx
"
,
"
word
"
:
"
l1
"
},{
"
kind_id
"
:
"
162422774153338vuvx
"
,
"
word
"
:
"
l2
"
},{
"
kind_id
"
:
"
1624227741787cdi54f
"
,
"
word
"
:
"
erg3
"
},{
"
kind_id
"
:
"
1624227741787cdi54f
"
,
"
word
"
:
"
g34t
"
}]
"
stars
"
:[{
"
id
"
:
"
16239922308635wok5p
"
},{
"
id
"
:
"
1623992233278l9trhw
"
}],
"
pages
"
:[{
"
id
"
:
"
1623992235665ryt80q
"
,
"
star_id
"
:
"
16239922308635wok5p
"
},{
"
id
"
:
"
1623992246832rwwxwc
"
,
"
star_id
"
:
"
16239922308635wok5p
"
},{
"
id
"
:
"
162399224768148xblq
"
,
"
star_id
"
:
"
1623992233278l9trhw
"
},{
"
id
"
:
"
1624169541137z3l0l8
"
,
"
star_id
"
:
"
1623992233278l9trhw
"
}],
"
kinds
"
:[{
"
id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
aaa
"
,
"
page_id
"
:
"
1623992235665ryt80q
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/9fe5243645c4d48f5ccddcac67e1808e.jpeg
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/dd360bbbcf5817eea26ac5fa3341ef5d.mp3
"
},{
"
id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
bbb
"
,
"
page_id
"
:
"
1623992235665ryt80q
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7c1537fcf875cc782235ddebfa0d5d72.jpg
"
},{
"
id
"
:
"
162417027477500qwmy
"
,
"
word
"
:
""
,
"
page_id
"
:
"
1623992235665ryt80q
"
},{
"
id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
ddd
"
,
"
page_id
"
:
"
1623992246832rwwxwc
"
},{
"
id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
eee
"
,
"
page_id
"
:
"
1623992246832rwwxwc
"
},{
"
id
"
:
"
1624170277020xpdwcp
"
,
"
word
"
:
""
,
"
page_id
"
:
"
1623992246832rwwxwc
"
},{
"
id
"
:
"
1624227738503to7kx2
"
,
"
page_id
"
:
"
162399224768148xblq
"
,
"
word
"
:
"
fff
"
},{
"
id
"
:
"
1624227738776v99r1v
"
,
"
page_id
"
:
"
162399224768148xblq
"
,
"
word
"
:
"
ggg
"
},{
"
id
"
:
"
1624227740414bof8zt
"
,
"
page_id
"
:
"
162399224768148xblq
"
,
"
word
"
:
""
},{
"
id
"
:
"
1624227741225xhhzbp
"
,
"
page_id
"
:
"
1624169541137z3l0l8
"
,
"
word
"
:
"
kkk
"
},{
"
id
"
:
"
162422774153338vuvx
"
,
"
page_id
"
:
"
1624169541137z3l0l8
"
,
"
word
"
:
"
lll
"
},{
"
id
"
:
"
1624227741787cdi54f
"
,
"
page_id
"
:
"
1624169541137z3l0l8
"
,
"
word
"
:
""
}],
"
options
"
:[{
"
kind_id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
a1
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/9475b713f231acb63a2f1defa1c358d8.jpeg
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/738ef124b1882d10b31d59fb2fbd7eb7.mp3
"
},{
"
kind_id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
a2
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7e6859583e7cce173d500021d164be4a.jpg
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/f228f396d2007fc20ab07763ebeda22e.mp3
"
},{
"
kind_id
"
:
"
1623981972242lokdmj
"
,
"
word
"
:
"
a3
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/e0e3c605b5c4136569c7468352fcd10d.jpg
"
},{
"
kind_id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
b1
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/6c04a4211a3664f64dcda68f027f1f40.jpeg
"
},{
"
kind_id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
b2
"
},{
"
kind_id
"
:
"
1623988481981dyiqg7
"
,
"
word
"
:
"
b3
"
},{
"
kind_id
"
:
"
162417027477500qwmy
"
,
"
word
"
:
"
fff
"
},{
"
kind_id
"
:
"
162417027477500qwmy
"
,
"
word
"
:
"
rrr
"
},{
"
kind_id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
d1
"
},{
"
kind_id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
d2
"
},{
"
kind_id
"
:
"
1624170275274l1s0xq
"
,
"
word
"
:
"
d3
"
},{
"
kind_id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
e1
"
},{
"
kind_id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
e2
"
},{
"
kind_id
"
:
"
16241702766879192s4
"
,
"
word
"
:
"
e3
"
},{
"
kind_id
"
:
"
1624170277020xpdwcp
"
,
"
word
"
:
"
we
"
},{
"
kind_id
"
:
"
1624170277020xpdwcp
"
,
"
word
"
:
"
eewr
"
},{
"
kind_id
"
:
"
1624227738503to7kx2
"
,
"
word
"
:
"
f1
"
},{
"
kind_id
"
:
"
1624227738503to7kx2
"
,
"
word
"
:
"
f2
"
},{
"
kind_id
"
:
"
1624227738503to7kx2
"
,
"
word
"
:
"
f3
"
},{
"
kind_id
"
:
"
1624227738776v99r1v
"
,
"
word
"
:
"
g1
"
},{
"
kind_id
"
:
"
1624227738776v99r1v
"
,
"
word
"
:
"
g2
"
},{
"
kind_id
"
:
"
1624227738776v99r1v
"
,
"
word
"
:
"
g3
"
},{
"
kind_id
"
:
"
1624227740414bof8zt
"
,
"
word
"
:
"
3434
"
},{
"
kind_id
"
:
"
1624227740414bof8zt
"
,
"
word
"
:
"
444
"
},{
"
kind_id
"
:
"
1624227741225xhhzbp
"
,
"
word
"
:
"
k1
"
},{
"
kind_id
"
:
"
1624227741225xhhzbp
"
,
"
word
"
:
"
k2
"
},{
"
kind_id
"
:
"
162422774153338vuvx
"
,
"
word
"
:
"
l1
"
},{
"
kind_id
"
:
"
162422774153338vuvx
"
,
"
word
"
:
"
l2
"
},{
"
kind_id
"
:
"
1624227741787cdi54f
"
,
"
word
"
:
"
erg3
"
},{
"
kind_id
"
:
"
1624227741787cdi54f
"
,
"
word
"
:
"
g34t
"
}]
}
}
...
...
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