Jump to content

ImageLayer in Tiled


Recommended Posts



I'm using Tiled for making a JSON map.

In Tiled there is an option to do an "ImageLayer", where you can insert an image that is the size of your map.


When I try to insert my map :


this.map = this.game.add.tilemap('map', 40, 40, 24, 16);this.backgroundlayer = this.map.createLayer('backgroundLayer');
I have an error in the browser:
Tilemap.createLayer: Invalid layer ID given: null




Is this possible to make maps with ImageLayer in Phaser ?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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