There are some key differences when it comes to control layouts on different input devices.
For example, with a keyboard, you have direction buttons. Same with gamepads. You also have a lot of other buttons to work with.
However, with mouse or touch, your options become limited. You no longer have something explicit for movement. There is no "press left to move left".
But you do have additional things called gestures (tap, double-tap, swipe in all sorts of directions, etc).
On mobile devices, you might have even more capabilities such as accelerometers (tilt your device, move it around, etc), and even the ability to blow air into your phone? I don't know what's going on here but I see people doing that sometimes.
Some browser games I've played had it so that if you wanted to move, you would "click" where you want to go, and it would either just go in that general direction or do some pathfinding.
This is fine if you're playing on 30 inch monitor with a fine-precision mouse, or on a tablet, but not when you're on a 5 inch display with potentially stubby fingers.
What are some good ways to implement basic controls such as movement, confirmation, selection, cancelling, and so on?
For example, with a keyboard, you have direction buttons. Same with gamepads. You also have a lot of other buttons to work with.
However, with mouse or touch, your options become limited. You no longer have something explicit for movement. There is no "press left to move left".
But you do have additional things called gestures (tap, double-tap, swipe in all sorts of directions, etc).
On mobile devices, you might have even more capabilities such as accelerometers (tilt your device, move it around, etc), and even the ability to blow air into your phone? I don't know what's going on here but I see people doing that sometimes.
Some browser games I've played had it so that if you wanted to move, you would "click" where you want to go, and it would either just go in that general direction or do some pathfinding.
This is fine if you're playing on 30 inch monitor with a fine-precision mouse, or on a tablet, but not when you're on a 5 inch display with potentially stubby fingers.
What are some good ways to implement basic controls such as movement, confirmation, selection, cancelling, and so on?
Last edited by a moderator:
