School 42 Paris first graphics project Cub3D recreates the first FPS video game in raycasting history, Wolfenstein3D.
make && ./cub3d maps/map.cub
-
[FORWARD] = W
-
[GO_LEFT] = A
-
[GO_RIGHT] = D
-
[BACKWARD] = S
-
[ROTATION_RIGHT] = →
-
[ROTATION_LEFT] = ←
-
[EXIT] = ESC
↓ Resources for textures 64x64 downloaded here: http://www.wolfenvault.com/resources.html
Raycasting for FPS game reference : https://lodev.org/cgtutor/raycasting.html
MinilibX explanation https://qst0.github.io/ft_libgfx/man_mlx_new_image.html