Jump to content

TilemapLayer get Position from tile


code herd
 Share

Recommended Posts

Hi, 

 

I've just started messing around with Phaser, and I have to say it's pretty awesome! great work on it!

 

I have a question though. I've looked around in the docs and examples but there doesn't seem to be anything that I can see for moving a sprite to a certain tile on a tilemap.

 

So for example I have the tilemap coordinates (5,9) and I want to move the sprite to the screen coordinates for that tile. Is there something there for getting them? or maybe moving it to the object or something, that I'm missing?

 

 

Thanks in advance

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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