[ANN] My latest game
Scott Rossi
scott at tactilemedia.com
Fri Jun 18 18:09:17 EDT 2004
>> As a player I was a little annoyed by the delay between hitting
>> an arrow key ,and finding myself having to wait before the repeat
>> of the arrow key kicked in.
I have to agree with this comment. Response time is frustrating.
> This is a system setting (Keyboard repeat) I have found no way to set
> this in Rev yet. :-(
Here's one basic method:
[on startup]
set the idleRate to 10
[card script]
on idle
if "65361" is in keysDown() then set left of img 1 to left of img 1 - 2
if "65363" is in keysDown() then set left of img 1 to left of img 1 + 2
end idle
You can also use "send in" to create more efficient key polling. Use your
own positional change values for desired control.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list