background music

Just started using Construct 2? Post your questions here

Post » Sun Jul 13, 2014 10:38 pm

why the background music can't play continue when the game start? the music only play when start of layout. i wanna make my game have a backsound :( please help me
B
3
Posts: 3
Reputation: 179

Post » Mon Jul 14, 2014 1:36 pm

Did you set it to loop.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Tue Jul 15, 2014 5:28 am

I already set it to loop, but the music still can't run continue
B
3
Posts: 3
Reputation: 179

Post » Tue Jul 15, 2014 5:30 am

A0Nasser wrote:Did you set it to loop.

I already set it to loop, but the music still can't run continue
B
3
Posts: 3
Reputation: 179

Post » Tue Jul 15, 2014 11:13 am

Can you upload a capx?
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Tue Jul 15, 2014 2:10 pm

Example capx in r175 (beta version, link at the bottom of the page if required).

Rely on the audio tags.
"On start of layout" make sure the audio tag isn't already playing. If it isn't, then play the audio file tagging it with the correct name so that the "tag test" stays relevant through the project.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
295
S
118
G
96
Posts: 7,327
Reputation: 71,246

Post » Thu Mar 17, 2016 4:52 pm

@Kyatric Thank you for this - was looking for how to do this correctly and as usual the capx is right to the point and very useful!

(PS. why the OP cannot say thank you is beyond me, but "you reap what you sow")

"To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment."

Ralph Waldo Emerson
B
10
S
2
G
1
Posts: 56
Reputation: 1,300

Post » Thu Mar 17, 2016 6:28 pm

@BigFrank: Thanks for the kind words.
It's possible the OP did not even saw it after all, it is an old topic and the person does not seem to have connected to its account in a while.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
295
S
118
G
96
Posts: 7,327
Reputation: 71,246


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest