18
« on: March 11, 2017, 10:04:31 AM »
Keep in mind entities don't have to be placed in SceneEdit. You can load entities from file at runtime (from a script). Which is the approach I would use in this case. Of course, it's not as comfortable as using SceneEdit, because you'd need to hardcode the entity positions in the script.
As for your other question, using a separate region entity for interaction when the key is not visible is a good approach, IMO. It makes sense, if the key isn't there, you're not interacting with a key, you're interacting with a keyhole, so a keyhole should have it's own entity/script/interaction logic.