Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG23
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
DG23
Commits
22af6516
Commit
22af6516
authored
Nov 20, 2023
by
杨一航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 音效调整
parent
595ee3e5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
220 additions
and
198 deletions
+220
-198
DG23.fire
assets/DG23/scene/DG23.fire
+217
-196
DG23.ts
assets/DG23/scene/DG23.ts
+3
-2
No files found.
assets/DG23/scene/DG23.fire
View file @
22af6516
This diff is collapsed.
Click to expand it.
assets/DG23/scene/DG23.ts
View file @
22af6516
...
...
@@ -167,7 +167,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
doEndLogic
()
{
cc
.
log
(
"
doEndLogic---
"
)
this
.
playLocalAudio
(
"
endstar
"
)
this
.
root
.
active
=
false
;
this
.
btn_restart
.
active
=
true
;
this
.
btn_quit
.
active
=
true
;
...
...
@@ -257,10 +257,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
bigpao
.
active
=
true
;
this
.
bigpao
.
y
=
-
100
;
return
new
Promise
((
resolve
)
=>
{
this
.
playLocalAudio
(
"
bigpp
"
)
cc
.
tween
(
this
.
bigpao
).
to
(
1
,
{
y
:
300
,
scale
:
1
}).
call
(
async
()
=>
{
let
pp
=
this
.
bigpao
.
getChildByName
(
"
aninode
"
);
pp
.
active
=
true
;
this
.
playLocalAudio
(
"
bigpp
"
)
this
.
playLocalAudio
(
"
pigppbom
"
)
await
asyncPlayDragonBoneAnimation
(
pp
,
"
newAnimation
"
,
1
);
resolve
(
""
)
}).
start
();
...
...
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