Sine (size) varying from 100% to 0%

Get help using Construct 2

Post » Thu May 26, 2016 9:48 am

Hi,

I would like to add a sine (size) behavior to an object so that its size varies from 0% to 100%. Is there any way to do this?

Up to my knowledge sine (size) always consider that the normal size is 100%, so I can make it vary from 0% to 200% but then the quality gets too low. Setting the scale to 0.5 before activating the sine behavior doesn't help either. Any idea how this could be achieved?

Thanks!
B
23
S
5
G
1
Posts: 333
Reputation: 2,402

Post » Thu May 26, 2016 11:07 am

You have to set the size to the half in Object types properties, then it should work. If you enable/disable the sine behavior in the game and want that the object has the 'normal' size with sine-behavior disabled put 'set scale to 1' in start of Layout
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Thu May 26, 2016 12:16 pm

Works perfectly! Thanks a lot!
B
23
S
5
G
1
Posts: 333
Reputation: 2,402


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 1 guest