Skip to content

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable to explore ray-casting. The goal is to make a dynamic view inside a maze, in which you’ll have to find your way.

Notifications You must be signed in to change notification settings

lilangbr/42Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42Cub3D

🔧 C, Makefile
🌍 Linux

It is about creating a ray-casting from scratch, using concepts of linear algebra and computer graphics to simulate 3D images, inspired by the famous game Wolfenstein 3D.

wolf3d

The program receives a text file with the desired parameters as input, such as color of graphic elements, texture files, etc., which is read by a parser and interpreted by ray-casting, using miniLibX - built on the X Window System API, to provide a much simpler programming interface - , generating a maze dynamically interpreted in first person according to the its position and orientation from your point of view.

🚀 Init:

$ make 
$ ./cub3d map.cub 

🧭 Navigate buttons:

   W       ^
  A S    < >
   D        v

🍪 features buttons:

M: With or without map
T: With or without texture

1 2 3

About

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable to explore ray-casting. The goal is to make a dynamic view inside a maze, in which you’ll have to find your way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published