Camera Problems
Hello,
i'm working on a platformer game, but the camera only moves when my actor reaches the end of the screen but i want it to move when my actor is in the middle of the screen so i can see what is coming in front of me,
And when the camera moves the left & right buttons dont move, so they go off the screen and can't control them anymore
It's probably really easy but i would appreciate some help.
Thanks
i'm working on a platformer game, but the camera only moves when my actor reaches the end of the screen but i want it to move when my actor is in the middle of the screen so i can see what is coming in front of me,
And when the camera moves the left & right buttons dont move, so they go off the screen and can't control them anymore
It's probably really easy but i would appreciate some help.
Thanks
Best Answer
-
simo103 Posts: 1,331
@Nettekoven .. to adjust the camera take a look here: http://cookbook.gamesalad.com/question/4db0a5825e76e11f3e00021e basically you are going to close the camera tracking box so it is narrow and your actor just fit in it and it will move with your actor in the middle of the scene.
Regards the buttons .. you will need to create a new layer and uncheck the scrollable box. Place all you buttons, score, time, health etc in there and make sure it is top of the list of layers. See here: http://forums.gamesalad.com/discussion/comment/312458/
Answers