Conserve flip data on csv export
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
I've been using Tiled to develop a roguelike and I recently added support for loading flipped tiles. If the 32nd bit of a tile is set (e.g. tile 4 becomes tile 2147483652) then I flip the tile horizontally when rendering it. This is exactly how the .tmx format handles flipping and it streamlines the process of porting maps into my game.
Unfortunately, exported .csv files do not have this functionality. A tile with an ID of 4 will remain 4 even if flipped or rotated. To solve this, could we have some configurable options in the Plugins tab? Alternatively, a "Conserve tile flipping on export" option in the General tab?
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
The payload names no source files or tests. Start by locating the CSV export path and the existing tile flip and rotation representation, then inspect how the Plugins and General settings are defined. Done means CSV export can be configured to preserve the relevant flipped or rotated tile data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100