cub3d

My first RayCaster with miniLibX




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.




Install

$ make [-jN] (all)




Usage

$ ./cub3d /path_to_map/mapfile.cub
  • File must end with .cub extension
  • map.cub is a file that contains all the information needed to create the map
    • path to xpm textures
      • NO, SO, WE, EA
    • color of floor and ceiling
      • F, C
    • map
      • 0, 1, N, S, E, W
      • map must be closed by walls


Result

cub3d.mp4