Code: Select all
InitSound()
InitSoundEffects()
LoadSound(0,"step.wav")
Playsound(0,#PB_ECHO,100,10) ;Delay 100, count 10, we go through a tunnel
Playsound(0,#PB_ECHO,2000,3) ; Delay 2000, count 3 - We are in the mountains!
Playsound(0,#PB_DISTORTION,100,0) ; we hear something through a mobile phone!
make it real!- Easy but very fast 2D game support trough dedicated libraries (DirectX, SDL, ...)