How do you make doors open and close when you go near them and walk away from them?
I don't mean doors that transfer you to a different map, but doors for rooms on the same map.
Do you mean open and close automatically?
Maybe with regions? Make a parallel process, the floor tiles near to the doors (I guess for every door a different region id), a parallel process to check where the player is and if he's on a certain region you change the doors graphic (or add a switch for every door, depending on what you want to do). I hope that works
Well, you can put some events on the front and on the back of the door (event). Everytime the player touches both events, put the door (event) to close (using move event function), then configure the door to open as the player touches it. Hope it helps!
PS: You will have to use a switch to tell the gamethat the player is out from the door's room, or everytime you apporach the door it wil close!