I made this small raycasting engine as a way to learn SDL and also some graphical computing, currently it serves as a pseudo Wolfenstein3D clone
THIS ENGINE IS IN DEVELOPMENT, I am currently working on optimizing and adding features to the engine. Currently the ceilings and floors are very performance heavy, if turned off the engine runs more smoothly (Over 1000fps on my machine)
- Fully textured 64x64 walls, floors and ceilings (To turn off floors and ceilings undefine TEXT_FLOOR in world.h)
- Textured Sprites, static, dynamic and directional
- Full colisions for sprites and walls
- Smooth keyboard and mouse camera movement
- Proper doors
- Gameplay(??)
Alot of the code was direct reference from 3DSage's youtube series on raycasters
SDL initialization and event handling from LazyFoo's tutorials
Getting my head around concepts was much easier with this tutorial
Alot of the math was derived from this video