Skip to content

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever.

Notifications You must be signed in to change notification settings

romann-broque/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3D

🗺️ Project Description

The cub3D project takes you on a journey through raycasting visualizer 3D graphics. This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. 🎮

🌟 Key Features

  • Read and analyse map files.
  • Render 3D environments visualisation from map files.
  • Render textures from xpm files.
  • 3D Rotations for enhanced exploration.
  • Translation controls for moving up, down, left, and right.
  • Wall collisions.
  • Minimap or Map visuals
  • Opening/Closing doors (ability to go through them)

🎮 Controls

  • W, A, S, D: Translate player.
  • Left key and Right Key / Mouse: Rotate point of view.
  • M: Switch into Map mode.
  • Esc: Shutdown the program.

With these additional features, your exploration becomes even more exciting and user-friendly. Enjoy the enhanced experience! 🌟🎨🕹️

🚀 Usage

1. Clone the repository

git clone --recursive git@github.com:romann-broque/CUB3d.git

2. Install the dependencies

sudo apt-get update && sudo apt-get install xorg libxext-dev zlib1g-dev libbsd-dev

3. Compile the cub3D program

# without bonuses
make
# or for bonuses
make bonus

4. Execute with a map file as parameter

./cub3D maps/42.cub

🔎 Help

If you are in lack of inspiration, you can take a look at some map file examples here. You can use -h or --help to get more information about writing a good map.

About

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published