A retro style homage to 80s dungeon crawlers hand crafted in C++.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
Zed A. Shaw e3596aeaa2 The sprites now display and everything seems to work. 1 year ago
fenster Removed some of the constants to make it easier to change later. 1 year ago
pics Bringing in some more realistic textures that are open source from https://opengameart.org/content/nekkrobox-world-textures 1 year ago
scratchpad The sprites now display and everything seems to work. 1 year ago
scripts First build that actually works. SDL_main errors before but didn't figure out the cause. 1 year ago
tests First build that actually works. SDL_main errors before but didn't figure out the cause. 1 year ago
wraps First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 1 year ago
.gdbinit My gdb debug thing. 1 year ago
.gitignore First build that actually works. SDL_main errors before but didn't figure out the cause. 1 year ago
.vimrc_proj First build that actually works. SDL_main errors before but didn't figure out the cause. 1 year ago
Makefile First build that actually works. SDL_main errors before but didn't figure out the cause. 1 year ago
README.md Add a README to start. Not much in it. 1 year ago
charset.png First build that actually works. SDL_main errors before but didn't figure out the cause. 1 year ago
dbc.cpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 1 year ago
dbc.hpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 1 year ago
fenscaster.cpp Mostly working textures, an ability to look up/down (pitch) and ready to read in images for the textures. 1 year ago
matrix.cpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 1 year ago
matrix.hpp Fenscaster is now using the first version of Lode's DDA raycasting algorithm but the coordinates/angles in the left map view don't matchthe right view, and the right view distorts the distance to far wall so they're viewed at 'infinity'. 1 year ago
meson.build Goodbye fenster, you were fun but I need something more stable and easier to live with. 1 year ago
miniaudio.cpp Initial setup for the fenster based raycaster. 1 year ago
miniaudio.h Initial setup for the fenster based raycaster. 1 year ago
point.hpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 1 year ago
pycaster.py First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 1 year ago
raycaster.cpp Did a version of the raycaster that uses a pixel buffer sent to a texture that goes to a sprite that goes on a frog that's on a log on the bottom of the ocean under a tortoise that's carrying a sack that has the... 1 year ago
raycaster_pixels.cpp Did a version of the raycaster that uses a pixel buffer sent to a texture that goes to a sprite that goes on a frog that's on a log on the bottom of the ocean under a tortoise that's carrying a sack that has the... 1 year ago
sfmlcaster.cpp The sprites now display and everything seems to work. 1 year ago

README.md

Simple Raycaster Study

This is a study project for me to learn the raycasting technique. It's an older technique that's not really used much but I'm learning game dev historically and it's definitely been used in the past (Doom).

I've been told to look into the following as well:

https://en.wikipedia.org/wiki/Gilbert%E2%80%93Johnson%E2%80%93Keerthi_distance_algorithm