This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting.
The goal of this project is to make a dynamic view inside a maze, in which the player has to find the way.
Elegant and efficient algorithms have been implemented to provide realistic gameplay.
cub3d.mp4
- To play the game, you must have Xming installed and running , as the program displays the image in a window
- In your terminal run:
make
- Then run the command:
./cub3d [path map]
- You can exit the game with a click on the 'X' in the window
The player can run forwards, backwards, left and right using the 'w', 's', 'a' and 'd' keys. The player can turn left and right using the left and right arrow keys on the keyboard.