dndplayer / dnd-player

An online virtual DND playground to support online groups.
https://dnd-player.com
Other
1 stars 0 forks source link

Implement fog of war #27

Closed BodrickLight closed 5 years ago

BodrickLight commented 5 years ago

Eventually it'd be nice to be calculated per-character, but at the very least some way of hiding areas of the map would be useful.

chrisella commented 5 years ago

Another possible option for this short term (suggested by Steven) is to put a new property on all objects which flags if it's visible to the DM only or not. This would allow the DM to hide tokens from players, but not the background. The background images etc could solve this temporarily by just importing a square black image which can be positioned around over the top of bits to hide them.

To improve the usability of the hiding for DM only, multi-select and multi-select property editing would be a huge boon.