I would like to figure out fog of war for a turn-based game involving a square grid. Different characters will see more or less of the map.
I've been thinking of having invisible squares that are always a certain distance from the character. Also, are black squares on each tile that use color overlay so they make what's below them black and white. When the invisible squares overlap a black square, the black square has its opacity set to 0.
Firstly, is this a good strategy?
Second, if so, how do I get the black squares to go back to opacity 100? I've tried the else command and inverting the condition, but neither has worked.