Jump to content

Problems with ImageCollection and Tiled editor


bergmann
 Share

Recommended Posts

Hello everyone

 

I'm trying to use the Image Collection feature from the Tiled Editor with Phaser but it seens that when I put some image (any kind) to the image list at Tiled and try to run the game, the game itself freezes (not even load) and crashs the browser (Firefox). If the Image Collection is empty at Tiled, there's no problem at all and the game just runs normally.

 

I noticed that Phaser have got support to Image Collection, but how can I use this class if the game crashes when loading the JSON file? What I'm doing wrong?

 

Thanks!

Link to comment
Share on other sites

Hi jmp!

 

In my case, I'm unable to load the Image Collection in first place, it seens.

 

At first, I just created the Image Collection at Tiled, added some images on it, saved the JSON file and tried to load it, without using the images in any layer - and just trying to load them first in Phaser. But the browser and the game crashes when creating the tilemap object ( map = game.add.tilemap('worldmap'); )

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
 Share

  • Recently Browsing   0 members

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