Install the required dependencies, example for Fedora:
sudo dnf install SDL2-devel SDL2_image-devel
Install zig 0.13.0 and run zig build run
inside the projects directory. The game is considerably
faster when built with optimizations: zig build run -Doptimize=ReleaseFast
.
- arrow keys - Move
- space + arrow keys - Strafe
- right ctrl + arrow keys - Rotate slowly
- t - Toggle top-down view
- f - Toggle flow-field (path-finding info, zoom with mousewheel)
- F2 - Save map to disk
- F5 - Reload map from disk
- left mouse button - Start/stop placing object
- mouse wheel - Zoom in/out
- right mouse button + mouse wheel - Cycle trough placeable objects
- middle mouse button - Cycle trough object types
- delete - Toggle delete/insert mode