help with audio between scenes

I know how to start sound or the background music but how can i get the music to play between the scenes as in, i’m at the menu scene and i change the scene using director to the level select scene how can i get the music to continue. And then when i change the scene to level one the music is still playing. any suggestions? [import]uid: 113909 topic_id: 22450 reply_id: 322450[/import]

If you start it on the first screen it should continue playing when you change scenes; what’s happening currently? [import]uid: 52491 topic_id: 22450 reply_id: 89547[/import]

let me test a couple more things, i’ll get back to you.

thanks
[import]uid: 113909 topic_id: 22450 reply_id: 89638[/import]

ok i’ve got it to work! well mostly, i just did a quick play audio and but when i go back to that scene it plays the music again while the other is playing but a simple function can fix that, thanks i guess :slight_smile:
[import]uid: 113909 topic_id: 22450 reply_id: 89640[/import]

That is true - although if you are using director you could start playing the music in main.lua rather than menu.lua (or whatever your first scene is after main).

That or yes, a simple function.

Peach :slight_smile: [import]uid: 52491 topic_id: 22450 reply_id: 89783[/import]