License from €75 Log in
DE EN FR ES IT CZ

What is the best approach background music with continue music from previous scene?

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 9 years ago
    I'm looking into background music in my game and am using the 'continue music from previous scene' checkbox. This works fine if I go in one direction, but when I encounter a scene with new background music and go back the same path as I came, all the scenes with the 'continue music from previous scene' now play the other background music. This is ofcourse to be expected since it keeps playing the last triggered music but I would like it to start playing the other background music when crossing the border. What is the best way to do this? Can I do it in editor? or does it need to be done with LUA?
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 9 years ago
    The best approach for me is never to use the 'Continue music from previous scene' tick box. Always set the music to be played explicitly by selecting the proper file and it will do the job; VS sees that the file is the same and continues the same music anyway. Otherwise you will always have issues with menu scenes etc.
  4. · 9 years ago
    Don't use the continue music scene system at all. It's pretty much useless outside of menu scenes. It will always play the music that was playing in the previous scene that you were just on - providing there was music playing. Also if you load a savegame & you load onto a scene where you had that option enabled then it will play the music that was playing in the savegame menu or no music at all if none was playing.

    Instead, just manually link the music file for each scene that you want to play the same music & when you change the scene it will automatically check if the music file is the same & if it is then it will just continue to play without restarting.
  5. · 9 years ago
    Haha, ok. I'll just link it to all the scenes then. 

    Tnx both of you!

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?