How do I keep song from repeating on layout change.

Get help using Construct 2

Post » Sat Mar 28, 2015 5:02 pm

I have a rather large adventure game, and a song that currently runs as the main theme.

The problem I'm having, is when you leave a layout and enter another one currently, the main them will then start playing again over the top of one that was started in the previous layout.

For some reason, I can't get this to stop, even when using the "trigger once while true" method.

Does anyone have any ideas how to keep this from happening?

thanks!
B
4
Posts: 78
Reputation: 606

Post » Sat Mar 28, 2015 5:18 pm

Add a condition Is sound tag playing.

Example:

On start of layout play theme song with tag "theme", but with a condition Is sound tag "theme" playing. You will have to invert the condition.
Banned User
B
6
S
3
Posts: 105
Reputation: 1,170


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 22 guests