Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 1.01 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.01 KB

Cub3D

A raycasting game engine based on Wolfenstein 3D's engine from the 90's

Usage

Compile by running make all, then open the engine by running ./cub3D <config_file>. Optional argument --save can be applied to save a screenshot in BMP format instead of opening a game window.

Features

  • A fully working Linux version
  • Camera controls by mouse movement
  • Comments in the code

Errors

  • Resolution is downsized after creating the MLX image, sometimes resulting in out of memory errors
  • Resolution is seen as invalid for > MAX_INT (solvable by checking the strlen of the "integer")
  • Dragging the window is almost impossible due to the mouse being locked in the center of the window on window focus
  • Closing the window is almost impossible due to the same reason as the one mentioned above
  • Everything under a newline starting from the map is ignored, even faulty characters

Grade

94/100