Camera to follow actor

zNiiCzNiiC Member Posts: 74
edited November -1 in Working with GS (Mac)
I have a top down shooter, and i want a camera to follow the actor. I want the actor to be in the middle of the camera too

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    So set a control camera behavior in your actor and then in the scene minimize the tracking area as small as possible.

    http://gamesalad.com/wiki/interface_reference:scene_attributes
  • zNiiCzNiiC Member Posts: 74
    Its not working for me. What should the camera size and tracking area be? I want the actor in the middle of the screen the whole time
  • DrGlickertDrGlickert Member Posts: 1,135
    In the scene editor, click on the camera icon (which is next to an arrow icon). Then grab the tabs and make it as small as it can go. Then it'll follow the actor that has the Control Camera behavior.
  • zNiiCzNiiC Member Posts: 74
    http://imgur.com/a/yPYmA

    Theres two pictures here. its not working :(
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    you gotta make your scene bigger
  • zNiiCzNiiC Member Posts: 74
    How? my background is 2x the size of the iphone screen
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    In scene attribute you have to change the scene size and leave the camera size at 480x320 and tracking area at 0x0
  • zNiiCzNiiC Member Posts: 74
    got it! thanks! now...how do i make an enemy (zombie i can make a pic of it) chase the main actor?
Sign In or Register to comment.