hey any simple way to make character can't go back when they already advanced forward?
the example of the popular game is metal slug series.
and this is my example of the game
as the picture aboves, yellow area is the entire frame of my game.
i want to make the camera 1 change to camera 2 when player pass the green indicator. (smooth transition to the right when passing the green area)
and player can't go back to area in camera 1 when player is in camera 2 area.
any help is appreciated, thanks guys