forked from bedohswe/p3he
docs(readme): Added info about loading levels and controls
This commit is contained in:
parent
9e90b02f79
commit
b05a139cbf
25
README.md
25
README.md
@ -1,3 +1,26 @@
|
|||||||
|
|
||||||
# Pseudo-3D hyperbolic engine
|
# Pseudo-3D hyperbolic engine
|
||||||
|
|
||||||
My school project
|
My school project
|
||||||
|
|
||||||
|
## Load levels
|
||||||
|
|
||||||
|
You can load a level by pass the path to the level as an argument, see example:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python3 main.py maps/triangle.json
|
||||||
|
```
|
||||||
|
|
||||||
|
## Controls
|
||||||
|
|
||||||
|
| Descripton | Key |
|
||||||
|
|------------------------------------|:---:|
|
||||||
|
| Move forwards | W |
|
||||||
|
| Move backwards | D |
|
||||||
|
| Strafe left | Q |
|
||||||
|
| Strafe right | E |
|
||||||
|
| Turn exactly 180 degrees | R |
|
||||||
|
| Toggle FPS cap | F1 |
|
||||||
|
| Create a wall | F2 |
|
||||||
|
| Toggle debug info | F3 |
|
||||||
|
| Print to terminal current position | F4 |
|
||||||
|
| Save level to `./levels` folder | F5 |
|
||||||
|
Loading…
Reference in New Issue
Block a user