fogleman / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
10.39k stars 1.39k forks source link

Add key shortcut to descend when flying #179

Open satoshinm opened 7 years ago

satoshinm commented 7 years ago

When in flying mode (pressed tab), the jump key (space) ascends vertically. This PR adds another keyboard shortcut to descend vertically: right-shift (was going to use left-shift, but it is assigned to zoom). This is a convenient alternative to using the mouse to change the camera to point downwards and pressing 'W' to move forward.