How do I make a (simple) scale size animation?

Get help using Construct 2

Post » Fri Aug 22, 2014 11:31 am

I need to create a simple animation, moving a sprite while it decreases in size from 300 to 200 pixels. I am using the moveto plugin to make the movement and I do not know how to reduce sprite gradually, simultaneously. Could anyone give me a hand? Thanks.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Fri Aug 22, 2014 2:31 pm

the moveto plugin has the condition ismoving..

so you can scale during the ismoving period..

I guess getting the distance between start point and endpoint and setting the scale according to the percentage moved while ismoving would do the trick..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Aug 22, 2014 6:25 pm

Hi @LittleStain

Thanks for the suggestion. I understand that is possible, but I need some help to implement it. Could you help me with a pseudocode?

Thanks anyway.
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Sun Aug 24, 2014 10:39 am

Up
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051

Post » Tue Aug 26, 2014 7:36 pm

Any help?
B
74
S
13
G
4
Posts: 1,005
Reputation: 8,051


Return to How do I....?

Who is online

Users browsing this forum: adventurist, Artcadev, Blendi1223, PROxMTswatTR and 27 guests