How do every time you click change sound animation

Get help using Construct 2

Post » Wed Jul 27, 2016 2:46 pm

i have on left button clicked on sound ( its a sound icon ) set animation to soundoff play from beggining but what i want is that every time you click it changes to sound on or off and how to disable all the sound when animation soundoff is playing ?
B
5
S
1
Posts: 5
Reputation: 335

Post » Wed Jul 27, 2016 3:04 pm

Hi, Nitetv!
You can make something like this:

On clicked
If is playing "on" - Set animation to "off"
Else - Set animation to "on"

Is animation "on" playing > Set master volume to "0"
Else - Set master volume to "any value you want"

I would really appreciate if you can vote for my game on Steam Greenlight! :)
https://steamcommunity.com/sharedfiles/ ... =730349005
Image
B
40
S
14
G
2
Posts: 121
Reputation: 3,501

Post » Wed Jul 27, 2016 3:06 pm

Message: Nitetv can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hello , i was able make it right by doing something like in this tutorial https://www.scirra.com/tutorials/158/ve ... two-states
B
5
S
1
Posts: 5
Reputation: 335

Post » Wed Jul 27, 2016 3:15 pm

where are you from
B
5
S
1
Posts: 5
Reputation: 335

Post » Wed Jul 27, 2016 3:37 pm

Sorry, i can't open the link you sended, i think you need a higher reputation to post these kind of content. I'm from Brazil.
Image
B
40
S
14
G
2
Posts: 121
Reputation: 3,501


Return to How do I....?

Who is online

Users browsing this forum: guannstar, marcinkowski, Yahoo [Bot] and 17 guests