lets-godot-roguelike icon indicating copy to clipboard operation
lets-godot-roguelike copied to clipboard

Update Thing visibility on player map_pos_changed

Open YeOldeDM opened this issue 7 years ago • 0 comments

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.

YeOldeDM avatar May 30 '17 08:05 YeOldeDM