Fade out

Get help using Construct 2

Post » Sun Jun 23, 2013 8:47 am

How would I make it so a path will fade away at the start of the layout. I want to make a game where the player needs to remember the path after it fades and reach the goal without straying from the path.
B
26
S
8
G
4
Posts: 68
Reputation: 4,424

Post » Sun Jun 23, 2013 9:38 am

Is the path a sprite object or even a layer? I'm not familiar with what objects DONT have Opacity, but I think most do.

So basically set up an event
System->On Start of Layout
System->Every Tick
Action: YourPathObject->SetOpacity to YourPathObject.Opacity-0.5

Increase the 0.5 to make it happen faster, decrease it to make it slower.
Feel free to fine tune with 0.559, 0.3461, ect.

If you find this cumbersome, I recommend looking into a plugin called iTween you can find here on these forums that has a built in opacity tween over time.AnthonyB282013-06-23 09:39:58
B
10
S
3
G
3
Posts: 47
Reputation: 2,666


Return to How do I....?

Who is online

Users browsing this forum: Zzarkz and 19 guests