diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-18 12:33:51 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-18 12:33:51 -0500 |
| commit | 3164203c0b196edee882e896adbd33fc65e32588 (patch) | |
| tree | fe1007f99a947c9816e65751c6a1dac60f088662 /views/about/howto.ejs | |
| parent | dba52c100c5fa621c4c611effa8115dd7e6d10e6 (diff) | |
add keyboard shortcuts to howto
Diffstat (limited to 'views/about/howto.ejs')
| -rw-r--r-- | views/about/howto.ejs | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/views/about/howto.ejs b/views/about/howto.ejs index 2e0f8ed..30497e1 100644 --- a/views/about/howto.ejs +++ b/views/about/howto.ejs @@ -8,8 +8,6 @@ <div class="rapper page"> [[ include ../partials/header ]] - <!-- put stuff here --> - <div class="hero" style="background-image:url(http://okfocus.s3.amazonaws.com/images/vvalls/construction.jpg);"> <div class="holder"> </div> @@ -73,7 +71,57 @@ </span> </div> </div> - + + <h1 style="text-align:center;">Keyboard Shortcuts</h1> + + <div class="item"> + <div class="rap"> + <span style="background-image:url(http://okfocus.s3.amazonaws.com/random/keyboard.gif); background-position: 15%;"></span> + <span> + <words> + <h3>Getting around VValls is easier with the keyboard.</h3> + + If you play video games, you should be familiar with using WASD to move -- left hand on the keyboard, right hand on the mouse. + We have added a few keys for pivoting and looking up and down. + </words> + </span> + <br clear="both"> + + <table border="0" class="keyboard first-keyboard"> + <tr><td>W</td><td>Move forward</td></tr> + <tr><td>A</td><td>Strafe left</td></tr> + <tr><td>S</td><td>Move backward</td></tr> + <tr><td>D</td><td>Strafe right</td></tr> + <tr><td> </td></tr> + <tr><td>Q</td><td>Turn left</td></tr> + <tr><td>E</td><td>Turn right</td></tr> + <tr><td> </td></tr> + <tr><td>R</td><td>Look up</td></tr> + <tr><td>F</td><td>Look down</td></tr> + </table> + <table border="0" class="keyboard"> + <tr><td>Cmd-Z</td><td>Undo</td></tr> + <tr><td>Shift-Cmd-Z</td><td>Redo</td></tr> + <tr><td>Cmd-\</td><td>Noclip mode</td></tr> + <tr><td>Esc</td><td>Cancel</td></tr> + <tr><td>Backspace</td><td>Delete currently selected media</td></tr> + <tr><td> </td></tr> + <tr><td>Mousewheel</td><td>Move forward/back</td></tr> + <tr><td>Shift-Mousewheel</td><td>Turn left/right</td></tr> + <tr><td> </td></tr> + <tr><td>Spacebar</td><td>Jump</td></tr> + </table> + <style> + .keyboard { float: left; width: 50%; } + .keyboard tr { margin: 0; padding: 0; } + .keyboard td { padding: 2px 10px; margin: 0; } + .keyboard.first-keyboard td:nth-child(1) { text-align: center; width: 50px; padding-left: 100px; } + .keyboard td:nth-child(1) { text-align: right; width: 150px; } + .keyboard td:nth-child(2) { font-weight: 300; } + </style> + </span> + </div> + </div> </div> |
