Hello everyone, I have a problem, but can't solve it. Hope you can. :)
I'm making a RTS, and want to do a fog of war. I searched in the forum, but didn't found the solution.
For them which doesn't know what is fog of war, it's a map all in black. When an unit walk in a black part, a part of this fog of war is revealed.
I tried with Canvas, or with layers, it works a little, but I think there is a better solution (also, I think it takes a lot of memory ! <img src="smileys/smiley5.gif" border="0" align="middle" /> ).
This is what I've done :
With layers : mediafire.com
With canvas : mediafire.com
Hope i'm clear, thanks.
Sorry for my English, i'm french. ^^