Jump to content

Tiled ID issue


AramCP
 Share

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:

http://prntscr.com/dbt5ar

http://prntscr.com/dbt5gj

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

http://prntscr.com/dbt4x8

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

http://prntscr.com/dbt6fd

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

 Share

  • Recently Browsing   0 members

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