Skip to content
/ cub3D Public

#Cub3D My first RayCaster with miniLibX. This project is inspired by the world-famous Wolfenstein 3D game.

Notifications You must be signed in to change notification settings

ysahih/cub3D

Repository files navigation

cub3D

Cub3D is a 42 school team project to create a dynamic view inside a 3D maze. Using the MiniLibX library, we must implement raycasting in the style of the famous Wolfenstein 3D game, the first-person shooter (FPS) in videogame history.

Status

Grade: 115%.

Clone

Clone the repository including the MiniLibX submodule:

git clone https://github.com/ysahih/cub3D.git

Compile and Run

To compile the game, cd into the cloned directory and:

  • Compile the project using the provided build instructions:
make
  • Run the executable to launch Cub3D:
./cub3D <path/to/map.cub>
  • Enjoy exploring the graphical features and mathematical applications within the project.

The program takes a map file as an argument. Maps are available in the maps directory.

For example:

  • ./cub3D maps/map.cub should run.

Controls

Controls for movement and rotation are:

  • W: move forward
  • S: move backward
  • A: strafe left
  • D: strafe right
  • left arrow: rotate left
  • right arrow: rotate right
  • mouse: rotate by moving the mouse

Useful Resources

Useful resources for this project are:


Made by sahih and isBarka

About

#Cub3D My first RayCaster with miniLibX. This project is inspired by the world-famous Wolfenstein 3D game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published