Thanks to visit codestin.com
Credit goes to github.com

Skip to content

panda2742/42-cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-cub3D

Our first RayCasting program in C, with the MiniLibX.

Project cub3D
Locked 2025-07-12 18:32 CET:+0100
Closed 2025-07-23 17:10 CET:+0100
Grade 125%
Retries 0

"Developed by Id Software by the über famous John Carmack and John Romero, published in 1992 by Apogee Software, Wolfenstein 3D is the first true “First Person Shooter” in the history of video games.

Wolfenstein 3D is the ancestor of games like Doom (Id Software, 1993), Doom II (Id Software, 1994), Duke Nukem 3D (3D Realm, 1996) and Quake (Id Software, 1996), that are additional eternal milestones in the world of video games.

Now, it’s your turn to relive History..."

Features

🔍 High-Performance Raycasting

At the core of the project, a Digital Differential Analyzer (DDA) algorithm ensures a fast and efficient 3D rendering of the walls, guaranteeing a fluid experience even on complex maps.

🗺️ Robust Map Parsing

The program is capable of reading and interpreting map files in the .cub format. It includes comprehensive error handling, allowing it to detect and reject improperly formatted files for optimal stability.

💥 Wall Collisions

Player movements are realistically handled by a collision system that prevents them from walking through walls, making navigation through the maze more immersive.

🕺 Animated Sprites

An animated character sprite is displayed in the top-left corner of the screen, adding a dynamic and distinctive visual element to the interface.

🖱️ Fluid Camera Movements

Camera control is managed by the mouse, with a system designed to prevent pointer "leaks," ensuring a continuous and uninterrupted process.

🧭 Integrated Mini-map

To facilitate orientation, a real-time mini-map is displayed on the screen, allowing the player to visualize their position and the map's structure.

🚪 Interactive Doors

The player can interact with doors by pressing 'T', opening or closing them to access new areas and progress through the game.

This introduction has been generated with AI.

Group / students on the project

About

Our own cub3d for Milestone 4. Our first RayCasting program in C, with the MiniLibX.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •