Day to night cycle

Get help using Construct 2

Post » Sun Aug 05, 2012 7:04 pm

Has anyone tried it?

I'm not asking for a paragraph on how this would be done, im just wondering if this is possible yet without the color mask feature that construct 1 had.
B
13
S
3
G
1
Posts: 44
Reputation: 1,152

Post » Sun Aug 05, 2012 7:44 pm

You could use a black sprite that covers the screen and change it's opacity. For a smooth transition you could try using the sine behavior or the lerp expression.
B
79
S
24
G
54
Posts: 4,749
Reputation: 40,761

Post » Sun Aug 05, 2012 7:45 pm

For a full control over the colors, I guess you'll have to wait for GLshaders.

But you could very well cheat your way out with a black sprite on a top layer, covering the whole play field, and having an opacity ranging from 0 (full day) to 50 (full night) for example.

Edit: Rahhh ninja'd ^^Kyatric2012-08-05 19:45:56
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Aug 05, 2012 7:49 pm

lol, its okay @kyatric you went more into detail than @R0J0hound, but thanks guys
B
13
S
3
G
1
Posts: 44
Reputation: 1,152

Post » Sun Aug 05, 2012 7:52 pm

Day & Night cycles are always implemented or planned as..

Night - Darken the Screen
Day - Normal

But we shouldn't forget Dusk & Dawn, the tints of orange and purple you get at certain times between Day and Night etc.

Such a system is going to be fun to do once the WebGL shaders are in!
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Sun Aug 05, 2012 7:59 pm

@Rory Yeah, the middle transition will probably just have to be gray as of now.
B
13
S
3
G
1
Posts: 44
Reputation: 1,152

Post » Mon Aug 06, 2012 4:03 am

Actually you can try adding a dark orange additive layer over it.
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Mon Aug 06, 2012 9:04 am

B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Mon Aug 06, 2012 9:19 am

Lol... same old @Mipey doing amazing things in construct 2, thank you again!Kid4lynn2012-08-06 09:19:38
B
13
S
3
G
1
Posts: 44
Reputation: 1,152

Post » Mon Aug 06, 2012 9:44 am

Nice ! Thanks ( and a link in How do I FAQ ? )
B
40
S
9
G
5
Posts: 127
Reputation: 6,609

Next

Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt, Unconnected and 29 guests