On Colision -> Fade out

Get help using Construct 2

Post » Thu Jan 12, 2012 9:09 pm

When the player collects some bonus elements, the bonus should fade out. I dont know how to do it. I need something like:

On Colision -> Start FadeOut
B
14
S
2
G
6
Posts: 110
Reputation: 3,849

Post » Thu Jan 12, 2012 9:49 pm

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Thu Jan 12, 2012 10:59 pm

This works ok but it's somewhat ugly (not your fault Kyatric :D). Wouldn't a simple set active action or something resolve this more cleanly ? In fact there should be an activate/deactivate in all behaviors.Kiyoshi2012-01-12 22:59:59
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

Post » Thu Jan 12, 2012 11:20 pm

yeah the fade behavior is a bit incomplete, lack that activate/deactivate. you can't just stop the object from doing his fading .... oh... maybe timescale?


indeed... works neatly :D

neatFade.capx

Also @Kyat
You don't need to destroy... behavior does that for you (:
Last edited by Yann on Sun Sep 14, 2014 10:10 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Fri Jan 13, 2012 12:20 am

Well I'm not familiar with the fade behavior. As stated above it feels a bit incomplete. So far I've handled all my fades in events groups.

Nice to see a 2 events solution.Kyatric2012-01-13 00:20:49
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Fri Jan 13, 2012 11:00 am

Thank you guys!
@yann: I have to paint you a new picture. :-)
B
14
S
2
G
6
Posts: 110
Reputation: 3,849

Post » Wed Jan 25, 2012 1:11 pm

Hey, its me again. :-)

Is it possibel, that the fade behavior doesnt work with webfonts?
B
14
S
2
G
6
Posts: 110
Reputation: 3,849

Post » Wed Jan 25, 2012 2:49 pm

I've just made a quick try and it worked as expected.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Wed Jan 25, 2012 3:29 pm

Damn. Thank you Kyratic. I should make such test by myself before posting here. Shame on me.

Now I have to find a new bug in my game.
B
14
S
2
G
6
Posts: 110
Reputation: 3,849

Post » Wed Jan 25, 2012 4:34 pm

That's where the fun lies ^^
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests