Thread: keydown()
View Single Post
  #7  
Old 11-22-2002, 03:17 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Clientside I am most times using timeouts of 0.05 seconds.

The script should react immediatly and not lag behind a bit.
If you don't want the action to be repeated too often there are two ways.
The first way is to make sure that the key has been released before it has been repressed.
The second way is to count the time that has passed since the last action was triggered by the key.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote