Well use something new for this: Key.isDown, a function that checks to see if a key is pressed. When used in tandem with an if statement and other Key.parameter functions, it can be used to determine motion based on keypresses.
By Adrien-Luc Sanders, About.com Guide
Well use something new for this: Key.isDown, a function that checks to see if a key is pressed. When used in tandem with an if statement and other Key.parameter functions, it can be used to determine motion based on keypresses.
What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >
Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >
©2009 About.com, a part of The New York Times Company.
All rights reserved.