Skip to content

A simple c++ raycaster (DOOM/Wolfenstein) style

Notifications You must be signed in to change notification settings

aphsai/raycaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raycaster

A simple c++ raycaster (DOOM/Wolfenstein) style

I still need to clean up the code a bit, but the map generation and raycasting all works. I also kind of wanted to add textures and maybe the ability to make your own lightsources but this all comes after code cleanup :) I'll probably post a little blurb about how the math works as well.

Here's what it looks like:

Picture 1 Picture 2

TODO (in no particular order)

  • Add explanation to README
  • Add texture loading
  • Clean code and segment
  • Add minimap to show 2D representation
  • Shading (I realized I don't need light sources? It's a 2D map so I can just calculate the depth)
  • Load maps from text file
  • Multiple lightsources

About

A simple c++ raycaster (DOOM/Wolfenstein) style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published