/42_cub3D

Contents of the 42sp's Eleventh Project - Create a Small First-Person Game Using Ray Casting

Primary LanguageC

Cub3D [120 / 100]

Summary

The eleventh project in the 42sp fundamentals track, Cub3D, is the second graphical project in the fundamentals track, which also uses MinilibX as graphics library. The project is based on the creation of a program that receives as a parameter a path to a map (any valid map with '.cub' extension) and displays it as a Three-Dimensional First-Person Game, applying some Ray Casting concepts.


The Project



Run the Program

  • Make sure you clone the repository with the following command:
$> git clone git@github.com:ArthurSobreira/42_cub3D.git
  • Once cloned, to compile and run the program, use the following commands:
$> make bonus
$> ./cub3D_bonus ./assets/maps/<map-name>.cub