(SOLVED) How do I USE SILENT MODE?

Get help using Construct 2

Post » Mon Nov 23, 2015 7:22 pm

hi in my app i added an icon whe nthe player click on it it set silent the music+ sounds, BUT ITS NOT WORKING....
Image
Last edited by imothep85 on Mon Nov 23, 2015 8:40 pm, edited 1 time in total.
B
41
S
16
G
7
Posts: 1,750
Reputation: 9,963

Post » Mon Nov 23, 2015 7:37 pm

For the last event, you have to add a condition "Else".
Construct 2 events work from the top to the bottom.
So when you click the button, and if Sound_var = 1, it changes it to 0. -> This means the next line of code is now true, because Sound_var now equals 0.
Else condition, on the other hand, runs the second part only if the first part wasn't true, and vice-versa.
B
32
S
7
G
4
Posts: 400
Reputation: 4,595

Post » Mon Nov 23, 2015 7:59 pm

i get the "Else" (not valid here)
B
41
S
16
G
7
Posts: 1,750
Reputation: 9,963

Post » Mon Nov 23, 2015 8:06 pm

Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Mon Nov 23, 2015 8:40 pm

THANKS korbaach :D
B
41
S
16
G
7
Posts: 1,750
Reputation: 9,963


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests