I'm stuck in a rut with this game I'm trying to make. The tilemap I'm trying to use has an error stating as follows
Error 1: "Phaser.Tileset - image tile area is not an even multiple of tile size"
Error 2: "Uncaught TypeError: Cannot read property '2' of undefined"
Error 3: "Uncaught TypeError: Cannot read property 'type' of undefined"2
Here is a link to the code I'm using. http://pastebin.com/Dv00KGii
Try embedding tileset in your tilemap. For me this fixed this eror: Uncaught TypeError: Cannot read property '2' of undefined"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With