Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Camera Tracking

When using Camera Control, how can I lock the Camera to stay far in front of the Character? I tried setting the Tracking Size to 0,0, but that only moves the camera when the character reaches the center of the screen, while I want the camera to move earlier, and keep the character at the far left, so that players have more time to react. I tried creating a new actor, that has a position locked ahead of the charcter's position, and made the camera follow that actor, but when I did, the Character appears to shake/vibrate.

Is there any other way to do this?


  • pHghostpHghost London, UKPosts: 2,300Member

    I use the method of a second actor which is constrained at an offset from the Character, and haven't had a problem with shakes/vibration. Can you post a screenshot of how your rules are set up?

  • SamsonSimhonScompSamsonSimhonScomp Posts: 12Member, PRO

    I created a variable called (CharacterX) then did (Timer Every 0 Seconds Change Attribute Self.Position.X to CharacterX + 50, in the second actor.)

    I'll try constrain next

  • tatiangtatiang Posts: 11,719Member, Sous Chef, PRO, Senior Sous-Chef

    If you compare an Every 0 seconds Timer that increases an attribute by one to a Constrain Attribute behavior that constrains the attribute by itself plus one, you'll see that the Constrain happens twice as fast as the Timer.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.