How do I make a Dark/Night Mode?

Get help using Construct 2

Post » Tue May 17, 2016 9:45 am

Hey all, i have made a Game. Now i would make a Dark and Night Mode. Any1 knows how can i make this?
I would have a Moon and Sun Icon and if i click on it the BG and 1 Sprite should be change.

Hope any1 can help me =)
B
22
S
5
G
3
Posts: 44
Reputation: 2,807

Post » Tue May 17, 2016 12:06 pm

Easy here

http://www24.zippyshare.com/v/2zY3Jtpu/file.html

Click on Night button to make it night , click on day button to make it day.
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 682
Reputation: 16,645

Post » Tue May 17, 2016 12:19 pm

Cool very Simple =) and how can i change the Sprite on clicked? I mean if i click sun the bg would change sun and the icon should change to moon
B
22
S
5
G
3
Posts: 44
Reputation: 2,807

Post » Tue May 17, 2016 12:50 pm

Ok so you want only one button to change the weather?
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 682
Reputation: 16,645

Post » Tue May 17, 2016 12:54 pm

Cub3D wrote:Cool very Simple =) and how can i change the Sprite on clicked? I mean if i click sun the bg would change sun and the icon should change to moon


Just do onclick on the sprite and use the same code I did for the buttons.
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 682
Reputation: 16,645

Post » Tue May 17, 2016 12:59 pm

Can u give me an Example Pls?
B
22
S
5
G
3
Posts: 44
Reputation: 2,807


Return to How do I....?

Who is online

Users browsing this forum: dop2000, hao102a2 and 36 guests