Is there anyway to change the flash behavior color

Get help using Construct 2

Post » Fri Nov 01, 2013 3:37 pm

Hi everyone. The flash behavior is great but instead of it flashing white, I need it to flash red. Anyway to do this?

Thanks
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Fri Nov 01, 2013 3:50 pm

There isn't any way to change the flash colour unless you modify the java script(coding) of the program.

what you can do is add the tint effect to your character and change the redness of it to 255 and then in your event add an event that disables the effect at the start of the layout, and when ever you want him to flash just add the action:

set effect enabled
wait 0.5 seconds
set effect disabled
wait 0.5 seconds
set effect enabled
wait 0.5 seconds
set effect disabled
wait 0.5 seconds

and that shall make your character flash
B
8
S
2
Posts: 15
Reputation: 630

Post » Fri Nov 01, 2013 3:56 pm

Thanks Chris. Actually I'm trying to make the background flash from what it is to a red tinted version then back to show the damage being taken.
B
10
S
3
Posts: 113
Reputation: 1,191

Post » Fri Nov 01, 2013 4:07 pm

I figured a work around. I set up three layers 1st a completely red background, 2nd the flashing background, third the sprites.

This way when the second layer flashed the first layer (red) shows through.
B
10
S
3
Posts: 113
Reputation: 1,191


Return to How do I....?

Who is online

Users browsing this forum: chrisinfinger, Google [Bot], YoHoho and 15 guests