Tilemap performance problem

I’ve seen some games made with Phaser 2 and in them the engine doesn’t look as heavy. In my game I can’t get 60fps or at least 50 for more than a minute.
I’ve been analyzing performance and realized that having a two-layer tilemap affects performance. But what confuses me is that when the camera is not moving the game runs at 60fps but when walking it drops to 40.
Can someone help me.?

It seems to be a limitation of the WebGL renderer. You can try switching to Phaser.CANVAS.

works pretty well
thanks! :sunglasses: