4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
11.08k stars 859 forks source link

Spatial and directional sound #6954

Open HelperWesley opened 1 month ago

HelperWesley commented 1 month ago

Description

2 issues:

  1. The spatial sound actions don't allow you to set a distance for maximum and minimum range, meaning you can only use them within the range they're already set to.(Which is not only inconvenient, but it just doesn't work for most games)

  2. The normal sound actions in engine don't allow you to adjust the volume of the right or left ear in a headset, so we can't make our own directional sound in games. (The spatial sound actions do this, so it feels strange that there is no option for this with normal sound.)

Solution suggested

  1. Add a distance field for maximum and minimum distance in the "Set position of sound" spatial sound action. This would give users a lot of control over spatial sounds.

  2. Add actions to adjust the level of sounds for the left and right sides of speakers on a channel.

nilaygit-10721 commented 3 days ago

can @HelperWesley me this issue?