Layout scale/ zooming out , slowly.

Get help using Construct 2

Post » Fri Nov 01, 2013 11:17 pm

Manage to do the layout scale like zooming out if the hero talks to another npc, but how to do zooming out slowly? any help?


Like hero > in collision > object chang cam > layout scale 0.50

but its instant want to do it slowly zooming out.

Thanks any help will do ;)
B
11
S
2
Posts: 14
Reputation: 683

Post » Sat Nov 02, 2013 12:18 am

Didnt try it but maybe for every tick (or every 0.01 seconds) you zoom out a bit?
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Sat Nov 02, 2013 3:36 am

The lerp expression might help you there. from the manual: "lerp(a, b, x) Linear interpolation of a to b by x. Calculates a + x * (b - a)."
https://www.scirra.com/manual/126/system-expressions
B
35
S
9
G
4
Posts: 201
Reputation: 5,182

Post » Sat Nov 02, 2013 3:43 am

Thanks guys yay!
B
11
S
2
Posts: 14
Reputation: 683


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 31 guests