Kadoba / Advanced-Tiled-Loader

Imports Tiled maps into Lua for the LÖVE game engine. (NO LONGER IN DEVELOPMENT)
183 stars 30 forks source link

Object layer tiles are moved up visually #22

Closed SpiderDave closed 11 years ago

SpiderDave commented 11 years ago

After upgrading to the newer version of the loader, all my object layer tiles have moved up visually. They still work as usual; it's just a visual thing, and only affects object layer tiles.

Here's an image showing the difference with game and editor: http://i.imgur.com/iQJQ7.png

I think Object.lua line 133 might be the culprit: di.y = di.y - th Removing it seems to bring everything back to normal.

Kadoba commented 11 years ago

I can't seem to reproduce this.

SpiderDave commented 11 years ago

I made a stripped-down version for testing, and it's still doing it. Here's a .love package for testing: http://www.fileswap.com/dl/fYIWeVDDyV/

Version stuff:

Tiled Map Editor version 0.8.0 Advanced Tiled Loader 0.12.1 (10/31/12) Windows 7 Professional LOVE 0.8.0 (Rubber Piggy)

Kadoba commented 11 years ago

Thanks, you were right. It was line 133.

Kadoba commented 11 years ago

Fixed with 0788c1e664f656f9c2937ee3e9e3cba3e8d2b212