Objects coords on isometric maps
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
there is something wrong with objects coordinate in isometric maps.
let's say we have created an isometric map with 92x46 tiles size and 32x32 tiles number.
we draw an object on top of on a tile, let's say at x=23 , y=12
we save the map to tmx format.
the resulting tmx file will save this object as :
```
```
to get back the isometric coords I need to divide 1058 by 46 and 552 by 46 .... but this doen't make any sens for X ! cause in isometric mode with and height are different !
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 with a 92x46 isometric map using 32x32 tiles, place an object at x=23, y=12, and save it as TMX. Trace the isometric object-coordinate conversion and TMX serialization, then verify that the saved x and y values can be converted back consistently.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100