How do I Fade object reverse

Get help using Construct 2

Post » Fri Oct 31, 2014 5:40 pm

Hi, how can i reverse the fade effect? When my object is not overlapping , i need to get it back to visible?
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Fri Oct 31, 2014 6:28 pm

I haven't used the behavior before, but I do fades like this normally:

Code: Select all
If Object is Overlapping     |  Set Opacity of Object to Object.Opacity - 1000*dt
If Object is Not Overlapping |  Set Opacity of Object to Object.Opacity + 1000*dt

The first line says that if the object overlaps, keep subtracting from its opacity (fade out). The second line does the opposite. It keeps adding to its opacity (fade in). Replace 1000 with the speed of your fade.
Image
B
10
S
3
G
2
Posts: 196
Reputation: 2,053

Post » Fri Oct 31, 2014 6:30 pm

great thank you
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Fri Oct 31, 2014 6:46 pm

uff problem here, i cannot inverse the action. It is greyed out. What is happenening? cannot do If Object is Not Overlapping
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Fri Oct 31, 2014 7:01 pm

....
You do not have the required permissions to view the files attached to this post.
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Fri Oct 31, 2014 7:22 pm

thank you, :-)
B
11
S
3
G
1
Posts: 419
Reputation: 1,782


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 10 guests