how can i make for example black blocks disappear when my character sees them, but if there is an object on the way, the black blocks remain behind it?
if you have played Counter Strike 2D, you know what i mean: http://www.cs2d.com/img/screens/screen5.jpg
Only thing I don't like about that idea, is that it looks to much like a flashlight in a poorly made looking night. If you do do something like that, make it something other then a darkened color. Like maybe objects outside of field of view, turn a pixel shader on, that makes them blurry, and people outside of view, don't show up... but when they walk, they might start to show up a little bit, or make ripples to signal that you hear them. I don't know, but the flash light effect is lame.
actually the topic's name is correct loool im too tired.
anyways i thought it would be better if the dark space does not return when the character is not in the revealed area
meaning that i "learn" how the map looks like