Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsegeron/cub3d
A pseudo-3d game based on a raycasting technology
https://github.com/tsegeron/cub3d
Last synced: 5 days ago
JSON representation
A pseudo-3d game based on a raycasting technology
- Host: GitHub
- URL: https://github.com/tsegeron/cub3d
- Owner: tsegeron
- Created: 2022-02-08T20:43:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-22T22:24:37.000Z (about 2 years ago)
- Last Synced: 2024-01-28T13:40:26.434Z (10 months ago)
- Language: C
- Homepage:
- Size: 16.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cub3d
*A pseudo-3d game based on a raycasting technology, in the spirit of Doom (1993)*## Project aims
- Use of C
- Use of some math
- Get to know [Raycasting](https://en.wikipedia.org/wiki/Ray_casting#Concept) technology
- Mandatory use of [minilibX](https://harm-smits.github.io/42docs/libs/minilibx) (tiny graphical library)
- Teamwork skills development---
## How to use
1. Type `git clone [email protected]:tsegeron/Cub3d.git` in terminal to clone the repo
```
git clone [email protected]:tsegeron/Cub3d.git
```
2. Type `cd Cub3d` in terminal to change the directory
```
cd Cub3d
```
3. Type `make bonus` in terminal to compile the program
```
make bonus
```
4. Run with `./cub3d_bonus maps/map3.cub` (all maps are listed in maps directory, you can edit them)
```
./cub3d_bonus maps/map3.cub
```
5. To exit use `esc` or key `q` + `exit`
> [minilibX](https://harm-smits.github.io/42docs/libs/minilibx) works only on unix, not adapted for other operating systems
---
## Credits
This two-person project was done with [mseastar](https://github.com/mseastar).
---
## Quick look
![](images/cub3d.gif)---
## Workflow
![](images/workflow.png)