# Tilemap problems

**URL:** <https://phaser.discourse.group/t/tilemap-problems/10751>\
**Category:** Phaser 3\
**Created:** [November 27, 2021, 12:24am UTC](https://phaser.discourse.group/t/tilemap-problems/10751 "2021-11-27T00:24:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Primordial](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/primordial/32/5917_2.png) [@Primordial](https://phaser.discourse.group/u/Primordial)\
**Post date:** [November 27, 2021, 12:24am UTC](https://phaser.discourse.group/t/tilemap-problems/10751/1 "2021-11-27T00:24:47Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![REALziez](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/realziez/32/5897_2.png) [@REALziez](https://phaser.discourse.group/u/REALziez)\
**Post date:** [November 27, 2021, 1:02am UTC](https://phaser.discourse.group/t/tilemap-problems/10751/2 "2021-11-27T01:02:31Z")

</div>

This might help you [Phaser 3 API Documentation - Class: Tilemap](https://photonstorm.github.io/phaser3-docs/Phaser.Tilemaps.Tilemap.html)

---

<div class="post-metadata">

**Author:** ![Primordial](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/primordial/32/5917_2.png) [@Primordial](https://phaser.discourse.group/u/Primordial)\
**Post date:** [November 27, 2021, 9:06am UTC](https://phaser.discourse.group/t/tilemap-problems/10751/3 "2021-11-27T09:06:03Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [November 27, 2021, 4:36pm UTC](https://phaser.discourse.group/t/tilemap-problems/10751/4 "2021-11-27T16:36:17Z")

</div>

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