mitchemmc / obr-fogofwar

An Owlbear Rodeo extension that adds dynamic fog of war

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title description author image icon tags manifest learn-more
Dynamic Fog Of War
Dynamic fog of war for battlemaps
Francisco Rodrigues
fog

Dynamic Fog of War

Add dynamic fog of war to your battlemaps for more interesting fights!

You can draw walls and objects that obscure a scene using the vision tool on the right.

You can set the vision range of the players on the extension popover, as well as activate and deactivate the fog display.

You can set the background image by clicking on it and selecting the "Set as background image" option.

When using multiple player tokens, the fog of war will be combined so only the areas obscured to every player will be shown as fog.

The popover panel can be used to set character vision ranges and toggle fog on and off.

Example

Vision Example

In this example you can see two tokens' fog of war displayed. Both point of views and vision ranges are taken into account to draw the final shadows. In the following image you can see which polygons were drawn to achieve this effect (shown with a light gray outline):

Polygon Example

About

An Owlbear Rodeo extension that adds dynamic fog of war


Languages

Language:JavaScript 92.9%Language:CSS 6.4%Language:HTML 0.8%