Slide camera view on button press

Hello,

I am trying to figure out how to slide the camera view when I click a button.

I have a level selection menu which is 5680x320. When I press the left button, I'd like it to slide the camera to the left 568 pixels. Same with the right button.

I believe I figured out how to make sure it does not cross 0 or 5680, but I can't figure out how to make the camera move. Any suggestions?

Comments

Sign In or Register to comment.