Cub3D is a 42 School project that involves creating a simple 3D raycasting prototype inspired by classics like Doom and Wolfenstein 3D. Written in C using the MiniLibX graphic library
- Custom raycasting engine
- Customizable maps with walls, floor, and ceiling colors
- Texture mapping for walls based on wall orientation
- Player movement
- Camera rotation with arrow keys
- Collision detection
- Map parsing
For Debian:
sudo apt install libglfw3For Arch (x11):
sudo pacman -S glfw-x11For Arch (Wayland):
sudo pacman -S glfw-waylandgit clone https://github.com/princess-mikus/42-cub3d.git cub3dAnd then call the Makefile
make./cub3d map_pathwhere map_path is the path of a valid map. Example maps are in the maps folder (valid for valid maps, error for error handling showcase)
