how can i make a sound on/off button?

Discussion in 'How Can I...?' started by epicman121, Dec 8, 2015.

  1. epicman121

    epicman121 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    37
    Likes Received:
    2
    when i creat a sound on/off button and touch the sound off the music stops but when i touch the sound on button it wont turn on again? plz help me!
     
  2. netkomm

    netkomm Avid Boxer

    Joined:
    Nov 23, 2015
    Messages:
    274
    Likes Received:
    143
    you can put 2 buttons:: one with "sound on" and another with "sound off" in the menu. Only the one that can be used will be visualized.

    If you overlap them at the same coordinates you will have a fully working on/off effect
     
    email and trudnai like this.
  3. epicman121

    epicman121 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    37
    Likes Received:
    2
    i allready have those to buttons but when start the game the music Plays and i have the two buttons in the pause screen when i press the sound off button the music stops when i preses the sound on button the sound never Goes on..... Plz let me know what i'm doing wrong
     
  4. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    This is a glitch. Sometimes it stops only the FX and not the music or it completely stops. It only happens in the pause screen. No problem in the main menu or the game over screen.
     
  5. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    I noticed this myself and reported here but yet to get a response. Looks like a bug
     
  6. epicman121

    epicman121 Boxer

    Joined:
    Nov 16, 2015
    Messages:
    37
    Likes Received:
    2
    so i can't do anything about it? :( so the only option is to add music to my game without a sound off button?
     
  7. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    No just remove it from pause screen :D
     

Share This Page