KnTproject Posted October 2, 2016 Share Posted October 2, 2016 Hello, I have a problem with adding tile maps to Phaser. First I made a tile map in Tiled, which I exported in JSON, but I also exported in CSV. I looked for examples on the Phaser site, but everybody uses JSON, so that is the reason why I stopped with CSV. Then I added the JSON-file and the PNG to my code as you can see in the image below. The other images are the assets folder and my error's. I checked the code on missing letters, but that isn't the problem. I also watched this link: https://www.youtube.com/watch?v=8a1uwG-Uefs&index=2&list=PL9iYZZWgVwsfNdldSzmYev0tbVKjeov6w en I read topics about tile maps without any result. I tried to add the code "background.dirty = true, I deleted 'null' in game.load.tilemap and deleted the width by game.add.tilemap, but that also won't work. A few minutes ago I changed map.createLayer (' Tile layer 1);. Does anybody has a solution? Link to comment Share on other sites More sharing options...
Recommended Posts