Thread: Dashing/Running
View Single Post
  #7  
Old 04-28-2009, 06:39 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by [email protected] View Post
hmm- I mean the keys not mouse. =O
Oh sorry, I have no idea why I posted that o.o

Anyways, onKeyPressed() goes into a loop if you hold down the key if I'm not wrong.

I was thinking of these btw


function GraalControl.
NPC Code:

onKeyDown(keycode,keystring,scancode) - a key has been pressed while the control had the input focus (makeFirstResponder())
onKeyUp(keycode,keystring,scancode) - the key has been released

__________________
Reply With Quote