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.

Music & Sound FX / need help

Author
Message
Azadarasa
13
Years of Service
User Offline
Joined: 17th Jul 2010
Location:
Posted: 17th Jul 2010 17:36
how i can make continous sound on character. ,Examp. i made an tank wich is basicly an character .i would like to add an engine sound on it, but i dnt know how..
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 17th Jul 2010 21:40
I assume you're refering to DarkBASIC.
First load the sound in as a 3d sound (load 3dsound), then loop it (loop sound) and continously set it's position to that of the character (preferably in your main loop; position sound). You should also set the "listener" position to that of the camera in the main loop, unless you're looking for some special sound effect that you're achieving in some other way (position listener).

Hope that cleared it up

Login to post a reply

Server time is: 2024-04-20 04:51:25
Your offset time is: 2024-04-20 04:51:25