On and OFF Music

Discussion and feedback on Construct 2

Post » Tue Sep 10, 2013 3:56 pm

Guys how to make On and OFF music with using save and load in a local storage
B
5
S
2
G
3
Posts: 53
Reputation: 2,468

Post » Tue Sep 10, 2013 4:17 pm

pls help me guys
B
5
S
2
G
3
Posts: 53
Reputation: 2,468

Post » Wed Sep 11, 2013 7:42 am

@jhonnel09,

You need to create a global variable, to determine whether you music is in its on/off state (i.e. on=0, off=1).

You can save your variable using WebStorage.

When your project starts, check to see if the variable is 0 or 1, and use this to determine whether the music should be on or off!

Hope that helps.Blacksmith2013-09-11 07:43:25
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Sep 11, 2013 12:52 pm

ill try it later takes blacksmith
B
5
S
2
G
3
Posts: 53
Reputation: 2,468


Return to Construct 2 General

Who is online

Users browsing this forum: tarek2 and 6 guests