Skip to content

Eduard953/Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D

norminette build

Requirements:

Linux:

sudo apt update && sudo apt install xorg libxext-dev zlib1g-dev libbsd-dev

MacOS:

brew install Xquartz
reboot

School IMacs:

  • Go to 'Managed Software Center'
  • Search for 'Xquartz'
  • Install 'Xquartz'
  • Reboot the IMac (or at least click on the Button and log in again)

Todo:

  • Window handling must remain smooth
  • Display different wall textures based on which side the wall is facing
  • Different colors for Floor and Ceiling
  • Left and Right arrow keys for turning left and right
  • W, A, S, D to move the Player
  • Esc must close the Window
  • Red Cross on window frame must close the Window
  • Map can have 0, 1, N, S, E, W characters
  • Map must be surrounded by walls
  • Apart from the map the other information can be in arbitrary order
  • Map can have Spaces and non-rectangular shapes
  • Information preceded by their Identifier (NO, SO, WE, EA, F, C) and followed by the value
  • If there is any error in the file display Error and a newline followed by an explicit error message
  • BONUS: Wall collisions
  • BONUS: Minimap
  • BONUS: Doors which can open and close
  • BONUS: animated sprite
  • BONUS: Rotate POV with Mouse

Folder Structure:

  • source/: C Source Files (.c) and Private Header files (.h) sorted in subfolders
  • libraries/: Libraries (e.g. libft, minilibx)
  • build/: Folder for Object Files (.o) created by Makefile at buildtime
  • data/: External Data (e.g. Images)
  • examples/: Example Files (e.g. Example Maps)
  • tests/: Test Files

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published