
05-25-2012, 06:48 PM
|
|
ǝɔɐɹq ʎןɹnɔ
|
 |
Join Date: Dec 2006
Location: Germany
Posts: 5,153
|
|
|
You'll have to cache key strokes for that. For "A A S", start by checking if the player hits A. The next time he hits a key, check if it's "A" again and if the time passed since the last key stroke is not too long (some sort of timeout, up to you). Do that again but this time for the "S". If everything's fine, do whatever you want to do. |
|
|
|