I have a Door object, and I added a boolean (isLocked) to the object in Tiled. I am struggling to use this boolean in Phaser 2, everything I tried didn’t worked and I can’t find much things about that on internet.
I tried simply calling
this.door.isLocked (like in this post) and using
getTileProperties() (which seems to only work with Phaser 3…)
Is there any way to use this?