Skip to content
forked from jpa-rocha/cub3D

This project is about to make a dynamic view inside a maze, in which the player have to find their way

Notifications You must be signed in to change notification settings

GulenayMer/cub3D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name: cub3d

Summary:

This project is inspired by the Wolfenstein 3D game. The aim is to create a “realistic” 3D graphical representation (by using the Ray-Casting principles) of the inside of a maze from a first-person perspective.

Important sections are:

  • Parsing
  • Ray-casting
  • Rendering

As a graphic design project, it enabled us to improve the skills in these areas: windows, colors, events, fill shapes, etc. We explored the playful practical applications of mathematics based on the documents available, especially ones from : https://lodev.org/cgtutor/.

Basic Features

  • Different wall textures are displayed, that vary depending on which side the wall is facing (North, South, East, West).
  • The program is be able to set the floor and ceiling colors to two different ones.
  • The mouse && keyboard events are handled
  • It has also a minimap system

Usage

To compile the program, the provided Makefile can be used. There we defined some rules and they can be run by these basic commands:
make: This command compiles the necessary source code files and links them to create the final executable.
make test: This command runs valgrind for memory leaks and is used for debugging purposes.
make clean: This command will remove any generated files and clean up the project directory.

Contributors

jpa-rocha
GulenayMer

About

This project is about to make a dynamic view inside a maze, in which the player have to find their way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.4%
  • Roff 9.8%
  • Makefile 4.0%
  • Shell 0.8%