Post Reply 
Repeated Keypress with getKey? [PPL]
02-20-2019, 11:13 PM
Post: #1
Repeated Keypress with getKey? [PPL]
I was trying to make a simple game that requires you to hold down a key to make a sprite move across the screen. However, when I hold down the buttons I assigned to move the character, they only do one key press. Is there a way to get repeated key presses by holding down a button? I'm stunned I couldn't find a topic on this already and the command list I'm referencing doesn't even mention repeated key presses!
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2019, 12:21 AM
Post: #2
RE: Repeated Keypress with getKey? [PPL]
ISKEYDOWN

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2019, 12:36 AM
Post: #3
RE: Repeated Keypress with getKey? [PPL]
Thanks for your reply Carlos, that worked like a charm!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)