- Joined
- Feb 9, 2021
- Messages
- 27
- Reaction score
- 6
- First Language
- English
- Primarily Uses
- RMMV
Hi everyone! I feel like there's got to be some sort of simple solution to this, but I'm losing my mind trying to figure it out! @__@ I can't figure out how to open a door and reveal an NPC behind it. One that can exit from inside the door's space and then walk onto the rest of the map for the cutscene.
So, for example, in one of my current projects, the player character needs to walk into an elevator. When they approach the elevator and attempt to step inside, they're stopped by an NPC who was already using the elevator. The NPC talks for a few lines while inside the elevator, and then steps out as the cutscene continues. I tried to draw out a quick example to show what I'm getting at, too.



But trying to accomplish this effect is proving...rather difficult. I'm not sure how to go about it! I know how the "door" event works and how to animate the door to look like it's opening and closing, but I don't know how to fit the NPC between the door and its space on the wall.
I considered simply adding the NPC into the "door opening" sprites as a band-aid solution, but that won't work for when the NPC needs to actually exit the elevator/doorway. On top of that, if I'm doing a similar event for multiple NPCs, it'll be annoying to have to edit all their sprites into that same animation, not to mention how tedious it'll be to fix if I go for a style change later on.
I also considered the "change image" effect during the "set movement route" of the door opening, but that wouldn't work either. Doing that would just make the NPC suddenly appear once the door's finished opening, rather than make it look like the door opens and reveals the NPC behind it simultaneously.
The only thing I've thought might possibly work is by having the NPC remain transparent a tile above the door event, and then when the door event is activated, the NPC moves down a tile and their transparency is turned off. (See image below)But that isn't working either.

Either the NPC event stays transparent throughout the interaction, or it's visible the entire time, resulting in the below pic. Even when it's visible, it doesn't move, even when the event is set to "through" so that nothing can block it.

As far as I am aware, you can't have two events on one space, so I can't simply layer the door and the NPC snugly on top of one another on the same tile. On top of that, (as you can see in the examples above) my character sprites and the door are both 2 tiles high--if i were to make the door any bigger to cover the NPC sprite, it'd look monstrously big on the wall! I tried looking up how to do this before but I couldn't really find an answer. It was either about to make NPCs walk into doors and then turn transparent, tutorials on how to make NPCs move in general, or just confusing broken links. I don't know if something like this is possible, but cutscenes like this are really vital to this project so I'd really like to figure out how to do it! I also use MV and am not opposed to plugins if they can help with something like this. Thank you in advance for any help you are able to provide!
So, for example, in one of my current projects, the player character needs to walk into an elevator. When they approach the elevator and attempt to step inside, they're stopped by an NPC who was already using the elevator. The NPC talks for a few lines while inside the elevator, and then steps out as the cutscene continues. I tried to draw out a quick example to show what I'm getting at, too.



But trying to accomplish this effect is proving...rather difficult. I'm not sure how to go about it! I know how the "door" event works and how to animate the door to look like it's opening and closing, but I don't know how to fit the NPC between the door and its space on the wall.
I considered simply adding the NPC into the "door opening" sprites as a band-aid solution, but that won't work for when the NPC needs to actually exit the elevator/doorway. On top of that, if I'm doing a similar event for multiple NPCs, it'll be annoying to have to edit all their sprites into that same animation, not to mention how tedious it'll be to fix if I go for a style change later on.
I also considered the "change image" effect during the "set movement route" of the door opening, but that wouldn't work either. Doing that would just make the NPC suddenly appear once the door's finished opening, rather than make it look like the door opens and reveals the NPC behind it simultaneously.
The only thing I've thought might possibly work is by having the NPC remain transparent a tile above the door event, and then when the door event is activated, the NPC moves down a tile and their transparency is turned off. (See image below)But that isn't working either.

Either the NPC event stays transparent throughout the interaction, or it's visible the entire time, resulting in the below pic. Even when it's visible, it doesn't move, even when the event is set to "through" so that nothing can block it.

As far as I am aware, you can't have two events on one space, so I can't simply layer the door and the NPC snugly on top of one another on the same tile. On top of that, (as you can see in the examples above) my character sprites and the door are both 2 tiles high--if i were to make the door any bigger to cover the NPC sprite, it'd look monstrously big on the wall! I tried looking up how to do this before but I couldn't really find an answer. It was either about to make NPCs walk into doors and then turn transparent, tutorials on how to make NPCs move in general, or just confusing broken links. I don't know if something like this is possible, but cutscenes like this are really vital to this project so I'd really like to figure out how to do it! I also use MV and am not opposed to plugins if they can help with something like this. Thank you in advance for any help you are able to provide!