https://github.com/oc8/42-cub3d
42 | 3D game created from scratch written in C
https://github.com/oc8/42-cub3d
3d 42 c cub3d game
Last synced: 3 months ago
JSON representation
42 | 3D game created from scratch written in C
- Host: GitHub
- URL: https://github.com/oc8/42-cub3d
- Owner: oc8
- Created: 2021-02-22T17:05:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T14:35:04.000Z (over 2 years ago)
- Last Synced: 2025-01-26T07:26:00.832Z (5 months ago)
- Topics: 3d, 42, c, cub3d, game
- Language: C
- Homepage:
- Size: 34.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cub3D
Cub3D is a 3D game inspired by Wolfenstein 3D and Doom. You play as a character and must navigate a 3D world, avoiding enemies.## How to play
To play Cub3D, first clone the Git repository on your computer. Then, open your terminal and navigate to the game's directory.To compile and run the game with bonus features, use the following command:
```
make bonus
./cub3D ./map/...
```
Replace ./map/... with the path to the map you want to use.## Controls
Here is a list of controls for playing Cub3D:#### Basic
- Use the mouse to change your view
- Use the Shift key to sprint
- Use the Space key to jump
- Use the Ctrl key to snic
- Press M to start the game#### Cheat
- Use keys 1 and 2 to flyGood luck and have fun!