Skip to content

A small raycasting engine inspired by Wolfenstein 3D, built entirely in C. It renders a 3D maze from a 2D map, with textured walls, collision detection, and smooth player movement.

Notifications You must be signed in to change notification settings

ashleyfletcher76/Cub_3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D

Cue3D is a C project inspired by Wolfenstein 3D, developed as part of the 42 School curriculum. The goal is to create a basic 3D game engine with raycasting to simulate 3D environments in real-time, allowing the player to navigate a maze.

Table of Contents

Project Description

Cub3D is a raycasting-based game engine where the player can navigate through a 3D maze. The project introduces 3D rendering techniques, raycasting, texture mapping, and game logic. It is a simple, but effective example of how 3D environments can be created using 2D maps and raycasting.

Features

  • Real-time 3D rendering using raycasting.
  • Player movement within a 3D maze.
  • Textured walls and interactive environment.
  • Basic game mechanics (collision detection, movement, etc.).

Installation

Clone the repository and compile the project:

git clone https://github.com/ashleyfletcher76/Cub_3D.git
cd cub3d
make

Usage

Here is one of the maps in our catelogue. Feel free to search inside test_maps/valid_maps for another map of your choice.

./cub3d test_maps/valid_maps/3DSage.cub

Authors

In Game Graphics

Screenshot 2024-05-13 at 10 42 13 Screenshot 2024-05-13 at 10 46 37 Screenshot 2024-05-13 at 10 43 55 Screenshot 2024-05-13 at 10 42 26 Screenshot 2024-05-13 at 10 42 33 Screenshot 2024-05-13 at 10 43 07

About

A small raycasting engine inspired by Wolfenstein 3D, built entirely in C. It renders a 3D maze from a 2D map, with textured walls, collision detection, and smooth player movement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •