(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
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

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: 396
Reputation: 4,587

Post » Mon Nov 23, 2015 7:59 pm

i get the "Else" (not valid here)
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Mon Nov 23, 2015 8:06 pm

Image
Image
B
63
S
23
G
7
Posts: 1,475
Reputation: 10,776

Post » Mon Nov 23, 2015 8:40 pm

THANKS korbaach :D
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests