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
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Fri May 10, 2013 12:09 pm

Or you can use existing shaders for the layout/layer.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

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
90
S
32
G
14
Posts: 935
Reputation: 14,540

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: Kagubro and 22 guests