When the player changes map position, calculate a FOVmap, which should be an array of Vector2 map cells which are considered "visible".
Iterate through all nodes in the "things" group and compare them to the FOVmap. Hide anything not in this map, and show anything that is.
When the player changes map position, calculate a FOVmap, which should be an array of
Vector2
map cells which are considered "visible".Iterate through all nodes in the "things" group and compare them to the FOVmap. Hide anything not in this map, and show anything that is.