Hi,
I'm working on a top-down visibility system with light and darkness mechanics. What I currently have is a system where on overlapping with a particular object, I set the object's visibility to true.
But, this cause the entire sprite to be visible. I'd like for it to only show what is within my object/character's visibility radius. How can this be done?
Also, right now, I need to perform the above check with every available sprite. Is there a possible way to perform this check with any obstacle the character encounters?
Thanks in advance :)