https://github.com/bebalix/cub3d
This group project ask to create a dynamic view in 3D using raycasting like the first fps 3D Wolfenstein.
https://github.com/bebalix/cub3d
42projects graphics-programming language-c raycasting
Last synced: 3 months ago
JSON representation
This group project ask to create a dynamic view in 3D using raycasting like the first fps 3D Wolfenstein.
- Host: GitHub
- URL: https://github.com/bebalix/cub3d
- Owner: BebAlix
- Created: 2023-01-16T11:23:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T10:29:19.000Z (over 3 years ago)
- Last Synced: 2025-03-06T04:31:07.802Z (over 1 year ago)
- Topics: 42projects, graphics-programming, language-c, raycasting
- Language: C
- Homepage:
- Size: 215 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cub3D
Small 3D game using raycasting with basic gameplay.
## How it works
1. The player move with WASD and close the game by pressing ESC.
2. Components of map:
- Player and its direction - 'N' / 'S' / 'E' / 'W'
- Wall - '1'
- Free space - '0'
3. Some map examples are stored in `/maps` folder. Feel free to change them (`.cub` format is required)!
## How to launch the game
1. To compile the program :
```sh
$ make
```
With bonus :
```sh
$ make bonus
```
2. To start the game :
```sh
$ ./cub3D [path_to_valid_map]
```
3. Remove all :
```sh
$ make fclean
```