Currently making a game where when the user presses "k", the character shoots, but keeps shooting as long as the button is down. How would I make it so the character only shoots once, even when the key is held down?
I'm using isKeyDown("k") to determine when he shoots.
Thanks!