I am trying to figure out how to check when the key “A - Z” is pressed…
How can I use ASCII characters to check this?, or even if I check something like this
if(Key.isDown(Key(“A”)))
I’d appreciate if someone could tell me how to check when keys A-Z are pressed…
preferably something like this
onKeyPress(“A”) = function()
{
“run code”
}
anyway to do this?
basically hotkeys, press “s” to call a line of function that will save the game… etc…