Camera Question

Menu (Index): 0

Actor: Camera
Control Camera
If attribute.menu = 0
change attribute self.position.x to 256
change attribute self.position.y to 160
If attribute.menu = 1
change attribute self.position.x to 736
change attribute self.position.y to 160

Actor: Back
If touch is pressed
change attribute game.menu to 0

I'm trying to make a complete menu system in one scene. However, whenever I am on Menu =1 and click back, it doesnt center like it does when I go from Menu=0 to Menu=1. I posted a video below!



Thanks for any help!

Comments

  • tglessytglessy Member Posts: 41
    Oh, and excuse the music :) go ahead and click mute!
  • MSEagle2MSEagle2 Member, PRO Posts: 98
    make sure that the position.x (which you have set to 256) for when it = 0 is correct. from the looks of the video it should be 230-240 ish.
  • tglessytglessy Member Posts: 41
    @MSEagle2 hey buddy, thanks for the response! I slept on it and figured it out! Instead of moving said camera actor to specific spots, I just changed the camera origin. Cant believe it was that simple!
Sign In or Register to comment.