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

https://github.com/shuygena/cub3d

:video_game: pseudo 3d game with ray-casting
https://github.com/shuygena/cub3d

42 42projects pseudo3d raycasting

Last synced: 9 months ago
JSON representation

:video_game: pseudo 3d game with ray-casting

Awesome Lists containing this project

README

          

# Cub3d
:video_game: pseudo 3d game with ray-casting

This project is inspired by the world-famous eponymous 90's game, which was the first FPS ever. It was enable for exploring ray-casting.
![](https://github.com/shuygena/Cub3d/blob/main/animationCub3D.gif)

## :toolbox: Requirements:
GCC compiler
GNU Make

## :link: Download & Compile
Clone repository:
```
git clone https://github.com/shuygena/Cub3d cub3d
```
Go to directory:
```
cd cub3d
```
For compile program run:
```
make
```

## :joystick: How to use
Launch it with
```
./cub3D validmap.cub
```
Controls:
`W` `A` `S` `D` to move
`←` `→` to rotate
`esc` to exit
You can also make screenshot with:
```
./cub3D validmap.cub --save
```

## :mortar_board: Tutorial
[mlx documentation](https://harm-smits.github.io/42docs/libs/minilibx)
[raycasting](https://harm-smits.github.io/42docs/projects/cub3d)