englercj / phaser-tiled

A tilemap implementation for phaser focusing on large complex maps built with the Tiled Editor.
MIT License
290 stars 31 forks source link

Error on load #80

Open ChildishGiant opened 5 years ago

ChildishGiant commented 5 years ago

I've simply imported the script and get thrown this error. I'm guessing this lib might not be compatible with Phaser 3 but that's not listed anywhere.

phaser-tiled-2.0.4.js:1961 Uncaught TypeError: Object prototype may only be an Object or null: undefined
    at Function.create (<anonymous>)
    at Object.9../physics (phaser-tiled-2.0.4.js:1961)
    at s (phaser-tiled-2.0.4.js:1)
    at e (phaser-tiled-2.0.4.js:1)
    at phaser-tiled-2.0.4.js:1
    at phaser-tiled-2.0.4.js:1
    at phaser-tiled-2.0.4.js:1
9../physics @ phaser-tiled-2.0.4.js:1961
s @ phaser-tiled-2.0.4.js:1
e @ phaser-tiled-2.0.4.js:1
(anonymous) @ phaser-tiled-2.0.4.js:1
(anonymous) @ phaser-tiled-2.0.4.js:1
(anonymous) @ phaser-tiled-2.0.4.js:1
englercj commented 5 years ago

The last time any change was made to this repository was before Phaser 3 existed :)

ChildishGiant commented 5 years ago

That would make sense. I'm assuming you're not planning on updating this repo to support it, but keeping it around for phaser CE?

englercj commented 5 years ago

Yeah not really planning to update it because I consider my gl-tiled library to be a superior solution, just need some help adding in the nice Phaser-specific features.