# OOP Scripting (Fog of war)

**URL:** <https://forum.kirupa.com/t/oop-scripting-fog-of-war/143299>\
**Category:** Uncategorized\
**Created:** [April 4, 2005, 10:55pm UTC](https://forum.kirupa.com/t/oop-scripting-fog-of-war/143299 "2005-04-04T22:55:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Identity](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@Identity](https://forum.kirupa.com/u/Identity)\
**Post date:** [April 4, 2005, 10:55pm UTC](https://forum.kirupa.com/t/oop-scripting-fog-of-war/143299/1 "2005-04-04T22:55:52Z")

</div>

Hi Guys hope u can help me. Im trying to create a fog of war scene for a game but not using masking, it needs to be done using OOP not OOP AS 2. its for a college project, i was showen code to create fog of war using hittest but that means i have to use a lot of seperate objects to create this? what im looking for is to create a area around the user object like for warcraft if u know what i mean? any tips on how i could achieve this using OPP would be great?
