Working with “fake” 3D in 2D.

The shadow is made from polygons, that stretch from the occupied tile in the light direction. Fading the color of the far vertices simulates ambient light.