Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: DJ Omnimaga on May 11, 2010, 12:30:09 am
-
I am certain I saw this in another topic, but there are so many posts I no longer can find it and search engine won't help either:
For example, on the highscore screen, when I press 2nd to exit it lands back on the title screen. To start the game, I need to press 2nd too. However, if I hold down 2nd for slightly too long, I don't even have time to see the title screen, even if I use Repeat Getkey=54 instead of Repeat Getkey(54). How would I fix that?
-
Put a dummy getKey before the loop, to clear the last key pressed. Hopefully that will work :)
-
ok thanks that works. Only with getkey, not getkey(), though.
-
You can do this:
While getkey(0):End
That works even when you're using direct keys. It will wait until you've let go of all the keys.
-
Aah ok thanks ^^
-
You can do this:
While getkey(0):End
That works even when you're using direct keys. It will wait until you've let go of all the keys.
That's an awesome idea! I'll have to remember this! Great point. :D
-
If you have animations or the like, make sure they run when running this, though, else all animations will stop until you release all the keys. It's better to use this in menus