An open API service indexing awesome lists of open source software.

https://github.com/m0saan/cub3d

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.
https://github.com/m0saan/cub3d

1337school 3d-games 42born2code c-programming-language minilibx raycasting

Last synced: 7 months ago
JSON representation

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Awesome Lists containing this project

README

          

## Cub3d

### Description

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map .
So the main objectives are similar to all this first year’s objectives: Rigor, use of C, use
of basic algorithms, information research, data mining etc.

As a graphic design project, Cub3D will enable you to solidify your skills in this area:
windows, colors, events, fill shapes etc.

**Requirements:**

Mac OS X Mojave(10.14.6) or higher

**Installation and launch:**

* `git clone https://github.com/MoBoustta/Cub3d.git`
* `cd Cub3D`
* `make`
* `./Cub3D maps/map.cub`

**Keys:**

* `Arrows - moving`
* `Shift + Arrows - sprint`
* `1->4 - mute music`
* `T - Show/Hide textures`

**Note:**

You can get a screenshot of the game in bmp format by providing a third argument "--save"

[![Watch the video](https://imgur.com/a/ySpvFB0)]

![picture](assets/1.png)

![picture](assets/2.png)

![picture](assets/3.png)