Problem with doors

Screenshot.png


Hello, I'm trying to figure out why opening doors from the top side doesn't work the same way as opening doors from the bottom. I created two doors the top one opens just fine but the bottom door opens all the way really fast but then slides half way closed then all the way closed again.Is there a way to fix this?
how they open depends on the event commands you used to animate them - if something doesn't look as intended, something is wrong in the event commands.


Please show screenshots of the event pages, then we can tell you how to fix the problem.
I used quick event door creation for both doors the events are the same.Screenshot2.png
The animation is done by move route, and it is only intended to go in one direction because that event usually transfers you to the next map.


You need to change those events to first detect the direction from which the player is coming (conditional branch: player is facing XY), and then give a different sequence of turn commands ot the sprite.


Check how the door sprites use the different sprite direction for different stages of the animation, and then check the order of the turn commands (each switching the door sprite to another part of the sequence) in the move route commands. You need to reorder them, and then to reset them (if the event remains through on, it will always be passable later and never close again - is that what you want?
Well I just removed the movement command and setup 4 event pages with the 4 door animation tiles now it works the way I want, but thanks for your input tho.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-doors.67556/