This is a link to the commit where it happened:
So maybe now I can do it natively? But the spatial extension seems to be about volume, not panning…
No, it’s panning. It uses howler’s panning Plugin that you probably had used before. Not sure what’s ambiguous in the commit description:
This allows to set the position of a sound in a 3D space. The stereo system of the device is used to simulate the position of the sound and to give the impression that the sound is located somewhere around the player.
It’s not using howler’s sound.stereo() because that throws me an error and that method only cares about left and right, gdevelop asks me for x,y,z (you can also see how it was removed in the commit). It also didn’t need a “listener,” which I don’t care about. What the spatial extension seems to do is increase/decrease volume with respect of the position of a listener (which is an in-game object), it sounds the same on the left and right speakers.
Oh right nevermind. I thought
Can you elaborate on the “trick GDevelop into thinking” part? Putting which action?