Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorpaul
- CommentTimeFeb 12th 2009 edited
I can't seem to figure out how to use KeyDownAction correctly. Could someone post an example of how it's used? None of the examples that come with Flint use it, and the documentation is a bit too esoteric for me to figure out how to use it correctly. -
- CommentAuthorRichard
- CommentTimeFeb 14th 2009
emitter.addAction( new KeyDownAction( new Move(), Keyboard.UP, renderer.stage ) );
Will cause the Move action to occur only when the up key is pressed. -
- CommentAuthorpaul
- CommentTimeFeb 15th 2009
Excellent, thanks!
1 to 3 of 3
