After completing my winter scene for my game I wanted to add a snow crunch sound to play while the player traverses the scenery.
I had tried
if upkey()=1 or downkey()=1 or rightkey()=1 or leftkey()=1 then play sound 6
but soon found the issue of my .wav stuttering while the player moved. I then tried to include
else if upkey()=0 or downkey()=0 or rightkey()=0 or leftkey()=0 then stop sound 6
but did little to remedy my problem. I also tried to include a
but this was just as futile.
Should I be trying to use scan codes ? Any suggestions ?
- This message is made of 100% recycled bits and bytes