Hi guys,
I recently developed the logic and UI for inventory thanks for the help of you guys in the forum.
Now I am trying to switch the map from a normal orthographic map to isometric map. I use Tiled to draw my map and save it as .TMX file then load it in Java and work with it using libGDX.
I currently have a very frustrating problem that couldn’t understand how to deal with, below is the map I am using.
In Tiled the far top tile is the (0, 0) tile.
The walls in this map is set as blocked so the player can’t move through it.
Rendering this map in Java, it shows the exact image I draw in Tiled BUT the blocked layer is flipped by the meaning that it consider the far left tile to be (0, 0) and it sets it to be blocked however there is nothing drawn there!
The thing that I will also try to handle is that for the player the far left point is the (0, 0) coordinate and when I move down it is the negative y-axis and up is the positive y-axis.
I don’t know how to make this all can be fixed as I tried looking for tutorials but without getting lucky.
Any experienced users can tell me what to do?