doodlezucc / dungeonclub

A cool little website for playing Dungeons & Dragons together!
https://dungeonclub.net
MIT License
71 stars 12 forks source link

Hexagonal Grid Option #7

Closed doodlezucc closed 1 year ago

doodlezucc commented 2 years ago

User submitted feature request: Please implement the option to use hex grids and no grid at all.

Notes:

What needs to be done:

doodlezucc commented 2 years ago

A dedicated Dart library for different grids and conversion between world and grid space was created at doodlezucc/dart_grid.

doodlezucc commented 1 year ago

Hex grids are now fully supported! Token movement and sizing, grid snapping, measuring (paths as well as all D&D 5e Areas of Effect) and a way to use Fog of War with hexagons have been implemented.

The changes include a refactor to how measurings are created and handled in code. Functionality of the grid library has been integrated and is visible in multiple parts of this repository as well as the dedicated Fog of War library (web_polymask).

All changes made while working on this issue can be seen in the GitHub diff.