Simple pseudo-3D ray-casting demo made with C++/SFML as educational project.
maze.mp4
Uses ray casting for rendering.
New maze is generated each run with Recursive division method.
Controls reference Legend of Grimrock: cell-based movement with always exactly 2 inputs in buffer.
Follow SFML installation instructions for your system.
Then clone and compile project with CMake:
git clone https://github.com/UltraGreed/maze-cxx &&
cd maze-cxx &&
mkdir build &&
cd build &&
cmake .. &&
make &&
./maze
Use WASD to walk, Q/E to rotate, ESC to exit.
Configuration can be provided via GameHeaders/config.h file. Generated maze is saved as mazemap.txt
- maze2-zig - coming soon!