Hi
I'm working on a 2D game, and the character in the scene I'm working on can only move left/ right like a sidescroller.
As he walks to the right, the land slowly starts sloping upwards. I want the camera to zoom out as he continues to climb up the hill (so that I can reveal a wider shot of the hill and the background) If the player walks back down the hill (to the left), the camera should again go back to its original zoomed in size.
I want this camera switch to happen based on the character's movement. Any tips?
Thanks
Comments