Skip to content
/ Cub3D Public

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main goal will be 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

m0saan/Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3d

Description

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main objectives are similar to all this first year’s objectives: Rigor, use of C, use of basic algorithms, information research, data mining etc.

As a graphic design project, Cub3D will enable you to solidify your skills in this area: windows, colors, events, fill shapes etc.

Requirements:

Mac OS X Mojave(10.14.6) or higher

Installation and launch:

  • git clone https://github.com/MoBoustta/Cub3d.git
  • cd Cub3D
  • make
  • ./Cub3D maps/map.cub

Keys:

  • Arrows - moving
  • Shift + Arrows - sprint
  • 1->4 - mute music
  • T - Show/Hide textures

Note:

You can get a screenshot of the game in bmp format by providing a third argument "--save"

[Watch the video]

picture

picture

picture

About

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published