image

From Emanuele Feronato: "Are you enjoying the series about dynamic light and shadows in tile based roguelike games? In step 1 I explained Bresenham algorithm to connect two points in a tile based environment and in step 2 I showed you how to draw circles in a tile based environment.

Now it’s time to put things together and make them work properly: what about if Bresenham circles were the field of view and Bresenham lines were rays cast from player eyes to each point along the circumference of the field of view?

And what about if any obstacle hitting the ray would stop it?"

Read More