Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / 3D Sound Volume/Distance

Author
Message
Mason
21
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 21st Mar 2004 07:19
I have a game in which some one follows you. when they get closer to you, you hear their footsteps using 3d sound. I got it to work and everything works fine, but i was wondering if there was anyway to make the sound hearable from a further distance. When i first begin to hear the sound, the object is quite close to me. I want the sound to be heard from a greater distance.
Thanks,
xXMasonXx
koshi
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Cyberspace
Posted: 21st Mar 2004 07:28 Edited at: 21st Mar 2004 07:31
you could probably do that by changing the volume of the sound,
set sound volume SndNum,Vol
Volume has to be at/between 0 and 100



Does the noise in my head bother you?
http://www.rovokaa.tk/
Mason
21
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 21st Mar 2004 19:10
That worked. Thanks a lot for the help.
Cheers,
Mason

Login to post a reply

Server time is: 2025-05-31 17:42:46
Your offset time is: 2025-05-31 17:42:46