This is a 42 School group project. The project consists in creating a small 3D environnement using raycasting with the MiniLibX, the school's graphic library. Some walls are a bit special. If so, a little fairy will let you know ;)
This project has been completed in collaboration with @AntoineDouay.
WMove forward |
SMove backward |
AMove left |
DMove right |
🡰Look left |
🡲Look right |
SPACEOpen door |
TABEnable mouse |
ESCClose game |
sudo apt-get install xorg libxext-dev zlib1g-dev libbsd-dev libxcomposite-dev
sudo apt-get install vlc
git clone https://github.com/il94/42_cub3D cub3D
cd cub3D && make -j./cub3D [MAP.cub]A default map is provided in the "maps" folder, but you can customize it as you want, so enjoy !
To be valid, a map must meet the following conditions :
- being surrounded by walls
- containing only one player
- being composed by only valid characters
- the file containing map must be .cub
By respecting the conditions above, you can create your own maps !
All sound effects, scores and sprites come from different Nintendo games. True fans will know ;)

