Go to file
2023-10-26 19:11:30 +02:00
assets frames keep drawing independent of keypresses 2023-10-26 15:23:38 +02:00
getnextline updated libraries 2023-10-26 19:11:30 +02:00
libft updated libraries 2023-10-26 19:11:30 +02:00
mlx initial push 2023-10-25 13:56:45 +02:00
src added basic checks 2023-10-26 17:40:01 +02:00
.gitignore cleaned some stuff 2023-10-26 11:01:31 +02:00
config.cub added basic checks 2023-10-26 17:40:01 +02:00
cub3d updated libraries 2023-10-26 19:11:30 +02:00
cub3d.h added basic checks 2023-10-26 17:40:01 +02:00
Makefile updated libraries 2023-10-26 19:11:30 +02:00
Readme.md split up the main, ceiling and floor is drawn 2023-10-26 16:57:23 +02:00

Cub3D

Cub3D is a simple raycasting game using the mlx library


Todo

Parsing

  • Parse the .cub file for the floor and ceiling colors
  • Parse the .cub file for the 4 textures
  • Parse the .cub file for the map
  • Flood fill the map and test if it is closed
  • Check if all needed elements are present in the closed part of the map

Raycasting

  • Render the walls correctly
  • Render the walls correctly with movement
  • Render the walls correctly with rotation

Bonus

  • Doors
  • Wall Collision
  • Minimap
  • Animated Sprites
  • Rotate with the mouse

Extra

  • FPS counter
  • A Menu?
  • Levels?
  • Skybox?
  • Enemies?
  • Weapon Sprite that fires?
  • Barrels?
  • Jumping?
  • Vertical Aiming?

Bugs


Usage

  1. Simply clone or download the repository
  2. Run make in the cloned directory
  3. Start the game with ./cub3d

This project is part of the studies at 42