module

Grid Aware Templates

Endorsements
0
Installs
0.34%
Comments
0
Latest version3
Minimum Core
Compatible Core
Last updated1 year ago
Created1 year ago
Authors
Languages English
Systems All systems
Project source Project URL

Grid Aware Templates

Improves shape detection for measured templates on gridded maps. The default algorithm in foundry checks if a grid center is within the preview shape and highlights according to that. This approach is a poor choice for games that rely heavily on grid spaces for measurements, leading to incorrectly highlighted areas.

This uses an alternative approach for highlighting spaces in circle and cone templates. For circles, all spaces within the radius of the template, as measured by grid spaces are highlighted. For cones, the circle area used, then spaces that aren't within the angle of the cone are removed. These alternate approaches give much nicer template highlighting, particularly for hexagonal grids.

To make these changes easier to use, templates will now snap to grid space increments for size and 15° increments for rotation during creation.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x