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

Audio Ear and positional Sound #24

Open
SirRamEsq opened this issue Jan 22, 2018 · 0 comments
Open

Audio Ear and positional Sound #24

SirRamEsq opened this issue Jan 22, 2018 · 0 comments

Comments

@SirRamEsq
Copy link
Owner

SirRamEsq commented Jan 22, 2018

Have two kinds of sounds.
Normal sounds that are simply played.

Sounds with a position that will use the closest entity with a "Listener Component" (or similar name) that acts as an ear. The sound will then be modified based on where the ear is
So if the ear is far away, the volume is decreased
If the ear is underwater, all the sounds it hears can have reverb.
IF there are no ears (no listener components) no sound will be played.

May want to look into OpenAL, as SDL_Mixer seems a bit lacking

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