Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: merde10 on July 01, 2016, 07:53:29 AM

Title: Music on level load
Post by: merde10 on July 01, 2016, 07:53:29 AM
i have a music track that loops and i use it for my game.

It starts in my main menu and loop.

The music continue from last point when I load into the next scene.

But when i am in my game over scene, and i go back to my main menu, the track is still playing, but another one start. So i have 2 audio music in my main menu.

How can i block the second audio?

thanks :)
Title: Re: Music on level load
Post by: mdotstrange on July 01, 2016, 09:13:14 AM
You can use the Audio Stop action before your Audio Play so it will stop the current music playing.
Title: Re: Music on level load
Post by: merde10 on July 02, 2016, 07:22:14 AM
So what do i want, is to play my music track when i start my game (the track loops), but when i go back into my main menu, i don't want to add another music track.

How can i fix that?
Title: Re: Music on level load
Post by: merde10 on July 03, 2016, 01:26:24 PM
what i want is like starting my music track to play (and loop), when my application start.

Can i do that in playmaker?