Problem with ATL and Tiled Map Editor

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Fayer
Prole
Posts: 26
Joined: Tue Jan 07, 2014 5:48 pm
Location: Mexico City

Problem with ATL and Tiled Map Editor

Post by Fayer »

Image

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?
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:47 am, edited 3 times in total.
User avatar
markgo
Party member
Posts: 190
Joined: Sat Jan 05, 2013 12:21 am
Location: USA

Re: Problem with ATL and Tiled Map Editor

Post by markgo »

A love file would be nice. Can't give much help without it.
User avatar
Fayer
Prole
Posts: 26
Joined: Tue Jan 07, 2014 5:48 pm
Location: Mexico City

Re: Problem with ATL and Tiled Map Editor

Post 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.
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:47 am, edited 3 times in total.
User avatar
Fayer
Prole
Posts: 26
Joined: Tue Jan 07, 2014 5:48 pm
Location: Mexico City

Re: Problem with ATL and Tiled Map Editor

Post 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.
User avatar
Jeeper
Party member
Posts: 611
Joined: Tue Mar 12, 2013 7:11 pm
Contact:

Re: Problem with ATL and Tiled Map Editor

Post 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.
User avatar
Fayer
Prole
Posts: 26
Joined: Tue Jan 07, 2014 5:48 pm
Location: Mexico City

Re: Problem with ATL and Tiled Map Editor

Post 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.
User avatar
Fayer
Prole
Posts: 26
Joined: Tue Jan 07, 2014 5:48 pm
Location: Mexico City

Re: Problem with ATL and Tiled Map Editor

Post by Fayer »

Fixed it! As Jeeper pointed out, image assets must follow the power of 2 rule.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 8 guests