Cub3D is a project that demonstrates the basics of 3D rendering using raycasting techniques. The project is being developed as part of a learning process and is inspired by early 3D games. The primary goal is to understand and implement core concepts of 3D graphics and game development.
- Raycasting engine to simulate 3D perspective
- Basic movement and collision detection
- Simple texture mapping
Screencast.from.2024-07-14.16-42-05.mp4
To install and run Cub3D, follow these steps:
- Clone the repository:
git clone https://github.com/andregomessilva/cub3d.git
- Navigate to the project directory:
cd Cub3D
- Build the project using
make
:make
Note: Ensure you have the necessary development tools and libraries installed on your system.
In Cub3D, you can control your movement using the following keys:
- W: Move forward
- A: Move left
- S: Move backward
- D: Move right
- ESC: End game
You can also use the mouse or arrows to rotate your view and look around.
To run the Cub3D application, execute the following command in the project directory:
make play
or this way for the map you want
./cub3d maps/map.cub