zeel01 / scene-tiler

2 stars 1 forks source link

Incorporate a means by which to be able to "mirror" the tiles created by SceneTiler #10

Open karpana opened 2 years ago

karpana commented 2 years ago

Within Foundry, there is a "trick" where

While I recognize that the math involved in resizing a tile would be ridiculous (due to the implicit refactoring of objecst such as walls on the base scene), it would be super cool to be able to simply mirror a tile horizontally and/or vertically to have a single tile (such as those from DungeonMorphs, be able to provide even greater variety by having the a single tile potentially be 4 different tiles.

Thanks in advance for the consideration

Edit: I know the tiles can be rotated (as I alreday do this via my code calls and your API), and I"m wondering if that math/algorithm is potentially useable (i.e. editable) to allow for the tile's width/height to be set to it's negative width/height (like an actual tile), and not cause problems.

Edit 2: I'm going to explore the math (via graph paper) to see how this might work, then review the code to see what options might exist to achieve this.