Flashing Colored Light

Get help using Construct 2

Post » Thu May 09, 2013 10:58 pm

As the title says im wondering if there was an easy way to make the room/layout flash red. Not like a quick flash, but like in the movies a base is under sever lock down lights are mostly out and like warning lights pulsate.

Anyways thanks for any insight on this in advance.

Yud
B
10
S
1
G
1
Posts: 18
Reputation: 1,067

Post » Fri May 10, 2013 12:19 am

I haven't tried this but I would create a rectangular sprite that is red and that covers the whole screen. I would then set the Opacity to oscillate from 100 (red) to 0 (completely transparent) using the SINE behavior.
B
10
S
3
Posts: 102
Reputation: 1,888

Post » Fri May 10, 2013 1:08 am

Try like farmerdwight said with the EaseTween behavior
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri May 10, 2013 12:09 pm

Or you can use existing shaders for the layout/layer.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,835

Post » Fri May 10, 2013 2:28 pm

Either a rectangle, a shader (would be more performance-demanding), or create a layer with transparency and a background color set. You would need to set transparent to No and then adjust the opacity. It may be neat to apply a shader to that layer, too.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Fri May 10, 2013 4:57 pm

Wow thankyou for all the ideas, Ill give them all a try and see what does better on resources
B
10
S
1
G
1
Posts: 18
Reputation: 1,067


Return to How do I....?

Who is online

Users browsing this forum: NN81, Yahoo [Bot] and 28 guests