Dreamengine icon indicating copy to clipboard operation
Dreamengine copied to clipboard

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

Open Inateno opened this issue 7 years ago • 2 comments

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 avatar Oct 03 '17 08:10 Inateno

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 avatar Nov 10 '17 09:11 Inateno

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

Inateno avatar Nov 10 '17 09:11 Inateno