Hi,
Having some issues with music.
We play the first music in the first collection.
How can we stop the above music from playing in a different collections?
Thanks!
J.
Hi,
Having some issues with music.
We play the first music in the first collection.
How can we stop the above music from playing in a different collections?
Thanks!
J.
Did you try stopping the music before changing collection?
Or use message passing to communicate between them.
Should I just keep all music and sound effects in the main collection,
and message the main collection(from other collections) to start & stop music and play sound effects?
Thanks!
J.
Ok, above is correct - got it working…
J.
If you need to be able to play music everywhere in your game then yes, put the music in some kind of shared/main collection. If you have different musical tracks like in the menu or in-game or boss battle then put the music in the correct collection and start and stop music when the collection get loaded/unloaded. Having many musical tracks and putting them all in a main collection will have a negative impact on memory requirements.