Keyboard & Mouse control
I'm trying to figure out what would be the best keyboard & mouse control compination for a game that needs the following actions:
-Move normal (forward, backward, turn left, turn right, strafe left, strafe right)
-Move fast (forward, backward, turn left, turn right, strafe left, strafe right)
So far I came up with:
<forward> -> up arrow, "W", hold pressesed middle mouse button
<backward> -> down arrow, "S"
<turn left> -> left arrow, mouse movement
<turn right> -> right arrow, mouse movement
<strafe left> -> ALT + left arrow, "A"
<strafe right> -> ALT + right arrow, "D"
hold pressed the shift key + <forward> / <backward> etc
<Jump> -> "Q", "Z", right mouse button
<Attack> -> Ctrl, left mouse button
<Use/Interact> -> SPACE, dblclick middle mouse button
Do the above bindings define a good control method or is there another compination that can be considered easier for the gamer?
Many games use SPACE for jumping. It can also come in handy if your game alows ability for side jumping like in Tomb Rider.
Also if your game controls are Keyboard + Mouse then I asume that most users would rather have A and D for strafing left and right instead for turing (just like in FPS). You do turning with mouse.
As for interaction many games use either E or F, some even Q.
But best way is to alow player to reasign controls on its own.
- Jump: Space
- Attack: Left mouse button (usually there isn't even default key set for keyboard)
- (alternate fire or something special: Right mouse button)
- Use/Interact: "E", or in rare cases "F". (Personally i prefer "E", it is in a bit more convenient spot)
I personaly don't think double tap is good for running. Minecraft uses double tap for sprint but many times you double tap might be to slow, so you instead of sepding up end up being slower (you don't move during the time between taps). Also sometimes you might start running when you don't want to.
Originally Posted by WILL
Double tap can be especialy problematic for those with low end computers on wich the game can't run with full speed. On these computers it is posible for double tap to be recognized as constant press.
Last edited by Jimmy Valavanis; 20-04-2012 at 06:07 AM.
Reason: Correct spelling mistakes
Alt + arrows creates the necessity of holding the key and also alters all keys, so You will have to make all other bindings work regardless of whetver alt is held or not. I've been playing DOOM recently and found it quite nice to have shooting on Lshift and strafing with Z+X, and interacting on del (which, on my laptop's keyboard, it adjacent to the arrows). In this combination jump could be left on space, or maybe Lctrl could be better...
As for fast movement, why not make an "autorun" button? This should not replace the "hold-to-run/walk" button, but a toggle button could be quite nice. And if You mean fast movement to be used only in certain situations - well, if someone will want to speedrun, they can arrange their keys so that holding "run" will not hinder them, or put something heavy on the key - not having autorun will not be a problem. An in-game solution, like stamina, would be required.