Hi, what’s the best way to include doors in a map (i.e. any interactive element)?
I was hoping to make them a tile instance with a custom property like
key_number, but tiles can’t have custom properties
So then I have to specify each door as an object in an object layer - and somehow figure out in Phaser how to map that pixel-specific location to the closest tile location, put a door there, and link it to code to animate it for opening and closing. And also then I can’t see the doors in the map builder. I can’t really think of a decent way without tiles having custom data.