Descriptive Problem Summary:
In the documentation for the sound datum, it says that sound is only considered to be 3D when either: X Y or Z are set to non-zero values, or if environment is set.
As sound environments are global, (As described in this bug report: http://www.byond.com/forum/post/2273757), my guess is that even though XYZ are 0, the fact that environment is essentially a global var per client that it automatically assumes any sound is 3D for that client.
Code Snippet (if applicable) to Reproduce Problem:
https://ufile.io/4m9p6gjt - Test project with 2 verbs to test
1. Press play_sound. Sounds normal, no environment effects
2. Press play_sound_3d. Sound plays with environmental effects
3. Press play_sound again.
Expected Results:
Sounds plays with no environment effects
Actual Results:
Sound plays with environmental effects. even though XYZ is set to 0.
ID:2625688
Oct 15 2020, 9:00 am (Edited on Nov 18 2020, 6:39 am)
|
|||||||||||||
| |||||||||||||
Nov 18 2020, 6:38 am
|
|
Likely related to http://www.byond.com/forum/post/2273757
|
Most likely is, but the more specific problem is that documentation says that 3d audio effects like environments don't apply to audio with an xyz of 0.
Honestly I just want better audio support, audio is one of the most important methods of making a game engaging, giving players feedback and creating an interesting atmosphere, and right now you can barely do anything |