Suggestion: Stop all sounds

Discussion and feedback on Construct 2

Post » Thu Jun 06, 2013 11:27 am

I'm working on a project with lot's of layouts that all have their own audio-theme. Right now I have to stop all sounds individually when changing layouts. It would be nice to have a 'stop all currently playing audio' function that you could call when changing layouts. Or is there an easier way, that I have missed?
B
5
Posts: 18
Reputation: 511

Post » Thu Jun 06, 2013 11:37 am

without C2 launched, the only solution i see is to toggle Silent mode twice (so it should stop all sounds)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
43
S
18
G
18
Posts: 2,106
Reputation: 16,436

Post » Sun Jun 09, 2013 1:31 am

I would just use the audio stop function with the tag field set to "". That should stop all currently playing sounds.
B
21
S
8
G
5
Posts: 89
Reputation: 6,017

Post » Mon Jun 10, 2013 1:11 pm

@Aphrodite: The Silent mode only seems to mute the audio. So it plays on just as soon as you toggle silent mode off again.

@rabidsheep: In my experience this only stops the last triggered sound.

B
5
Posts: 18
Reputation: 511

Post » Mon Jun 10, 2013 4:07 pm

@RuneS then try pairing it with something like "is sound playing"? Maybe you could string the two together until all of the sounds have stopped?
B
21
S
8
G
5
Posts: 89
Reputation: 6,017


Return to Construct 2 General

Who is online

Users browsing this forum: Lasmelan and 7 guests