Replies: 1 comment 5 replies
-
@sparkok I'll look into this today, do you have a sample repo you can share? I suspect the difference might be due to how isometric tiles are drawn. To match Tiled, they draw from the bottom left corner of their graphics https://github.com/excaliburjs/Excalibur/blob/main/src/engine/TileMap/IsometricMap.ts#L178 I have a post that explains the reasoning better here https://erikonarheim.com/posts/handling-height-in-isometric/ It's possible that if you draw the player in the same manner it might match with what you expect, here is an example https://github.com/eonarheim/isometric-layers/blob/main/player.ts |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an isometric tiled map,and its map tile is 64 x 32,and the size of features in the map is 64 x 128.
I want to make a red rectange to match the blue feature in the map,but I find there is a vertical offset,I don't understand what is wrong?
the code is following
the code of Player
Beta Was this translation helpful? Give feedback.
All reactions