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

Environment SFX manager #3679

Open
avaer opened this issue Sep 1, 2022 · 0 comments
Open

Environment SFX manager #3679

avaer opened this issue Sep 1, 2022 · 0 comments
Assignees

Comments

@avaer
Copy link
Contributor

avaer commented Sep 1, 2022

We already have a set of long-short env sfx per biome. The environmental sfx will need to be triggered by the procedural generation engine.

This can be a simple API, like:

import metaversefile from 'metaversefile';
const {environmentSfxManager} = metaversefile;
environmentSfxManager.setSfxEnvironment('lava'); // enable
environmentSfxManager.setSfxEnvironment(null); // disable

Internally the system should loop the long/short sounds randomly.

@tcm390 tcm390 self-assigned this Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants