Ben Silvis

Game Development in Flash

AS3: KeyboardEvents, KeyCodes, and CharCodes

Once you really get going into designing basically any kind of computer game – whether it be a 2-D platformer like Contra or even online video Poker – you are eventually going to need some kind of keyboard control besides general typing. Traditionally this could be the arrow keys or W,A,S,D for movement, spacebar for jumping or plasma-ray firing, R for retry or Q for quit, but really the level of control is up to you.

(more…)

, , ,
October 8, 2009 at 7:54 pm Comments (6)