How do I make a lazy camera effect? (wut) [RESOLVED]

coolernow123

  • Posts: 20
So if you look at this video here and skip to the 1:00 mark:
http://www.youtube.com/watch?v=mJbAs-sSX4A
you will see a game called cave story. notice the camera. it seems to be slippery when focusing on the player. (ex: when the character stops moving, the camera moves a little bit before stopping too) sometimes, the camera is a little slow when it tries to keep up with focusing on the character. how do I generate this "lazy" camera effect? because for all I know...

« Last Edit: January 17, 2013, 03:30:03 pm by coolernow123 »
I don't have a Facebook.

Hectate

  • *
  • Posts: 4643
There's a prebuilt behavior that can handle this for you. That said, you are correct that it's not entirely simple.

A common method is to create an invisible actor to use as a focal point for the camera. THAT actor then chases the player around with a little bit of delay or lag, sliding between points smoothly.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

coolernow123

  • Posts: 20
I don't have a Facebook.