question about stopping audio

Discussion and feedback on Construct 2

Post » Sun Aug 21, 2011 8:51 am

Having trouble figuring out how to stop a sound that's playing.
example would be a 20second loop of music is triggered on start of layout. but the player dies while the music is playing. the layout reloads "go to layout" other instance of the music starts to play on top of the old.

What's a good way to stop a sound currently playing?

thanks.
B
86
S
14
G
9
Posts: 101
Reputation: 9,912

Post » Sun Aug 21, 2011 12:51 pm

The next build (should be out tomorrow) has a "stop" action for Audio!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Aug 21, 2011 4:21 pm

Awesome thanks for the reply.
B
86
S
14
G
9
Posts: 101
Reputation: 9,912


Return to Construct 2 General

Who is online

Users browsing this forum: doomredmage and 19 guests