Need help with reflection directing

Hello dear Episodians,
I’m facing a little problem while coding this scene. My character is standing in front of a mirror and obviously to make it look realistic I created their reflection character. While walking I’m facing a little problem with the reflection character. Since it’s a pannable mini-game I can’t actually hide her.
Here’s my code:
@ZOYA walks to spot 1 181 163 in zone 2 in 1.5 AND ZOYA faces right AND ZOYA moves to layer 3 AND ZOYA does it while walk_neutral_loop AND ZOYA2 walks to spot .802 201 236 in zone 1 in .4 AND ZOYA2 does it while walk_neutral_loop AND ZOYA2 moves to layer 2 AND ZOYA2 faces right
&ZOYA2 walks to spot .802 10 236 in zone 2 in .5 AND ZOYA2 moves to layer -2 AND ZOYA2 does it while walk_neutral_loop AND ZOYA2 faces right

What problem I’m facing here is that, the reflection needs to be hidden when the real character is past the mirror. And the reflection character is taking time to go to a lower layer and it looks weird. Can anyone please help me with this?

Instead of &ZOYA2 see if adding AND ZOYA2 walks to… to the previous line works.

1 Like

Thank you, I’ll try it.

I tried but since AND means doing all of the actions at the same time, Zoya2 isn’t visible in the mirror anymore.

Oh. Can you send a screenshot of the scene?

1 Like

Sure, here they are. I took the picture with my phone so it’s a little shaky. Sorry for that.


As you can see when my first char is walking, the second one is still showing on the screen. I need to hide her because there’s no mirror anymore.

In my opinion the best would be to have a cut out of the bg excluding the mirror part and placing it over the background and place the character such that it’s already behind that overlay. That way it would seem like the character walked out of the mirror because it will be behind that overlay. I’m bad at explaining lol. If you don’t understand I’ll try to explain again.

2 Likes

Wait you want to remove the character from the scene? :thinking:

1 Like

After the mirror portion is over, I want the reflection one to either hide or remove, because then it’s supposed to be a solid wall.

I think I get you. What you meant is an overlay will be at a higher layer after the mirror. This can work, let me see. Thank you for the idea.

1 Like

Well, you can try the @remove CHARACTER command.

2 Likes

Adrija’s technique worked. I tried multiple things incluidng the remove character command, but it wasn’t looking very nice. Thank you for replying.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.