TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
How do I make a lazy camera effect? (wut) [RESOLVED]
Pages:
1
How do I make a lazy camera effect? (wut) [RESOLVED]
coolernow123
Posts: 20
January 17, 2013, 02:31:09 pm
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
January 17, 2013, 03:01:06 pm
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
January 17, 2013, 03:29:42 pm
I don't have a Facebook.
Pages:
1