Masks for light source

Hey kirupa,

I’m using shapes drawn to sprites to try and get a fog of war effect.

Basically, I have a large black rectangle that goes over the screen as darkness, and I need to have multiple towers that have vision fields that would cancel out the darkness.

I’m using masks too, but I can’t get the right effect. Any suggestions?