Ray casting in 2D game engines

[SSZCZEP] had a tough time understanding ray tracing to create 3D-like objects on a 2D map. So once he figured it out, he wrote a tutorial he hopes will be more accessible for those who may be struggling themselves.

https://sszczep.github.io/ray-casting-in-2d-game-engines/

Privacy & Terms