Advanced Tiled Loader - No longer maintained

Showcase your libraries, tools and other projects that help your fellow love users.
allxumuk
Prole
Posts: 14
Joined: Fri Feb 13, 2009 7:03 am

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by allxumuk » Tue Apr 23, 2013 4:03 pm

Is it possible to implement parallax layers using one map? Or need to load several maps?
Sorry for my English.
Translated by Google translate.

User avatar
Kadoba
Party member
Posts: 399
Joined: Mon Jan 10, 2011 8:25 am
Location: Oklahoma

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by Kadoba » Tue Apr 23, 2013 4:32 pm

Yes it is possible. Each layer has a parallaxX and parallaxY value, but currently there's no way for layers to repeat.

allxumuk
Prole
Posts: 14
Joined: Fri Feb 13, 2009 7:03 am

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by allxumuk » Wed Apr 24, 2013 6:24 pm

Kadoba, thanks.
Sorry for my English.
Translated by Google translate.

User avatar
Karai17
Party member
Posts: 889
Joined: Sun Sep 02, 2012 10:46 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by Karai17 » Sat May 18, 2013 3:12 am

Hey Kadoba,

I'm trying to load a map using ATL and I am having some weird trouble. The tileset I am using is 512x512, 16px tiles with 0 offset and 1px spacing. This creates 30 tiles per row. The data in the tmx file is totally fine, I've cross referenced it with an older project that works. The problem is, it seems like ATL thinks that there are 31 tiles per row, not 30, so it starts loading tiles in a zigzagging offset and I just can't find any good reason why this is happening. D:

EDIT:
I think I found the problem. in tileset.lua, TileSet:tilesWide() and TileSet:tilesHeight() should be floor, not ceil. When calculating my tileset (512px, 1 spacing) it eventually comes out to 511 / 17 which is 30.05~, and that should end up as 30, not 31.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

NiliusJulius
Prole
Posts: 2
Joined: Mon May 20, 2013 4:50 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by NiliusJulius » Mon May 20, 2013 4:55 pm

So I have been testing several things with ATL. I found ATL today and I must say I like it a lot.

What I would like to know however is the following:
Is it possible to see if a tile has an object 'on top' of it?

For example, I have a tile layer and I want to know from that specific tile if a polygon is covering that tile.
Is there an easy way to do this?

ColourTheory
Prole
Posts: 11
Joined: Tue Jun 05, 2012 8:27 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by ColourTheory » Tue May 21, 2013 3:39 am

What happened to it, I can't download it?

User avatar
Karai17
Party member
Posts: 889
Joined: Sun Sep 02, 2012 10:46 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by Karai17 » Tue May 21, 2013 3:41 am

ColourTheory wrote:What happened to it, I can't download it?
https://github.com/Kadoba/Advanced-Tiled-Loader
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

ColourTheory
Prole
Posts: 11
Joined: Tue Jun 05, 2012 8:27 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by ColourTheory » Tue May 21, 2013 3:44 am

Is there a place where I can see instructions on how to use it?

User avatar
Karai17
Party member
Posts: 889
Joined: Sun Sep 02, 2012 10:46 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by Karai17 » Tue May 21, 2013 3:51 am

Same place. read the "Quick Example" for a brief rundown. Also, check out some of the examples, and even read through this thread.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé

NiliusJulius
Prole
Posts: 2
Joined: Mon May 20, 2013 4:50 pm

Re: Advanced Tiled Loader - Updated to 0.12.1!

Post by NiliusJulius » Wed May 22, 2013 9:08 am

NiliusJulius wrote:So I have been testing several things with ATL. I found ATL today and I must say I like it a lot.

What I would like to know however is the following:
Is it possible to see if a tile has an object 'on top' of it?

For example, I have a tile layer and I want to know from that specific tile if a polygon is covering that tile.
Is there an easy way to do this?
Could anyone help with this?

Post Reply

Who is online

Users browsing this forum: No registered users and 158 guests