Cub3D is an introduction to the world of 3D programming in C. The project focuses on understanding raycasting, handling 2D and 3D graphics, and working with textures and sprites. The main goal is to create a simple 3D game where the player can navigate a maze.
- Raycast Engine: Implements a basic raycasting algorithm to render 3D graphics from a 2D map.
- Texture Mapping: Adds textures to walls for a more realistic appearance.
- User Interaction: Allows basic movement and interaction within the game world.
- Clone the repository:
git clone git@github.com:Joaofcpereira8/Cub3d.git- Navigate to the project directory:
cd cub3D- Compile the project:
makeStart the shell by running:
./cub3D [map_folder]/[valid_map]- W/A/S/D: Move forward/left/backward/right
- Arrow Keys: Look left/right
- ESC: Quit the game
Final Note: 105 This project was evaluated and received a perfect score, with a little bonus that was the making of wall collisions.
- Special thanks to my peers who provided guidance and support throughout the development of this project.
- And a special thanks to my colleague and project partner Bernardo.