Jump to content

Phaser and Tiled


Riddik
 Share

Recommended Posts

Hi there)

 

I using Tiled editor for tiles map.

 

that's what I see in the Tiled (for example):

 

t1.png

 

and that's what I see in the game after loaded this map:

 

t2.png

 

You can guess what id of tiles do not match in Tiled and Phaser.

 

How to fix this?

Link to comment
Share on other sites

iirc, this is an issue with Tiled, not Phaser. You can see more details in my post regarding the issue (http://www.html5gamedevs.com/topic/10192-tiledmap-loaded-with-incorrect-tiles/).

 

tl;dr:  I noticed that the .json file was consistently off by about 1 tile per row. This increased the further down the tile was in the tileset image.

 

Have you reported it on their issue tracker? https://github.com/bjorn/tiled

Link to comment
Share on other sites

  • 1 month later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...