Skip to content

ahokcool/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


ahokcool
An overview of all my projects can be found here: ahokcool

42
This project was created as part of my studies at: 42 Lisboa
This project is a group project with ashParker19, joaodibba & rajh-phuyal


image

cub3D

creating a 3D game in C using raycasting


💡 Lessons learned

Installation

$ git clone --recurse-submodules https://github.com/ahokcool/cub3D.git    # Clone
$ cd cub3D                                                                # Change directory
$ make                                                                    # Compile
$ ./cub3D <map_file.cub>                                                  # Run

Features

image

move with a,d,w,s; turn with q,e (or arrow keys)


image

switch between 3D and 2D view by pressing keys 2 and 3.


image

toggle between coloured and textured walls by pressing t


image

change the field of view (fov) using the mouse wheel


🔝 back to top 🔝

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published