Hello everyone, I’m making a 2d horror game, and i would like to make the camera move depending on what side the player is looking at (left, right);
the camera has the follow the player and put it on one side of the screen (still depending on the direction the player is looking at) but i don’t know how to do this.
Basically if the player is looking on his right side, the camera will put Player on the left border of the screen,
and if the player is looking on his left side the camera will put him on the right border of the screen.
I was thinking about it and i tried at first, but it wasn’t working, i added the smooth camera behavior to the player and in the event sheet i set up the values when the player was flipped or not, but it didn’t worked, i will try again soon and let u know
(Thx for the answer btw )