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 / play sound after

Author
Message
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 2nd Sep 2005 19:24
i want to play this sound after the camera has got to a certain point so i did a distance check so when it got within a certain range it plays the sound but all i can hear is the sound trying to play, its like a crackling noise.why wont it play please.

heres what i put

its not my speakers i know they work, and i got a feeling ime making a very basic error . thankyou


current projects = codename : tasgarad
despite what it sais to the left joined 5 december 03
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 2nd Sep 2005 19:32
try this




Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 2nd Sep 2005 19:34
Are you trying to start the sound every frame that that is true? For example, if you could check to see if the sound was already playing, and not try to start it?

In pseudocode (because I've not got DB here...)


I'm just guessing though, as I can't test it
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 2nd Sep 2005 19:40
oh yer thank you zotoaster but i think i will go with tinkergirl and see if that works because i know what she means thanks.


current projects = codename : tasgarad
despite what it sais to the left joined 5 december 03
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 2nd Sep 2005 19:44
yup i got it working thanks


current projects = codename : tasgarad
despite what it sais to the left joined 5 december 03

Login to post a reply

Server time is: 2025-05-22 09:26:08
Your offset time is: 2025-05-22 09:26:08