How do I get a sound to loop through layouts

Get help using Construct 2

Post » Sat May 17, 2014 7:50 pm

I want to get a sound to loop through multiple layouts, as in to still be playing when it changes layouts
B
6
S
1
Posts: 69
Reputation: 643

Post » Sat May 17, 2014 8:18 pm

The Audio object is petty common and your going to be using it a lot. Let me encourage you read the audio section of the manual. It covers everything. Background music should be placed in the music folder for a number of reasons you find in the manual. Set the music to looping. It will continue play when you change layouts.

Good Luck
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Sun May 18, 2014 12:03 am

Set it to looping and dont stop it. If you are using a OnStartOfLayout to play music then just add a subevent to see if the music is already playing.
B
56
S
15
G
13
Posts: 826
Reputation: 17,675


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests