Is there documentation on the camera control behavior?

hillelchillelc Member Posts: 56
edited November -1 in Working with GS (Mac)
I'm trying to understand exactly how it behaves. I can't find any documentation on the interaction between the size of an actor with camera control, and the resizable frame in camera control mode in the editor. Does anyone have a detailed explanation?

I'm specifically trying to understand how the camera decides to follow.

For example... the camera doesn't maintain the actor in the center. it's loose. And that's causing me headaches.

ANy thoughts?

Comments

  • RHRH Member Posts: 1,079
    http://gamesalad.com/wiki/behaviors_reference:control_camera

    doesn't say much.

    Basically (it's hard to explain), when you use the control camera behaviour the camera will move when the actor is at the edge of the transparent area inside the yellow border.
  • hillelchillelc Member Posts: 56
    I did shrink the camera to nothing. i basically want to scroll 1024px chunks to the right or left. No more, no less. I set the camera controlling actor to interpolate self,position.x to self.position.x+1024 but the camera goes way too far. if i do it around 330 then it moves almost 1024. But if i set it to add 340 then it goes well beyond 1024 (more than 10 increments beyond the previous setting).
  • RHRH Member Posts: 1,079
    make an attribute (i.e. self.startX) or something and in the rule with interpolate add (before the interpolate) change attribute self.startX to self.position.X. Then interpolate self.position.X to self.start.X + 1024
  • hillelchillelc Member Posts: 56
    Holy crap! It worked.

    I would love love love to know why.

    Thank you RH. :)
Sign In or Register to comment.