The cub3D
project takes you on a journey through raycasting visualizer 3D graphics.
This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. 🎮
- Read and analyse map files.
- Render 3D environments visualisation from map files.
- Render textures from xpm files.
- 3D Rotations for enhanced exploration.
- Translation controls for moving up, down, left, and right.
- Wall collisions.
- Minimap or Map visuals
- Opening/Closing doors (ability to go through them)
W
,A
,S
,D
: Translate player.Left key
andRight Key
/Mouse
: Rotate point of view.M
: Switch into Map mode.Esc
: Shutdown the program.
With these additional features, your exploration becomes even more exciting and user-friendly. Enjoy the enhanced experience! 🌟🎨🕹️
git clone --recursive git@github.com:romann-broque/CUB3d.git
sudo apt-get update && sudo apt-get install xorg libxext-dev zlib1g-dev libbsd-dev
# without bonuses
make
# or for bonuses
make bonus
./cub3D maps/42.cub
If you are in lack of inspiration, you can take a look at some map file examples here.
You can use -h
or --help
to get more information about writing a good map.