Tilemap problems

Hello all,

Is there anything in Phaser that can help with rendering a dynamic tilemap?
I can easily build a tilemap in Tiled and import it, but what I really want is to have control over the array of tiles. However then I would have to somehow control all the combinations of the edges (I guess through bitmasking).

  • I am fine with this, but just want to make sure that I’m not reinventing the wheel here. So does anyone know the best forward for me here? (I’m new to Phaser, but have lots of Javascript experience, so I’m not afraid to get my hands dirty)

This might help you Phaser 3 API Documentation - Class: Tilemap

Hi REALziez,

Thank you for your reply. I have read the documentation. The problem is that the Tilemap itself doesn’t keep track of the transition of one type of tile to another.

So my question is: Is there something out there to help keep track of that, or any examples of people doing this?

I think you would have to scan the tiles yourself for this.