Could someone confirm for me that they experience the same result with this program:
http://www.dracsoft.com/zips/2ds.zip
Run the game, use WSAD to move around. Note the speed you move. Now left-click to fire, or right-click to reload and thus cause a sound effect to play. The sound plays fine, but all of a sudden the movement speed is practically zero.
The yellow AI players stop moving at the right speed too.
This does *not* happen when I change:
Code: Select all
Procedure PlaySFX(sfx.l, loop.b = 0)
If IsSound(sfx)
If loop=1
PlaySound(sfx,#PB_Sound_Loop)
Else
PlaySound(sfx)
EndIf
EndIf
EndProcedure
Code: Select all
Procedure PlaySFX(sfx.l, loop.b = 0)
If IsSound(sfx)
If loop=1
;PlaySound(sfx,#PB_Sound_Loop)
Else
;PlaySound(sfx)
EndIf
EndIf
EndProcedure