/cub3d

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Primary LanguageC

cub3d

The constraints are as follows:
• You must use the MLX42.
• The management of your window must remain smooth: changing to another window, minimizing, etc.
• Display different wall textures (the choice is yours) that vary depending on which side the wall is facing (North, South, East, West).
• Your program must be able to set the floor and ceiling colors to two different ones.
• The program displays the image in a window and respects the following rules:
    ◦ The left and right arrow keys of the keyboard must allow you to look left and right in the maze.
    ◦ The W, A, S, and D keys must allow you to move the point of view through the maze.
    ◦ Pressing ESC must close the window and quit the program cleanly.
    ◦ Clicking on the red cross on the window’s frame must close the window and quit the program cleanly.
    ◦ The use of images of the minilibX is strongly recommended.
• Your program must take as a first argument a scene description file with the .cub extension.