cub3d is an introduction to raycasting by recreating a basic version of 1992's Wolfenstein 3D in the C programming language. It is a game developed to run solely on the CPU using the MLX42 library. It utilizes the DDA algorithm for raycasting, providing a visually immersive experience with textures and wall collision.
Creators: @olebol and @evalieve
To clone the repository, run the following command in your terminal:
git clone https://github.com/yourusername/cub3d.git
Running the Program Before running the program, ensure you have the MLX42 library installed on your system.
To compile and execute cub3d, navigate to the project directory and run the following commands:
make
./cub3d path_to_map.cub
Replace path_to_map.cub with the path to your desired map file.
W:
Move forward
S:
Move backward
A:
Strafe left
D:
Strafe right
Left Arrow:
Rotate camera left
Right Arrow:
Rotate camera right
Esc:
Exit the game