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
- Host: GitHub
- URL: https://github.com/shuygena/cub3d
- Owner: shuygena
- Created: 2022-05-29T19:58:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T13:55:40.000Z (almost 4 years ago)
- Last Synced: 2025-01-17T02:23:09.321Z (over 1 year ago)
- Topics: 42, 42projects, pseudo3d, raycasting
- Language: C
- Homepage:
- Size: 13.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

## :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)