Minecraft icon indicating copy to clipboard operation
Minecraft copied to clipboard

Keyboard-only support

Open tleeuwenburg opened this issue 9 years ago • 2 comments

I'm not sure if other minecraft clones do this, but it has always bugged me that you seemingly have to use a mouse. What do other people think of adding keyboard controls for changing the view axes (look/turn up, down, left, right) plus create and remove blocks (left/right mouse)?

tleeuwenburg avatar Jan 10 '17 06:01 tleeuwenburg

Keyboard controls 100%! For reasons I don't (yet) understand, when I attempt to change perspective using the mouse, it goes ballistic and I'm almost nauseous. (Win7 virtual machine, Python 2.7, pyglet 1.2.4)

A 'step' value of 15 degrees seems to be an effective value when I added rotation via the keyboard. It's a little tricky to focus on the exact desired 'target' facet of a cube but is manageable. 'C' for create-block and 'R' for remove-block are reasonable mappings.

I'm pondering extending the label to show the 'current' block type and flight mode, as I can't seem to keep track of these mentally ...

fire-eggs avatar Apr 22 '17 18:04 fire-eggs

Maybe reuse the current mouse control code and just implement arrow key control over its X and Y?

ateesdalejr avatar Jun 14 '17 21:06 ateesdalejr