Hi, today I have another problem XD i have a tmx file with the level that i load in my game, i can load it and visualize it correctly, but when i move the player, sometimes compare a space between cell, and i see the background color! What can be the problem? I have noticed that using number as 00,00 with only 2 decimal i can see the space not so often. it can be possible that zooming in a tmx level there are some error in visualizzation of cell?
I have absolutely to resolve this problem or i can't continue the game because it's horrible to see tha lines
this is the code that i use to load my level :
map = new TmxMapLoader().load("data/"+Headinator_class.info.zona+"/"+Headinator_class.info.zona+".tmx");
renderer = new OrthogonalTiledMapRenderer(map, 1/(game.unit_xy));
and this is the code i use to render :
where renderer is an OrthogonalTiledMapRenderer.