Skip to content

bl33h/deepDiveOdysseyRaycasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deepDiveOdysseyRaycasting

The code represents a raycasting graphics application with a Finding Pirate's Treasure Under the Sea theme. It creates a 3D perspective effect by simulating rays of light and their interactions with a map.


pic

FilesFeaturesHow To Use

Files

  • main.cpp: The main application file handling game logic, input, and rendering.
  • raycaster.h: Header file containing the definition of the Raycaster class for handling raycasting.
  • colors.h: Header file defining the Color struct for managing colors.
  • constants.h: Header file with constant values used in the application.
  • levels.h: Header file defining the Level struct and a vector of levels.
  • resourceManager.h: Header file for the ResourceManager class responsible for loading and managing resources.

Features

The main features of the graphics application include:

  • Raycasting to create a 3D perspective effect.
  • Loading and rendering levels from text files.
  • Collision detection and handling.
  • Menu system for level selection.
  • Sound effects for player movement (bubbles) and victory (super mario bros win).

How To Use

To clone and run this application, you'll need WSL (Windows Subsystem for Linux) and the following tools installed on it: Git, C++ compiler, CMake, Make, glm, tbb, and SDL2. From your command line:

# Clone this repository
$ git clone https://github.com/bl33h/deepDiveOdysseyRaycasting

# Open the project
$ cd deepDiveOdysseyRaycasting

# Give execution permissions
$ chmod +x configure.sh
$ chmod +x build.sh
$ chmod +x run.sh

# Run the app
$ ./run.sh

About

The code simulates 3D perspective with a "Under the Sea Pirates Treasure Hunt" theme using raycasting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published