Welcome to CUB3D, a 42 School project inspired by the classic Wolfenstein 3D game. This project explores the fundamentals of raycasting and graphics programming in the C language.
CUB3D is a graphic project from the 42 School curriculum that aims to introduce students to the concept of raycasting and the basics of game graphics programming. By using the miniLibX library, we create a simple game engine that renders a maze-like world using raycasting techniques.
- Explore a maze-like world in a 2D perspective.
- Move around using arrow keys.
- Display textured walls, sprites, and dynamic lighting.
- Customizable map layout via
.cub
files. - Efficient raycasting algorithm for real-time rendering.
- Clone the repository:
git clone https://github.com/mariekart42/CUB3D.git
- Navigate to the project folder:
cd cub3d
- Compile the project:
make
- Run the game with a provided .cub map file:
./cub3D maps/map.cub