Skip to content

oliferovych/cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3d

Made by dolifero & tecker

Intra score: 125/125
Started: 07.08.2024
Finished: 04.09.2024

Cub3d!

Our first raycaster with MLX42!

Summary: This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Description:

A horror game where player wanders within the dark corridors of a maze seeking for escape. Beware of what lurks in the shadows, don't turn off the flashlight and always keep your gun ready. Escape the maze!

image

Installation:

  • Pull the git
  • Make (makefile clones the MLX42), might need an older version of MLX42
  • You are good to go!
  • Usage: ./cub3d maps/valid/*.cub or for the best experience: ./cub3d_bonus maps/bonus/*.cub

Key features:

  • 3D maze with a map reader and possibility to create one's own maps;
  • Darkness and light effects;
  • Textures for each side of the walls;
  • Flashlight and a gun;
  • Camera mouse controls;
  • Dynamic HUD with gameplay hints and more;
  • Minimap;
  • Functional doors;
  • Animated enemies with hitboxes;
  • Exit and death screens;

Gameplay footage:

image

image

image

image

image

image

image

image

image

image

About

Our first RayCaster with MLX42

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published