Flint Particle System Forum - KeyDownAction 2010-10-07T11:16:26+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher KeyDownAction http://flintparticles.org/forum/comments.php?DiscussionID=170&Focus=676#Comment_676 2009-02-12T05:16:11+00:00 2009-02-12T05:25:14+00:00 paul http://flintparticles.org/forum/account.php?u=158 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 ... KeyDownAction http://flintparticles.org/forum/comments.php?DiscussionID=170&Focus=683#Comment_683 2009-02-14T15:15:35+00:00 2010-10-07T11:16:26+01:00 Richard http://flintparticles.org/forum/account.php?u=1 emitter.addAction( new KeyDownAction( new Move(), Keyboard.UP, renderer.stage ) ); Will cause the Move action to occur only when the up key is pressed. emitter.addAction( new KeyDownAction( new Move(), Keyboard.UP, renderer.stage ) );

Will cause the Move action to occur only when the up key is pressed.]]>
KeyDownAction http://flintparticles.org/forum/comments.php?DiscussionID=170&Focus=687#Comment_687 2009-02-15T02:41:43+00:00 2010-10-07T11:16:26+01:00 paul http://flintparticles.org/forum/account.php?u=158 Excellent, thanks!