A raycaster is a 2D game but it draw something called "rays" on the 2d map, and then calculates the size of each line and the brightness from a first person distance, making it a 3D game. This is a ...
I like to use my skeleton-key g++ command: g++ -pthread main.cpp -lGL -lpng -lX11 -lstdc++ -g -o rend_engine.o Be sure you include the directory for the olcPixelGameEngine if you haven't moved it to ...