Jump to content

Tilemap tile's leave callback


kurhlaa
 Share

Recommended Posts

Hi,

When we use a tilemap we are able to create callbacks to execute something when overlap/collision happens, with:

layer.setTileIndexCallback(5, myFunction, this);

But how do I execute something when I leave these specific tiles with ID 5 ?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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