Questions tagged [tmxtiledmap]

18 questions
0
votes
1 answer

Java - Libgdx -TiledMap | get screenX & screenY for every Cell in the Map

as the title says, i'm trying to get the screen coordinates for each cell in my map. is it even possible? I'm really frustraited and can't figure it out! I appreciate your help! note that my map has a static position on the screen. Another note: i…
Murad Alm.
  • 79
  • 9
0
votes
1 answer

How to draw tiled map in Android studio with libgdx

mapLoader = new TmxMapLoader (); map = mapLoader.load ( "saa.tmx" ); renderer = new OrthogonalTiledMapRenderer ( map ); My error is : Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Error parsing file:…
0
votes
1 answer

Is there a way to remove objects from a Tiled map?

I am looping through object layer and there are certain objects(Rectangle Map object in my case) I want to remove based on certain condition, but I don't see any method to do this.
shubham
  • 49
  • 7
1
2