Exploring raycasters and possibly make a little "doom like" game based on it.
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.
 
 
 
 
 
 
Zed A. Shaw d5a372e751 Basic transliteration of the pycaster.py to work in SFML. The grid map on the left doesn't work right, but the rendering on the right does. Also the key detection is using discrete keypress instead of key up/down. 2 months ago
scratchpad First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 2 months ago
scripts First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months ago
tests First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months ago
wraps First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 2 months ago
.gitignore First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months ago
.vimrc_proj First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months ago
Makefile First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months ago
README.md Add a README to start. Not much in it. 2 months ago
charset.png First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months 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. 2 months 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. 2 months 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. 2 months ago
matrix.hpp First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 2 months ago
meson.build First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 2 months 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. 2 months 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. 2 months ago
raycaster.cpp Basic transliteration of the pycaster.py to work in SFML. The grid map on the left doesn't work right, but the rendering on the right does. Also the key detection is using discrete keypress instead of key up/down. 2 months 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