Smooth scaling

Get help using Construct 2

Post » Sat Jun 16, 2012 11:51 am

How make smooth object scaling, 1 (normal size) to 2 (double size)? I want smooth motion between 1 and 2 sizes (like animate). Somehow with DT, but how?
B
10
S
3
Posts: 8
Reputation: 2,163

Post » Sat Jun 16, 2012 12:10 pm

i wish you read this before asking ^^ :
http://www.scirra.com/forum/how-do-ifrequently-asked-questions_topic45416.html
there is a topic about your problem...

anyway the answer you can use lerp(the size,the next size,dt*(speed))
or you can use global variable that screen always follow that global and when you click button it will make gruop active , the gruop has everytick add one to that global.
B
45
S
15
G
6
Posts: 795
Reputation: 11,935


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests