Search the Community
Showing results for tags 'imagecollection'.
-
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?
-
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!