Browse Source

Add control keys

DricomDragon 4 years ago
parent
commit
5ceed806e5
1 changed files with 15 additions and 1 deletions
  1. 15 1
      README.md

+ 15 - 1
README.md

@@ -2,7 +2,7 @@
 
 A Box2D sandbox where you try to escape bullets shot by several artillery.
 
-# Build
+## Build
 
 You need `make`, `SDL1` and [Box2D](https://github.com/erincatto/box2d) to build this project.
 
@@ -18,3 +18,17 @@ To execute :
 ```sh
 $ make exec
 ```
+
+## Controls
+
+- Arrow keys : move ship
+- Mouse clic : build a tourel at cursor
+- Space : pause
+- Number keys 1, 2, 3, 4 : change tourel type
+- A : toggle visual effects
+- Z : increase shoot delay of next tourel
+- S : decrease shoot delay of next tourel
+- E : restore life points to maximum
+- R : toggle tourel position prediction
+- Escape : quit
+- Backspace : destroy tourels