Jump to content

TileLayer collide not move follow tilelayer


Recommended Posts



I have problem with tilelayer collide the problem is TileLayer Collide not move follow tilelayer  when is move tilelayer. :(

map = this.add.tilemap('lilmap');

this.backgroundLayer = map.createLayer('Background');

this.backgroundLayer.fixedToCamera =false;  

this.backgroundLayer.x += 40; // move tilelayer +40 and i try position() too



the result my tile is moved but tile collide still at same place.

I attach result image.


how can i fix it or another way for move tilelayer to center of screen.



thank you.


Link to comment
Share on other sites


  • Recently Browsing   0 members

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