Gamepad
by iainlobb
ActionScriptpushed over 9 years ago
Gamepad simulates an analog joystick input using the keyboard. Many times when we access key presses, what we are really doing is pretending that WASD, the arrow keys or some other combination are actually a D-pad or joystick with an X and Y axis, and 1 or 2 fire buttons. Gamepad handles the event capture, maths and other details of this for you, so you only have to think about how you want your game to respond to this input.
AI summary
Input simulator
A library that simplifies keyboard input for Flash games by simulating analog joystick input using the keyboard.
- stars
- 56
- forks
- 7
- watching
- 4
- awesome list
- 1
Featured in 1 awesome list
Each link jumps to the spot where the list mentions Gamepad.