i have a problem with looping my sounds.
i'm using a code like:
load sound "sound.wav",1
do
if mouseclick()=1 then play sound 1
loop
but the problem is that if i hold down my mousebutton it plays the sound a trillion times at the same time like a machinegun but what i want is that their is a little time between them.
and if i use the fallowing code:
load sound "sound.wav",1
do
if mouseclick()=0 then loop sound 1
loop
when i use this code their is to much time between each loop and if i hold the mousebutton down i get a weird noise.
can somebody help me.
Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 10GB HD, Riva TNT2 Ultra 32mb