Camera following the player only when he's close to borders

Get help using Construct 2

Post » Fri Oct 16, 2015 2:16 pm

Hi.
I'm working on a platformer. I would like my camera following the character when he reaches the first 1/3 or the last 2/3 of the window (horizontally as well as vertically).

When it moves in the opposite direction, the camera stop following it until it reaches the 1/3 of the opposite side.

Any idea about how to do that ?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Fri Oct 16, 2015 4:34 pm

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Oct 17, 2015 1:22 am

Well, that is an easy way !
Thank you so much !
B
12
S
7
G
7
Posts: 450
Reputation: 4,276


Return to How do I....?

Who is online

Users browsing this forum: zenox98 and 13 guests