Add per-Tile "Allowed Transformations" overrides
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
As of 1.5, Terrains can now automatically transform (flip horizontally/vertically and rotate) tiles to expand a terrain's capability and/or provide additional visual variation. However, these Allowed Transformations are set for the whole tileset, and that isn't enough granularity for many tilesets.
For example, cliff tiles usually have only one acceptable orientation because of their shading, while grass and sand can often be flipped horizontally, and some simple sand/dirt tiles can be flipped vertically as well. Pipe tiles might be rotatable, while fences are not.
Being able to set Allowed Transformations on a per-tile basis, overriding the tileset-wide setting, would make full use of such tilesets much easier, allowing users to get a lot of mileage out of the flippable tiles without risking nonsense results with the unflippable ones.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Locate the existing tileset-wide Allowed Transformations handling, then trace how terrain matching reads it and how tile properties are edited and saved. Done means a tile can override the tileset setting while tiles without an override continue using the tileset-wide value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100