Skip to content

CUB3D is a graphic project from the 42 School curriculum that aims to introduce students to the concept of raycasting and the basics of game graphics programming. By using the miniLibX library, we create a simple game engine that renders a maze-like world using raycasting techniques.

Notifications You must be signed in to change notification settings

mariekart42/CUB3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUB3D

CUB3D Logo

CUB3D - 42 Project

Welcome to CUB3D, a 42 School project inspired by the classic Wolfenstein 3D game. This project explores the fundamentals of raycasting and graphics programming in the C language.

Table of Contents

About

CUB3D is a graphic project from the 42 School curriculum that aims to introduce students to the concept of raycasting and the basics of game graphics programming. By using the miniLibX library, we create a simple game engine that renders a maze-like world using raycasting techniques.

Features

  • Explore a maze-like world in a 2D perspective.
  • Move around using arrow keys.
  • Display textured walls, sprites, and dynamic lighting.
  • Customizable map layout via .cub files.
  • Efficient raycasting algorithm for real-time rendering.

Getting Started

  1. Clone the repository:
    git clone https://github.com/mariekart42/CUB3D.git
    
  2. Navigate to the project folder:
    cd cub3d
    
  3. Compile the project:
    make
    
  4. Run the game with a provided .cub map file:
    ./cub3D maps/map.cub
    

Screenshots

Screenshot 1 Screenshot 2

About

CUB3D is a graphic project from the 42 School curriculum that aims to introduce students to the concept of raycasting and the basics of game graphics programming. By using the miniLibX library, we create a simple game engine that renders a maze-like world using raycasting techniques.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published