MAJOR CHALLENGE (formula)

Simple Gamer ArtsSimple Gamer Arts Member, PRO Posts: 305
edited April 2018 in Working with GS (Mac)

Ok, so I have my flying HERO actor in a platform game. I'm NOT using "CONTROL CAMERA" behavior; so in other words I constrained the camera size to a moving actor to have access to a zoom effect and all that nice stuff and it works beautifully. Thing is, I want to create a zoom out effect in accordance to the distance my HERO actor is flying out of the margins.

my smallest camera size or default camera size is:
CAMERA SIZE X: 2100
CAMERA SIZE Y: 1181.6

biggest camera size:
CAMERA SIZE X: 6000
CAMERA SIZE Y: 3376

How can I formulate (zoom-out) the camera's X and Y size in perfect proportion in accordance to my HERO's Y position?

Comments

Sign In or Register to comment.