Skip to content

Thopterek/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project to recreate the basics used in the first ever FPS game

Cub3D it was made by me and @Rexbrainz, and here is what we are handling:
  • keyboard input: W A S D for moving, escape to quit and arrows to rotate point of view

  • using textures: each wall has its own png texture that can be easly replaced

  • configuring the map: if you obey to the rules of creating it you can add your own

  • setting colors: for floors and ceiling you can modify map to set your own in RGB format

  • clean start: just run make and then ./cub3D "map_that_you_put_in_the_map_folder.cub"

huge its a simple project but we can handle huge maps per the one above, the work was split:
  • I did the parsing part (map handling, errors and textures)

  • raycasting we did together but most sources were found by @Rexbrainz

  • it compiles with no problem on Mac, the handling on Linux needs to be tested

Thank you for your attention and hopefully reading the source code can help you out!

About

first person game using MLX42 library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors