camera control

nickbuakaewnickbuakaew Member Posts: 77
edited April 2012 in Working with GS (Mac)
i want my actor to be in the back of the scene. i manage to do so bycreated attribute, and constrain it with scene.camera.original.X

my actor is accelerate 200 and i constrain accelerate to 200 (that way it move at the same speed.

Now the problem.....the actor doesn't move nicely, it shaky.
anybody with the solution or should i do it in another way.

thank you

Best Answer

  • PhoticsPhotics Posts: 4,172
    Accepted Answer
    It seems like you're trying to do parallax scrolling. To do this, I usually constrain the background actors relative to the camera's position.

    self.Position.X to 2000-(scene.Camera.Origin.X*2)

Answers

Sign In or Register to comment.