notnullgames / tiled-kaboom

Load maps made in Tiled into Kaboom!
https://notnullgames.github.io/tiled-kaboom/
20 stars 3 forks source link

Doesn't work with Kaboom version 3000 #15

Open magical-heyrovsky opened 1 year ago

magical-heyrovsky commented 1 year ago

Changing the line https://github.com/notnullgames/tiled-kaboom/blob/cf07f3b291a2a3087c7b63e9f6d188432323bb91/index.html#L28 to "kaboom": "https://unpkg.com/kaboom@3000.0.1/dist/kaboom.mjs" and adding the properties tileWidth: 32, tileHeight: 32 to the object on line https://github.com/notnullgames/tiled-kaboom/blob/cf07f3b291a2a3087c7b63e9f6d188432323bb91/index.html#L51 will result in TypeError: Cannot read properties of undefined (reading 'Ă').