This project is inspired by the world-famous eponymous 90’s game, Wolfenstein 3D. It consists to create a 3D perspective in a 2D map making use of Raycast rendering technique and Minilibx library.
As the project uses minilibx library, its requires X11 library
git clone https://github.com/vscabell/cub3D.git
'make' to compile the program
$ ./cub3d <map_path/file.cub> to run the program
$ ./cub3d <map_path/file.cub> --save to save the first rendered image as a bitmap
Key comands to move around the maze
- W A S D to move the point of view
- Left/Right (←/→) directional keys to rotate the camera
- M to show/hide the mini 2d map
- ESC to quit