Posted 31 January 2013 - 07:48 AM
Hi guys,
I'm working on a small minigame (Guitar Hero!) and I wanted to let os.pullEvent(key) check if I pressed a key.
However, os.pullEvent doesnt work that way and it just waits 'till I press the key…
Is there anyway it will not wait, and just see that I pressed a key or not, AND return what key I pressed?
Thanks in advantage.
I'm working on a small minigame (Guitar Hero!) and I wanted to let os.pullEvent(key) check if I pressed a key.
However, os.pullEvent doesnt work that way and it just waits 'till I press the key…
Is there anyway it will not wait, and just see that I pressed a key or not, AND return what key I pressed?
Thanks in advantage.