Final grade :
Recuperer le badge de notation sur le site 42Badge, je suis freeze j'ai pas l'acces
CUB3D is a project that involves creating a basic raycasting game engine inspired by the classic game Wolfenstein 3D.
It's a visual exploration of raycasting techniques to render a 3D-like environment.
The CUB3D project challenges you to build a simple game engine that can render a textured maze-like environment in a 2D window.
The core of the project revolves around raycasting, a technique that simulates a 3D perspective by casting rays from the player's viewpoint
and calculating the intersections with walls and other objects.
The project requirement asked us to parse a map file that defines the layout of the maze, handle player movement,
and render the scene using textures.
Other features, such as wall collision, jump and such were optional.
Creating the CUB3D game engine asked us to work on the following components:
- Map parsing: Read and interpret the map file that defines the maze layout, textures, and other properties.
- Raycasting: Cast rays to calculate distances to walls and objects in the player's view, creating the 3D-like effect.
- Texturing: Apply textures to walls and other surfaces based on the raycasting results.
- Player movement: Implement controls for player movement, rotation.
- Graphic rendering: Set up a window and render the scene using the MinilibX graphical library
To compile the program, run the following command:
make
It will compile the program and create an executable called "cub3D".
To run the program, simply execute the created executable:
./cub3D path_to_map.ber
This project is a part of the 42-Cursus curriculum and is intended for educational purposes. If you are a current student of 42, we strongly advise you not to copy this project or submit it as your own work, as it goes against the school's academic integrity policy. We will not be responsible for any misuse of the project or academic penalties that may arise from it. However, you are welcome to use this project as a reference or for learning purposes.
The goal is currently to finish the Mandatory part of the project in one month,
and work on some bonus features for one other months.
- Github: @gd-harco
Ajouter ton badge via le site 42 badge