Hi guys, I wondered if you could help, I am trying to work out how I can play one sound at a time, but I am rather puzzled on how I can do it.
I want the accellerometer to play one sound in say the X axis and a different sound in the Y axis.
However I am just getting loads of sounds playing all at once.
Here is the code I have used, but get an error with the "getsoundsplaying" command.
I wondered if anyone could please give me any tips on how I can accomplish this?
Thanks in advance.
Here's the "basic" code I am using at the moment:-
// Check Accelerometer Movement and play sound.
x# = GetDirectionX ( )
y# = GetDirectionY ( )
if x#=>1 then Playsound ( 1 )
if y#=>1 then Playsound ( 2 )
getsoundsplaying ( 1 ) then stopsound (2)
getsoundsplaying ( 2 ) then stopsound (1)
www.dazzyscds.co.uk