flip state not stored in tmj format
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Describe the bug
Ive transitioned to using tmj format for ease of editing and use. Ive hit a big where the flip states are not stored in the data.
Its adding a gid: field, but it doesnt change the value.
Steps to reproduce
- add a template object.
save it. - now flip it.
save it.
Compare the maps are identical. Loading it back in tiled and it never saves the flip state.
Expected behavior
flip states need to be saved. Without it i cant flip objects in my game.
OS version
linux
Tiled version
1.12.2
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
Reproduce this in Tiled 1.12.2 on Linux by saving a template object before and after flipping it, then compare the TMJ files. Trace the TMJ object serialization path and verify that the saved gid reflects the flip state; done means reopening the file preserves the flip.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100