manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
39 stars 50 forks source link

Add Support for 5x5 Hex Tokens #315

Closed KitCat420 closed 5 months ago

KitCat420 commented 5 months ago

This pull request adds support for rendering hex tokens of a default grid size of 5x5. While FoundryVTT does not support them natively yet, some systems make use of 5x5 tokens already, so this allows them to have their tokens properly fill out all hex spaces when being moved.

image

manuelVo commented 5 months ago

Looks good, judging from your screenshot and the changed code. What system do I need to test this PR?

KitCat420 commented 5 months ago

I've originally used Pathfinder 1e with Hex Token Size Support to test this, just grabbing an empty actor sheet and setting the token size to 5x5 manually. The add-on is a bit buggy, so I've replaced it with my own implementation, but it shouldn't affect testing this PR

manuelVo commented 5 months ago

Thanks for the PR. I gave it a quick test and it works great.

manuelVo commented 5 months ago

With which name do you want to be credited in the changelog?

KitCat420 commented 4 months ago

KitCat will be fine, thanks! :)