Hello uh, im new to rpg maker and im doing a game inspired by oneshot. Ive tried making a mirror by doing a "room" behind a wall with an npc that copies main character's movement but it was with a delay so I scrapped this idea. Any solutions? [also if you know how to make a run button please tell me thanks]
How can I make a mirror effect in XP?
RPG Maker XP SupportEvent version:
0, The mirror itself needs to be an event. It does not need to have anything on its pages. Just need to have the graphics.
1, make 4 additional art assets of the mirror with your character facing 4 directions.
2, add an event in front of the mirror, it's triggered when the player step on it.
3, the event shall turn on a switch
4, add another event which will run in parallel, it's trigger condition on the event page is the that switch has been turned on.
5, in the parrel event, it wait for a few frame and change the mirror image based on which direction the player is facing.
(Wait 20 frames, and change the character's moving path -> change the character(the mirror)'s character graphics)
To change the mirror to match where your character is facing the mirror, you will need some additional condition check to check where the player is currently facing.
6, add 3 more events around the one in front of your mirror.
7, those 3 events are triggered when we think the player is leaving the mirror, they are triggered when the player is step on them and the mirror switch is on.
8, they shall turn off the mirror switch and change the mirror character sprite back to normal.
(turn off the switch. change character moving path -> change character(the mirror)'s graphics)
Script version:
You don't need to make additional art assets, you just need to copy part of the player's sprite onto the mirror.
I have such a mirror in my game on the 2nd floor of Ardham Hotel. So, everything has proved to work. 😛
And Slava Ukraini, by the way. 🙂
Sorry, I don't have an English version of RMXP on this computer right now. So, those images are just for reference.
0, The mirror itself needs to be an event. It does not need to have anything on its pages. Just need to have the graphics.
1, make 4 additional art assets of the mirror with your character facing 4 directions.
2, add an event in front of the mirror, it's triggered when the player step on it.
3, the event shall turn on a switch
4, add another event which will run in parallel, it's trigger condition on the event page is the that switch has been turned on.
5, in the parrel event, it wait for a few frame and change the mirror image based on which direction the player is facing.
(Wait 20 frames, and change the character's moving path -> change the character(the mirror)'s character graphics)
To change the mirror to match where your character is facing the mirror, you will need some additional condition check to check where the player is currently facing.
6, add 3 more events around the one in front of your mirror.
7, those 3 events are triggered when we think the player is leaving the mirror, they are triggered when the player is step on them and the mirror switch is on.
8, they shall turn off the mirror switch and change the mirror character sprite back to normal.
(turn off the switch. change character moving path -> change character(the mirror)'s graphics)
Script version:
You don't need to make additional art assets, you just need to copy part of the player's sprite onto the mirror.
I have such a mirror in my game on the 2nd floor of Ardham Hotel. So, everything has proved to work. 😛
And Slava Ukraini, by the way. 🙂
Sorry, I don't have an English version of RMXP on this computer right now. So, those images are just for reference.
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-mirror-effect-in-xp.175097/