Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LWD_3
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
LWD_3
Commits
844169bc
Commit
844169bc
authored
Jan 11, 2022
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
58e76e87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
LWD_3.js
assets/LWD_3/scene/LWD_3.js
+9
-2
No files found.
assets/LWD_3/scene/LWD_3.js
View file @
844169bc
...
@@ -145,6 +145,8 @@ var game = cc.Class({
...
@@ -145,6 +145,8 @@ var game = cc.Class({
this
.
_timeoutIds
.
push
(
setTimeout
(()
=>
{
this
.
_timeoutIds
.
push
(
setTimeout
(()
=>
{
this
.
UpdataUi
();
this
.
UpdataUi
();
//播放题干
this
.
playAudioTitle
();
},
1000
));
},
1000
));
}
}
},
},
...
@@ -174,6 +176,8 @@ var game = cc.Class({
...
@@ -174,6 +176,8 @@ var game = cc.Class({
LWD_3
.
res_mgr
.
playAudioByUrl
(
path
,
(
url
)
=>
{
LWD_3
.
res_mgr
.
playAudioByUrl
(
path
,
(
url
)
=>
{
LWD_3
.
snd_mgr
.
playEffect
(
url
,
()
=>
{
LWD_3
.
snd_mgr
.
playEffect
(
url
,
()
=>
{
this
.
nodMask
.
active
=
false
;
this
.
nodMask
.
active
=
false
;
//播放题干
this
.
playAudioTitle
();
})
})
})
})
},
},
...
@@ -194,8 +198,8 @@ var game = cc.Class({
...
@@ -194,8 +198,8 @@ var game = cc.Class({
this
.
playCatDragon
(
"
begin
"
);
this
.
playCatDragon
(
"
begin
"
);
this
.
playLionDragon
(
"
normal
"
);
this
.
playLionDragon
(
"
normal
"
);
//播放题干
//
//
播放题干
this
.
playAudioTitle
();
//
this.playAudioTitle();
//重置UI界面
//重置UI界面
this
.
resetUI
();
this
.
resetUI
();
...
@@ -281,6 +285,9 @@ var game = cc.Class({
...
@@ -281,6 +285,9 @@ var game = cc.Class({
//更新界面
//更新界面
this
.
UpdataUi
();
this
.
UpdataUi
();
//播放题干
this
.
playAudioTitle
();
this
.
hideRestartBtn
();
this
.
hideRestartBtn
();
},
},
...
...
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