Raycasting gamedemo
Made together with Oliver Van Rheenen : https://profile.intra.42.fr/users/ovan-rhe
Uses MLX42 https://github.com/codam-coding-college/MLX42 for window and texture management
which is made by fellow codam student and based on https://github.com/glfw/glfw
Choose a map from the maps directory
make
./cub3d maps/map_of_your_choice.ber
Exit the game with esc
, ctrl-c in the terminal
or by clicking the cross in the top right
You can change value in the maps
These consist of the following elements:
C
: ceiling color in RGB valueF
: floor color in RGB valueNO
: texture for north facing wallSO
: texture for south facing wallEA
: texture for east facing wallWE
: texture for west facing wall