Incorrect Width and Height when a Tile Collision shape is added in the Tile Collision Editor.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Using tiled 1.2.0
I think it's a minor bug, but it's very confusing.
When you add a collision shape in the Tile Collision Editor the width and height are incorrect.
The main problem is that you see for example a big Rectangle (But the Object attributes Width and Height are not representing that big Rectangle). This inconsistency continues if you save the Tileset. In the .tsx the Rectangle width and height are 0.
👍
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 the issue in the Tile Collision Editor using Tiled 1.2.0, then inspect the collision shape's displayed attributes and the saved .tsx output. Done means the rectangle's visual size, Width and Height attributes, and serialized dimensions agree after saving.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100