Jump to content

Tilemap ImageCollection


cesco_p
 Share

Recommended Posts

Hey everybody, I am working on a small plattformer to get started. 

Therefore, I created a tilemap with Tiled. Everything works out, but if I want to use an image Collection

instead of a tilesetimage I get the following error message:

Uncaught TypeError: Cannot read property '2' of undefined
   
at AssignTileProperties (phaser.js:84823)
   
at ParseJSONTiled (phaser.js:46874)
   
at Parse (phaser.js:46984)
   
at ParseToTilemap (phaser.js:22869)
   
at GameObjectCreator.tilemap (phaser.js:84313)
   
at Scene.create (main.js:62)
   
at SceneManager.create (phaser.js:62975)
    at SceneManager.loadComplete (phaser.js:62872)
    at LoaderPlugin.emit (phaser.js:2894)
    at LoaderPlugin.processComplete (phaser.js:93459)

Does anyone know how to use a collection image in Phaser 3?

 

 

example.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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