Tiny Suggestion: Fade Behavior - Size

Discussion and feedback on Construct 2

Post » Sun May 25, 2014 5:29 pm

The Fade Behavior saves a lot of work But I miss a something: The fade behavior should be able to scale the size.
No problem for me, I have already add this to this Behavior. Just suggested for an official release.
Add: It must work with the physical Behavior.
B
13
S
4
G
1
Posts: 107
Reputation: 1,337

Post » Sun May 25, 2014 5:46 pm

Just lerp the scale.
sprite set scale to lerp(self.scale, 0,self.opacity*0.1)

...oh wait there is no .scale expression.
Perhaps you should ask for that instead.
Image ImageImage
B
168
S
50
G
169
Posts: 8,281
Reputation: 108,191

Post » Sun May 25, 2014 5:57 pm

The .scale expression was asked for before and the main problem was what value should be returned if the object was not uniformly resized? You could just use a instance variable instead though.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests