]> git.lizzy.rs Git - nothing.git/commitdiff
Document all the controls
authorrexim <reximkut@gmail.com>
Sun, 14 Oct 2018 23:17:49 +0000 (06:17 +0700)
committerrexim <reximkut@gmail.com>
Sun, 14 Oct 2018 23:17:49 +0000 (06:17 +0700)
README.md

index bd497a2689d2d39f508b54b2425211be09878732..7a18500daa1ab490c82f0f7db10243172a54e1ae 100644 (file)
--- a/README.md
+++ b/README.md
@@ -21,17 +21,33 @@ $ ./nothing_test
 
 ### Game
 
-| Key | Action             |
-|-----|--------------------|
-| `d` | Move to the right  |
-| `a` | Move to the left   |
-| `c` | Open debug console |
-
-### Console
-
-| Key   | Action       |
-|-------|--------------|
-| `ESC` | Exit console |
+#### Keyboard
+
+| Key     | Action                                                      |
+|---------|-------------------------------------------------------------|
+| `d`     | Move to the right                                           |
+| `a`     | Move to the left                                            |
+| `SPACE` | Jump                                                        |
+| `c`     | Open debug console                                          |
+| `r`     | Reload the current level including the Player's position    |
+| `q`     | Reload the current level preserving the Player's position   |
+| `p`     | Toggle game pause                                           |
+| `l`     | Toggle transparency on objects. Useful for debugging levels |
+
+#### Gamepad
+
+| Button       | Action                 |
+|--------------|------------------------|
+| `Left Stick` | Movement of the Player |
+| `1`          | Jump                   |
+
+### ConsolĂ©
+
+| Key       | Action                   |
+|-----------|--------------------------|
+| `ESC`     | Exit console             |
+| `Enter`   | Evaluate the expression  |
+| `Up/Down` | Traverse console history |
 
 ## Editing Levels