Jump to content

More detail on Phaser.TileMap.setTileLocationCallback


Payou
 Share

Recommended Posts

HI everyone,

 

I work on remake an old game i really liked when i was young.

 

It's a plateform game and i use a lot of TileMap.

 

I wanna use "Phaser.TileMap.setTileLocationCallback" function because it seems to be the good one but this function are not documented (or the comment is the same as "setTileIndexCallback").

 

The only example i have seen on this function is 'Tile Callback'.

 

But in my code, this function dosen't work. The callback are not called.

 

Does this function need some configuration before using it?

Anyone as a simple example of code?

 

Thank you in advance

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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