cub3d/Readme.md

908 B

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