Skip to content

JoelenCruz/Cub3d_level4_42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animation

Cub3D

Project Objective

The cub3D project is an educational exercise developed by 42, inspired by the classic game Wolfenstein 3D. The main objective of this project is to create a 3D first-person game using ray-casting techniques for graphic rendering. The project involves concepts of computer graphics, event handling, memory management, and performance optimization.

Project Features

  • Reading and interpreting configuration files to define the map and game elements.
  • Rendering 3D environments using ray-casting.
  • Player movement in a 3D environment.
  • Interaction with objects and elements in the scene.
  • Handling keyboard and mouse events for player control.

How to Download and Run the Project

Prerequisites

Before starting, make sure you have the following prerequisites installed on your system:

  • Operating System: Unix-like (Linux, macOS)
  • Libraries: mlx (MiniLibX)
  • Tools: Make, GCC (or another compatible compiler)

Step by Step

  1. Clone the repository:

    Open the terminal and run the following command to clone the project repository:

    git clone https://github.com/JoelenCruz/Cub3d_level4_42.git
    cd Cub3d_level4_42.git
    git submodule init
    git submodule update
    make
    ./cub3D maps/good/square_map.cub
    

Animation

Contributors

GitHub
evertonsmotta
JoelenCruz

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors