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
87
S
14
G
9
Posts: 101
Reputation: 9,937

Post » Sun Aug 21, 2011 12:51 pm

The next build (should be out tomorrow) has a "stop" action for Audio!
Scirra Founder
B
362
S
216
G
75
Posts: 23,071
Reputation: 180,354

Post » Sun Aug 21, 2011 4:21 pm

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


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests