Hello,
I’m looking to know and if it does not exist, created, objects (sprites for example) that produce sounds. And change the volume (or stop) of the sound produced according to the position of the camera and its zoom.
In fact; I would like to create a spatial sound, which if the camera is far from the object, then the sound is weaker. And conversely, if the camera is close, the sound is louder.
Does Phaser handle these kinds of sounds? Or has someone already done or has an idea of how to make this system?
Thank you in advance !