Jump to content

Tiled ID issue


Recommended Posts

I was setting the colissions for my game when something strange happened, my tile ID seems to be weird. Look at that:

map.setCollision(93, true, layer3);

As you can see i set collision in my tile with ID 93. I added some tiled screenshots:



Well, but i enter the game and it doesnt works.


maybe you think my code is wrong but its not that, look what happens when i try to walk to the left:


My door tile is ID 91, and i can colide with it, while i set the colission in tile 93. Its like it moves 2 tiles to the left.


Guys do yo know why is happening that? Thanks for reading.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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