Forum rules - please read before posting.

Stop Camera Scrolling when Player Stops

Is there anyway to stop the camera from scrolling the background when the Player stops moving?

I'm making a 2D game with sprite-based characters, and when the player stops walking, the camera keeps panning. You can see this effect in the 2D Game Tutorial video: https://youtu.be/_DL9lZGCjM0?t=27m20s


Comments

  • Raise the camera's Follow speed.  The camera continues to scroll because it is slower than the player.
  • edited February 2016
    Okay, that definitely seems to be the issue. What is the acceptable range of values for Follow Speed? Is it possible to make the camera follow too fast? (That looks like what is happening if I set it at 100, for example.)

    (I checked in the Adventure Creator manual, and in the scripting reference, just to make sure this wasn't spelled out somewhere.)

  • Not really - as it depends on the scale of your scene / camera FOV etc.  Just go with whatever feels right.
Sign In or Register to comment.

Howdy, Stranger!

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

Welcome to the official forum for Adventure Creator.