Stop The Background Music When The Game Starts

Discussion in 'How Can I...?' started by Rodrigo Schneider, Jun 5, 2020.

  1. Rodrigo Schneider

    Rodrigo Schneider Boxer

    Joined:
    May 21, 2020
    Messages:
    15
    Likes Received:
    1
    I'm making a game where the first screen (where the Play button has) must play a background song, and when the player touches the Play button, the music has to stop. I just want the music to play on that first screen, but I can't do that.

    I've tried to put the background music only on the First Screen UI, but the music keeps playing throughout the game.

    Could someone help me?

    Thanks a lot!
     
  2. JSeeger6

    JSeeger6 Avid Boxer

    Joined:
    Aug 29, 2018
    Messages:
    100
    Likes Received:
    12
    Make an "empty" mp3 - a sound file with no sound playing, could be just half a second long - and put that in all the UI's where you don't want background music playing!
     
    Rodrigo Schneider likes this.
  3. Rodrigo Schneider

    Rodrigo Schneider Boxer

    Joined:
    May 21, 2020
    Messages:
    15
    Likes Received:
    1
    Thank you very much for the idea. That way the empty mp3 will replace the background music.
     
  4. Reginaldthy

    Reginaldthy Boxer

    Joined:
    Jun 22, 2020
    Messages:
    1
    Likes Received:
    0
    You can adjust the sound mode on your device.
    You can refer to many different sounds at the klingeltöne kostenlos address that provides free phone ringtones
     
    Last edited: Jul 9, 2020

Share This Page