Jump to content

Tilemap collision


ferlahozseg
 Share

Recommended Posts

Hi!

 

I'm developing a game in phaser 2.4.4 and i need your help.

 

I don't know how to get working collisions between the tilemap and the sprites...

 

I'm using P2JS physics and for the collisions between the sprites i have used the function setImpactEvents(true) and the collides(...) function in the update method.

 

I dont know how to do the same with the layers of the tilemap!

 

Thank you for your help, and sorry about my English.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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