How to work with advanced Camera movement?

ozboybrianozboybrian PRO Posts: 2,102
edited November -1 in Working with GS (Mac)
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 :)
.
.
.
-----------------------------------------------------
Join the GameSalad Community and have your game noticed for free.
http://www.facebook.com/ListYourTopiPhoneGame
List your Top iPhone Game on FaceBook!

Comments

  • GLGAMESGLGAMES SingaporeMember Posts: 988
    first thing first when u mention many scenes in one, are those linked together as one big scene or you have scene transition to change the camera tracking area?
  • StusAppsStusApps Member, PRO Posts: 1,352
    Rule: all
    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.
  • ozboybrianozboybrian PRO Posts: 2,102
    georgeleong78 said:
    first thing first when u mention many scenes in one, are those linked together as one big scene or you have scene transition to change the camera tracking area?

    Like one big scene with little scenes literally inside it.
    Like some of DEEP BLUE IDEAS templates do that.

    and thanks Stus Apps i'll give that a Crack.
  • ozboybrianozboybrian PRO Posts: 2,102
    I've restarted my file since and when I goto the new Scene it doesn't actually goto the new scene... :/
Sign In or Register to comment.