Ability to play a sound FX localised in a X-Y dimension
Inateno opened this issue · 2 comments
Inateno commented
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 commented
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 commented
No assigned to a project, it's not part of the migration to PIXI V4.