How to work with advanced Camera movement?
I have a large scene that consists of many scenes to reduce loading times.
How would I set it up so that my camera follows the main actor in my game has moves left and right but the camera doesn't go to far right or left to show the other scene, so it moves with him but hits a wall till he starts going back the other way.
Much appreciated for any good help![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
.
.
.
-----------------------------------------------------
Join the GameSalad Community and have your game noticed for free.
http://www.facebook.com/ListYourTopiPhoneGame
List your Top iPhone Game on FaceBook!
How would I set it up so that my camera follows the main actor in my game has moves left and right but the camera doesn't go to far right or left to show the other scene, so it moves with him but hits a wall till he starts going back the other way.
Much appreciated for any good help
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
.
.
.
-----------------------------------------------------
Join the GameSalad Community and have your game noticed for free.
http://www.facebook.com/ListYourTopiPhoneGame
List your Top iPhone Game on FaceBook!
Comments
if self.player.x < certain x coordinate
if self.player.y < certain y corodrinate
then 'control camera'
That way when the player moves past a certain boundary then it will stop controlling the camera.
Like some of DEEP BLUE IDEAS templates do that.
and thanks Stus Apps i'll give that a Crack.