Help refining some camera movement

Get help using Construct 2

Post » Mon Nov 21, 2011 10:38 pm

http://db.tt/bUzylF3B

Managed to chop out the rest of my project and make a tiny example for what I want to do here. When you press M, the layoutscale changes to zoom out (or in) and the camera (invisible sprite that'll follow the player) also moves, to keep the bottom left corner of the stage completely aligned with the bottom left corner of the screen.

It... pretty much works. But it's a pretty choppy transition, as you can see. Can anyone think of a better way to do this that would look better while it's moving?SullyTheStrange2011-11-21 22:38:43
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Mon Nov 21, 2011 11:56 pm

Add an "every tick" event at the end of the event sheet with a "scroll to Camera" action. That removes the major jitter.
B
79
S
24
G
55
Posts: 4,755
Reputation: 41,273

Post » Tue Nov 22, 2011 12:55 am

That definitely helps, thanks!
B
20
S
9
G
6
Posts: 607
Reputation: 6,112


Return to How do I....?

Who is online

Users browsing this forum: ETgirl79 and 13 guests