This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It includes ray-casting. The goal is to make a dynamic view inside a maze.
git clone https://github.com/prevetmelon/cub3d.git ~/cub3d
cd ~/cub3d && make && ./cub3d map.cub
Action | Key |
---|---|
Move forward | W |
Move backwards | S |
Move to the right | D |
Move to the left | A |
Change view angle to the left | ◄ |
Change view angle to the right | ► |