How do I camera zoom in or out depending on players position

Get help using Construct 2

Post » Fri Jul 18, 2014 6:50 pm

I'm currently working on a 4 player arena game and have been suggested to look into a camera similar to Smash Bros that keeps players on screen and zooms according to their position.

Further they are from each other the further out and more of the screen you see.

The closer they are the more zoomed in it is.

Is there a way to do this without a camera plugin?
B
7
S
2
Posts: 18
Reputation: 555

Post » Sat Jul 19, 2014 2:01 am

On Some Condition > System > Set Layout Scale > 3

1 = Normal
2 =2x
3 =3x
etc..
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,293

Post » Sat Jul 19, 2014 2:04 am

@indiegrimes
You need to use variable and lerp, Check this example :
You do not have the required permissions to view the files attached to this post.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], plinkie, R0J0hound and 8 guests