Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dap-hu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Vũ Gia Vương
dap-hu
Commits
655f27ce
Commit
655f27ce
authored
May 07, 2025
by
Vũ Gia Vương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sound break jar
parent
1ebcf8e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
BreakingJarController.ts
assets/scripts/GamePlay/BreakingJarController.ts
+2
-1
No files found.
assets/scripts/GamePlay/BreakingJarController.ts
View file @
655f27ce
import
{
BEAT_GUILD
,
CHECK_FRAGMENT
,
CHECK_TOUCH
,
DROP_ALL_FRAGMENT
,
DROP_TOP_FRAGMENT
,
eventTarget
,
HAMMER
,
RESET_BOTTLE
,
RESET_FRAGMENT
,
SHAKE_FRAGMENT
,
SHOW_CARD_POPUP
,
SHOW_FOG
,
STOP_GUILD_TAP
}
from
"../Events"
;
import
{
BEAT_GUILD
,
CHECK_FRAGMENT
,
CHECK_TOUCH
,
DROP_ALL_FRAGMENT
,
DROP_TOP_FRAGMENT
,
eventTarget
,
HAMMER
,
PLAY_BREAKING_SOUND
,
RESET_BOTTLE
,
RESET_FRAGMENT
,
SHAKE_FRAGMENT
,
SHOW_CARD_POPUP
,
SHOW_FOG
,
STOP_GUILD_TAP
}
from
"../Events"
;
import
{
Global
}
from
"../Global"
;
import
BehindFragment
from
"./BehindFragment"
;
import
FragmentJarController
from
"./FragmentJarController"
;
...
...
@@ -170,6 +170,7 @@ export default class BreakingJarController extends cc.Component {
.
delay
(
0.2
)
.
to
(
0.2
,
{
angle
:
-
90
})
.
to
(
0.05
,
{
angle
:
0
})
.
call
(()
=>
eventTarget
.
emit
(
PLAY_BREAKING_SOUND
))
.
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