Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy Audio output when playing multiple sounds at once #90

Open
swordmaster2k opened this issue Sep 24, 2020 · 0 comments
Open

Buggy Audio output when playing multiple sounds at once #90

swordmaster2k opened this issue Sep 24, 2020 · 0 comments
Assignees
Milestone

Comments

@swordmaster2k
Copy link
Owner

Reported by Grindalf when trying to play multiple fishing sounds together, likely caused by HTML5 Audio implementation that CraftyJS was built on:
image

Ive been adding sound effects to my fishing game and wow have I been having some weird behavior
I imagine its just a quirk of JS which is why I didnt post in bug reports
I have 3 sound effects
a reeling in sound
a fanfare for catching a fish(which I also use when hooking a fish)
and a boo sound for when the fish escapes
the boos sound and reeling sound were fine
but I could not get the fanfare to play unless I stopsound the reel just before playing it.
funny thing is that would not play that instance of the fanfare but the other one instead XD
anyway I have it working now by using stopsound on the reeling sound EVERYWHERE

@swordmaster2k swordmaster2k added this to the Backlog milestone Sep 24, 2020
@swordmaster2k swordmaster2k self-assigned this Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant