How do I adjust the Camera?

Get help using Construct 2

Post » Thu Jan 30, 2014 8:36 am

Hey everyone!

How do I adjust the camera. Specifically, what it focuses on and follows around the screen. I have a platformer game I am working on and I would like to pull the player back a bit so that the user has a wider view of the area he/she is running into.

Thank You,
Stephen
B
56
S
15
G
13
Posts: 826
Reputation: 17,645

Post » Thu Jan 30, 2014 9:20 am

You are probably using the scrollto behaviour right now.

You could keep using that and create a camera-sprite, let's say at player.x+200 pin it to the player and scroll to that.

If you want total controll however using the system scrollto action and changing it values according to the situation is probably a better way.

There is also a third party plugin called magicam, which makes it easier to control the camera.
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 » Thu Jan 30, 2014 10:28 am

Beautiful, thank you! I had forgotten about the Scroll To behavior. Duh!
B
56
S
15
G
13
Posts: 826
Reputation: 17,645


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests