Annoraaq / grid-engine

A grid based movement engine compatible with Phaser3.
https://annoraaq.github.io/grid-engine/
Apache License 2.0
241 stars 20 forks source link

Improve error message when tilemap layer has no 'tilemapLayer' property. #428

Closed Annoraaq closed 1 year ago

Annoraaq commented 1 year ago

When not properly initializing a tilemap layer in Phaser, the layer ends up not having a 'tilemapLayer' property. This breaks GridEngine. A more informative error message would be useful.