2024-04-03 11:25:55 +00:00
|
|
|
# Pseudo-3D hyperbolic engine
|
2024-04-06 19:38:12 +00:00
|
|
|
|
2024-04-03 11:25:55 +00:00
|
|
|
My school project
|
2024-04-06 19:38:12 +00:00
|
|
|
|
|
|
|
## 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 |
|