Skip to content

v6.10.23 — Hex map tile alignment

Choose a tag to compare

@DimitroffVodka DimitroffVodka released this 01 Jun 03:06
· 846 commits to main since this release

Fixes for hex tiles not lining up with the Foundry hex grid. Verified live against Foundry 14.363 / Shadowdark 4.0.6.

Fixed

  • Procedural Generator tiles were offset by half a tile. Generated tiles lacked an explicit texture anchor, so v14 defaulted to (0.5, 0.5) (centre) while placement uses a top-left origin — shifting every tile by half its size. Pinned the anchor to (0, 0); tiles now sit exactly on their grid cells. No resizing — seamless art untouched.
  • Painted hex tiles were shoved inward at the left/top map edge. Foundry v14 clamps tile x/y into the scene rect, pushing edge tiles inward and misaligning the first column / top row. A lib-wrapper restores SDX-painted tiles' true position so they stay on their grid cells (overhang just clips at the border).