Skip to content

Project inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever

Notifications You must be signed in to change notification settings

AndorGunczer/cub3d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUB3D


Overview

Developed by Id Software by the über famous John Carmack and John Romero, pub- lished in 1992 by Apogee Software, Wolfenstein 3D is the first true “First Person Shooter” in the history of video games. This project introduced the notion of Raycasting

Subject PDF

Goal

Create a “realistic” 3D graphical representation of the inside of a maze from a first-person perspective. The representation has to be created using the Ray-Casting principles.

Explanations

Movements

  • Key A: move left.
  • Key D: move right.
  • Key S: move back.
  • Key W: move forward.
  • Left/Right arrow keys: look left and right.
  • Mouse: look left and right.

Clone

The mlx library included works only on MacOS. Project tested on macOS Catalina.

Open a terminal and run following command:

git clone <repository url>

How to use

Go to the created repository and run following command:

make

To start run the following command (the last argument is optionnal):

./cub3D ./maps/maps_choosed.cub

Press ESC to exit the game since your mouse will be capture by the game.

For further informations about the content of the map, read the Subject PDF

About

Project inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.4%
  • Objective-C 16.5%
  • Makefile 2.1%