bbarker / BlockSmith

BlockSmith is currently an experiment in the ways of MineCraft-like voxel games.
Mozilla Public License 2.0
0 stars 1 forks source link

Improve controls and camera #3

Open bbarker opened 8 years ago

bbarker commented 8 years ago

Should feel like Minecraft and at least be engineered with key customization in mind.

In particular, looking with the mouse needs to be greatly improved.

bbarker commented 8 years ago

The basic issue with the mouse seems to be that we can't use the mouse and the keyboard at the same time: if we click on another window, then click back, the mouse works, but we can't use WASD to move.

bbarker commented 8 years ago

See some notes here that may or may not help with the above issue, but may help with the design: http://phrozenbit.blogspot.com/2015/02/lwjgl-basics-2-keyboard-and-mouse-input.html

bbarker commented 8 years ago

Changing to Mouse.setGrabbed (false) fixed the above problem, at least on windows; of course the cursor is still viewable which is not ideal. May need to hold out for #5 for a proper fix.

bbarker commented 7 years ago

Could be useful to draw inspiration from scage controllers