So in my game I have a condition that says,
Player overlapping Fog
do stuff
Question I have is, is that a Resource Hog? I think it might be, let me explain.
So If the player is in a Room (All Rooms have fog of same size of room) he would be triggering the above condition, so it is checking and/or doing stuff 60 times a second due to the Game Loop.
so is that bad? Should I add a Trigger Once somewhere? What is the best approach where you need to test if Player is overlapping X and then have it do stuff, but you don't want it to consume all the resources, maybe have it check after player moves instead of constantly?
thoughts.
Thank you.