Advertisement

OpenAL

Started by March 15, 2005 02:10 PM
9 comments, last by BangorRipper 19 years, 11 months ago
certainly...i did the following

if(!fireKeyPressed) spaceReleased = true;
if(fireKeyPressed&&(!playerDead)&&spaceReleased&& !soundManager.isPlayingSound())

so what this does is ensures two things, the player cannot shoot again until the shoot button has been released and then re-applied and also that the player cannot shoot until the sound that is playing has finished playing

:)

This topic is closed to new replies.

Advertisement