Advice for creating fog of war on tilemap game XNA
Posted
by
Sigh-AniDe
on Game Development
See other posts from Game Development
or by Sigh-AniDe
Published on 2012-06-02T13:28:57Z
Indexed on
2012/06/02
16:50 UTC
Read the original article
Hit count: 866
I have created a 2D Tile Based game. The game has a single path that the sprite can move on. I want to create to make the entire screen black except for where the sprite is. The sprite has commands such as left where he keeps looking left, right where he keeps looking right and move forward where he moves in the direction he is looking. I want to make it such that when he looks left then the tile on the left of the sprites fog should be removed and so on for all the sides. What is the best way to do this? Is there any tutorials that you guys know of that i can take a look at?
Thanks
© Game Development or respective owner