Skip to content
/ cub3D Public

"Cub3d" is a term used in the game development community, particularly in the programming language C. It is the name of a 3D graphics engine, which is a set of tools and libraries that developers can use to create 3D graphics and games. The engine can be used to create a wide range of 3D graphics and games, including first-person shooters.

Notifications You must be signed in to change notification settings

yoelhaim/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cub3D

Cub3D is a 3D game developed by myself and my friend Youssef as part of the 1337 Cursus program. The game is built using C and the MLX library, and utilizes the technique of ray casting to create an immersive and visually stunning experience.

Ray Casting

Ray casting is a technique used in computer graphics to render 3D environments and objects. It works by tracing a virtual "ray" from the viewer's eye through each pixel on the screen, and determining which objects in the scene are visible to the viewer. This technique can be used to create realistic lighting and shadows, and also to calculate the distance between the viewer and objects in the scene. It's a very efficient way to render 3D graphics, and has been used in many video games, architectural visualization and 3D modeling software.

Running the game

To run the game, you will need to have C and the MLX library installed on your computer. The code for the game is available on our Github repository. You can clone the repository and run the following command in the terminal:

for mandatory part

make

bouns part

make bonus

then you can run the game by

./cub3D maps/meduim.cub

Contributions

We welcome any contributions or feedback. If you have any suggestions or find any bugs, please feel free to open an issue or submit a pull request on Github.

Credits

Developed by [@mohanor] and [@yoelhaim] as part of the 1337 Cursus program.

About

"Cub3d" is a term used in the game development community, particularly in the programming language C. It is the name of a 3D graphics engine, which is a set of tools and libraries that developers can use to create 3D graphics and games. The engine can be used to create a wide range of 3D graphics and games, including first-person shooters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published