Jump to content

enemy AI when using tilemap


TheBlackSword
 Share

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

 Share

  • Recently Browsing   0 members

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