Spatial sound
Allow positioning sounds 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.
Actions
Set position of the listener
Sets the spatial position of the listener/player.
Set position of sound
Sets the spatial position of a sound. When a sound is at a distance of 1 to the listener, it's heard at 100% volume. Then, it follows an inverse distance model. At a distance of 2, it's heard at 50%, and at a distance of 4 it's heard at 25%.
This page is an auto-generated reference page about the Spatial sound feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.