How do I make an object effect inactive by default?

Get help using Construct 2

Post » Wed Apr 30, 2014 11:14 am

Hi.
I'm using a Set color effect (255,255,255) to make my enemies blink when the player hit them.
However, this effect is active by default and I just want to activate it when the enemies are hit.

Actually, I've made this event : "on start of layout -> enemy : disable effect "hit".

Is there any way to set this effect inactive by default without using the event sheet?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Wed Apr 30, 2014 12:39 pm

why don't use the flash behavior instead?
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Wed Apr 30, 2014 12:55 pm

I want the sprite to be white when hit, not invisible.
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Wed Apr 30, 2014 1:03 pm

uok, my bad :D that's actually pretty good though =P

But not every effect can be managed in the project properties. others, like "exposure" that would effectively render your objects white, can be set to 0 on project properties and then manually to a big number on a trigger in the events.

Keep in mind, however, some older mobile devices can't run webGL, which every effect needs to run.
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Wed Apr 30, 2014 2:33 pm

I tried exposure but it doesn't fit at is keep blacks black.
I tried brightness and it seems to work, with a default value of 100.

Thank you :)
B
12
S
7
G
7
Posts: 450
Reputation: 4,276


Return to How do I....?

Who is online

Users browsing this forum: adventurist, Blendi1223, PROxMTswatTR, Yahoo [Bot] and 32 guests