Music Help

Discussion in 'How Can I...?' started by patostar, Jul 5, 2019.

  1. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    444
    Likes Received:
    77
    I want to play just one music file for all the game, except game over menu it has another music, for example I put the music on main screen menu, when I go to settings and then to main menu again the music starts from the beginning which I don't want, how do I make the music continuous?
     
    Jaro likes this.
  2. viking

    viking Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    130
    Likes Received:
    54
    Hello
    You can create a new menu with your music before your game world.
    Put event observer with 0 sec redirect
    & Redirect to your game world.
    Best to you
     
    patostar and Jaro like this.
  3. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    444
    Likes Received:
    77
    Wow! thanks a lot my friend, it finally works the way I want, even after the game over music plays the main music plays later again :)
     
    Jaro likes this.
  4. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    444
    Likes Received:
    77
    Oh no! It doesnt work, it works well in the beginning but later when I quit playing and go back to main menu its music stops!
     
    Jaro likes this.
  5. Jaro

    Jaro Avid Boxer

    Joined:
    Sep 21, 2018
    Messages:
    187
    Likes Received:
    47
    @patostar You cant do this with this configuration. You have to connect screen settings to the next screen which is next to the main menu. Then you will have a sound looped for the whole game. OR (this is the only option you need) connect your sound to the start screen. Then you will have what you need. If you want to have silent on start screen at the beginning of the sound path, add the silence path. This path must be as long as loading the game on start screen (3, 5 , 10 sec maybe ).
     
    Last edited: Jul 5, 2019
    patostar likes this.
  6. viking

    viking Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    130
    Likes Received:
    54
    Hi, This could be a very old Buildbox bug
    The sound is muted when you leave your app and come back later.
    Best to u
     
    Jaro and patostar like this.
  7. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    444
    Likes Received:
    77
    I will give it a try, thanks a lot, but it's annoying when the music stops when the character dies because I have a game over music.
     
    Jaro likes this.
  8. Jaro

    Jaro Avid Boxer

    Joined:
    Sep 21, 2018
    Messages:
    187
    Likes Received:
    47
    You can’t use two sound tracks at the same time in BB. You can simultaneously play music and sounds. You can opt out of Game over screen music and apply music (sound) when the actor dies with the raised value of game over delay.
     
    Last edited: Jul 6, 2019
    patostar likes this.
  9. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    444
    Likes Received:
    77
    Yes I understand that, but anyways, I have music now on game over screen and the main music on main menu, not 100% what I wanted but it's cool now.
     
    Jaro likes this.

Share This Page