Jump to content

enemy AI when using tilemap


Recommended Posts

Basically you would have to use physics.arcade.collide method between your character and the layer group in your update function with a callback function after having set the index of the tiles you want to collide with by using the map.setCollision function while creating your map and layer.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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