Help with keyDown!
Posted: Wed Jun 01, 2016 3:04 am
Hi there, I'm making a game.
I have a problem in that I want to make sure that the program I'm making keeps track of the keys that are pressed and makes sure that the effect that occurs per key pressed only happens once.
So if I pressed the letter a once, then I could press a all I liked after that, but none of the scripts written for that key would run, until I restarted the game.
I am at a loss for how to do this.
Whoever can solve this for me gets a cookie!
I have a problem in that I want to make sure that the program I'm making keeps track of the keys that are pressed and makes sure that the effect that occurs per key pressed only happens once.
So if I pressed the letter a once, then I could press a all I liked after that, but none of the scripts written for that key would run, until I restarted the game.
I am at a loss for how to do this.
Whoever can solve this for me gets a cookie!