Controls

Player Controls in a computer game are usually the keyboard, mouse, gamepad, or joystick.

Mouse and Keyboard

Most game programming languages are geared towards making computer games. Keyboard and mouse support is almost always robust because everyone who uses a computer is guaranteed to have a mouse and keyboard to use as controllers.

Joystick, GamePad, Controllers

Most game programming languages include support for joysticks. Gamepads and other console style controllers made for computers can almost always be used in conjunction with a game programming language's joystick functions.

When including joystick, gamepad or controller support for your game, it is important to include an alternative control scheme for using the keyboard and mouse in the event that player does not have any kind of controller.

Console Controllers

Controllers designed to be used with video game systems such as the Wiimote for the Wii require a special interface to connect with the computer as well as drivers to interface with the operating system and game.

Related Pages

Links

To Do

  • WASD control
  • Arrow Key control
  • 4 direction grid movement
  • Frog throwing
  • 4 direction diagonal isometric movement
  • 360 control (rotation)
  • 360 control and towards an object and backwards away from an object
  • 360 control — locking onto an object
  • strafing
Categories: Input : Game Programming
page tags: c control input player
page_revision: 17, last_edited: 1237837136|%e %b %Y, %H:%M %Z (%O ago)