Jump to content

Set the TiledMap in the Canvas Center


Recommended Posts



I m trying to create a little game with phaser.

I created a TilesMap map with Tiled and "imported" it on phaser.


The map is smaller than the canvas, and i would like to center it in the middle of the canvas.

I will after cover the black part on each corner with an HUD.


The problem is that i don't found a way to center the map.

Someone got an way to do it ?


Link to comment
Share on other sites


  • Recently Browsing   0 members

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