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 / need some help

Author
Message
D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 26th Jun 2003 21:19
i'm just asking how to make a sound play only once when i click something, my problem is the sound keeps repeating even if i click only once.
thankx
Kanzure
22
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 26th Jun 2003 21:20
try

LOOP Sound #, 1

I dunno though..I don't remember ever using this command ^^...

~Morph
Owner of MultiCode.NET and Multi2k.NET.
Nothing is something, and something is then nothing. Life is an illusion.
Ag3ntSm1th
22
Years of Service
User Offline
Joined: 13th May 2003
Location:
Posted: 26th Jun 2003 21:25
add this after the sound trigger code:
while mouseclick()<>0:endwhile

"The secret to creativity is knowing how to hide your sources." - Einstein
my DarkBasic creations - http://www.sixurbanninjas.tk
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Jun 2003 02:24
Quote: "LOOP Sound #, 1
"


Surely this should be PLAY SOUND, which will do exactly what it says on the tin.

Thanks in advance.
All the Best,
StevieVee

Login to post a reply

Server time is: 2025-05-19 07:02:05
Your offset time is: 2025-05-19 07:02:05