Dunnings / ProceduralJam

0 stars 0 forks source link

Fog of War Mechanic #3

Closed ctinney94 closed 8 years ago

DanWestonCode commented 8 years ago

Now implemented has been a through iterations. Might work on it further so it works as a Texture and can be done in a shader

DanWestonCode commented 8 years ago

Also to use the FogOfWar class simply call the FogOfWar.InitFog - pass the map width and height as well as the standard tile width and height. When you're ready to use this, in the awake function for the FogOfWar class comment out the CreateFog functions