-
Notifications
You must be signed in to change notification settings - Fork 139
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
Sounds #43
Comments
how to do it:
retrieve actual song directly in browser:
bypass CORS (reference https://github.com/PrismarineJS/node-minecraft-wrap/blob/master/lib/launcher_download.js ) |
we'd need in addition a "event => sound that should be played mapping" |
lot of id of sounds, would need the id => file name mapping |
Most sounds would require audio spatialization (it's a nice link to have here btw), but it'd be impossible to avoid CORS policies if we use that |
Sound isn't playing inside the game because of this: The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu |
Add sounds (shouldn't be that difficult considering mineflayer has an event for hard coded sounds too)
The text was updated successfully, but these errors were encountered: