Page 1 of 1
Problem with ATL and Tiled Map Editor
Posted: Wed Jan 08, 2014 4:46 am
by Fayer
https://dl.dropboxusercontent.com/u/10226165/test.png
Hello, I'm new in this forum and new to the engine also. I was doing a little testing with some tools ATL (Advanced Tile Loader) and Tiled Map Editor and something strange happened. I was following the tutorials in ATL's git page and everything was fine. Then I decided to do something on my own and this happened (see image for reference).
ºExplanation: I designed a tiled map on the editor and when it's loaded with ATL, the map tiles are wrong. Has anyone experienced something like this? Any idea on how to solve it?
[]
Posted: Wed Jan 08, 2014 9:01 am
by bekey
-snip-
Re: Problem with ATL and Tiled Map Editor
Posted: Wed Jan 08, 2014 2:58 pm
by markgo
A love file would be nice. Can't give much help without it.
Re: Problem with ATL and Tiled Map Editor
Posted: Wed Jan 08, 2014 5:02 pm
by Fayer
markgo wrote:A love file would be nice. Can't give much help without it.
that's the main.lua right there, there's nothing else. Well, just the ATL library that I donwnloaded from github.
bekey wrote:What did you add.
I don't understand the question.
[]
Posted: Thu Jan 09, 2014 12:28 am
by bekey
-snip-
Re: Problem with ATL and Tiled Map Editor
Posted: Thu Jan 09, 2014 12:52 am
by Fayer
bekey wrote:Could you try redoing the sprite sheet inside tiled?
I did that a lot of times. Also, uninstalled tiled, and reinstalled it. Do you know where Tiled saves it's preferences on mac? maybe something is still there.
Re: Problem with ATL and Tiled Map Editor
Posted: Thu Jan 09, 2014 4:39 pm
by Jeeper
Fayer wrote:bekey wrote:Could you try redoing the sprite sheet inside tiled?
I did that a lot of times. Also, uninstalled tiled, and reinstalled it. Do you know where Tiled saves it's preferences on mac? maybe something is still there.
Are the pictures that you loaded in following the power of 2? Also make sure that the images you load in don't have transparency, use a color indicator instead.
Re: Problem with ATL and Tiled Map Editor
Posted: Thu Jan 09, 2014 5:46 pm
by Fayer
Jeeper wrote:
Are the pictures that you loaded in following the power of 2? Also make sure that the images you load in don't have transparency, use a color indicator instead.
The image is the same that comes with Tiled, it isn't power of 2.
Re: Problem with ATL and Tiled Map Editor
Posted: Thu Jan 09, 2014 6:16 pm
by Fayer
Fixed it! As Jeeper pointed out, image assets must follow the power of 2 rule.