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
99
S
30
G
11
Posts: 1,550
Reputation: 21,378

Post » Fri May 10, 2013 12:09 pm

Or you can use existing shaders for the layout/layer.
ImageImageImageImage
B
153
S
60
G
40
Posts: 2,574
Reputation: 33,698

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
96
S
34
G
16
Posts: 940
Reputation: 15,905

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: gumshoe2029 and 7 guests