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

Ability to play a sound FX localised in a X-Y dimension #2

Open
Inateno opened this issue Oct 3, 2017 · 2 comments
Open

Ability to play a sound FX localised in a X-Y dimension #2

Inateno opened this issue Oct 3, 2017 · 2 comments

Comments

@Inateno
Copy link
Owner

Inateno commented Oct 3, 2017

Add the ability to localize a sound in the 2D space (giving it a X-Y position when playing ? Or assigning the sound to a gameobject ?).

This will change the pitch Left/Right to create the illusion of spatialisation

@Inateno
Copy link
Owner Author

Inateno commented Nov 10, 2017

Re-open:
The original issue was to create the part about spatialization ability, since howler is doing it I just need to implement it to make easy to use with the engine logic.

https://github.com/goldfire/howler.js/tree/master/examples/3d

What I would like:

  • give a sound / music to a GameObject (let's say, a bird).
  • define an other GameObject as "listener" (aka my player character)
  • the previous gameObject (bird) should spatialize his sound with the player position, automatically

@Inateno Inateno reopened this Nov 10, 2017
@Inateno
Copy link
Owner Author

Inateno commented Nov 10, 2017

No assigned to a project, it's not part of the migration to PIXI V4.

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