Aug
01
2009
I reworked the old lighting system and took out the translucent images we were using as light sources. Now, the game calculates the area of the map, subtracts from it where the light sources are, and draws just the outline of the shapes translucently with increasing stroke size. The result is that when the light sources meet there’s a nice mixing of the areas.
Here’s a nice article on strokes in Java that I used as a reference:
Java 2D Trickery: Light and Shadow
-James


![[loading...]](http://www.projectmoldering.com/images/indicator.gif)