Skip to content

Tribute to the "Wolfenstein 3D" game. Raycaster enabling a player to navigate through a map.

Notifications You must be signed in to change notification settings

chimpanstache/42_cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3d

Cub3d

This program is a tribute to the Wolfenstein 3D game. Basically it is a raycasting algorithm rendering a game in a window, where a player can navigate through a map.
The map is customizeable, following a set of rules detailed on the subject attached. This program uses the minilibx graphic library to interact with the OS.

Getting started

This program was built on macOS. It must be run specifically on a macOS environment. On your terminal, execute in the repository of your choice :

git clone https://github.com/ehafidi/cub3d_42.git 
cd cub3d_42
make 
./cub3d maps/map.cub

Keys

  • WASD to move the character
  • left and right directional arrow to rotate the camera to the left/right
  • Esc to close the game

About

Tribute to the "Wolfenstein 3D" game. Raycaster enabling a player to navigate through a map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published