- Introduction
- Project Description
- Getting Started
- Usage
- Features
- Controls
- Scene Description
- Contributing
- License
Welcome to cub3D, your first venture into the world of RayCasting and 3D graphics using miniLibX. This project is inspired by the iconic Wolfenstein 3D and provides a hands-on experience with creating a dynamic view inside a maze.
Cub3D aims to enhance your programming skills in C, algorithms, and graphics design. You will learn about window management, colors, events, and more, while using mathematics to create efficient algorithms.
- Implement a realistic 3D graphical representation of a maze.
- Utilize Ray-Casting principles for rendering.
- Incorporate smooth window management.
- Display textured walls based on their orientation.
- Set floor and ceiling colors.
- Implement player movement and navigation controls.
- Clone the repository:
git clone https://github.com/rouali98/cub3D.git cd cub3D
To compile the project, run the following command:
make
To run the program, use a scene description file:
./cub3D maps/map.cub
Explore the maze, look around, and enjoy your 3D adventure!
- Ray-Casting Rendering
- Textured Walls
- and Ceiling Colors
- Smooth Window Management
- Player Movement Controls
- Map Parsing
Arrow keys: Look left and right
W, A, S, D keys: Move within the maze
ESC key: Quit the program
This project is licensed under the MIT License.
Happy coding! 🎮