Slide camera view on button press
kevin@infamousdevel.com
Member Posts: 1
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?
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
That's the only way you can get access to the scene camera attribute as far as I am aware
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Quick demo file:
https://www.mediafire.com/?gcjm2aw7j8gor3x