How To Stop Sound?

Discussion in 'How Can I...?' started by viimp, Nov 15, 2016.

  1. viimp

    viimp Boxer

    Joined:
    Oct 5, 2015
    Messages:
    34
    Likes Received:
    8
    I have a UI with different buttons with sounds.
    How can I stop playing a sound #1 if I pressed a button with a sound #2?
     
  2. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    I don't think so that is possible, BB is not a music player .
    maybe if you say about what it's your idea, maybe we find some hack tricks for you.
     
  3. viimp

    viimp Boxer

    Joined:
    Oct 5, 2015
    Messages:
    34
    Likes Received:
    8
    So it is a simple game for kids.
    There are 12 buttons (12 animals) on a UI screen. You tap a button #1 and you hear a dog barking. Tap a button #2 and kitty is meowing. And so on.
    But the dog sound is 4 sec. and if you push the cat button, a dog is still berking. And if you tap several buttons at a time (which my kid does), then there is a huge mess!!!

    And I don't know how to make this sound stop.

    Please, need help!
     
  4. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    Last edited: Nov 16, 2016
    deenasty and viimp like this.
  5. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    It stops the sound when you tap a second time but doesn't play the new sound. So when you tap on the dog it plays the sound but when you tap immediately on the sheep it does stop the dog sound but doesn't start the sheep sound... hmmmm. What are the unlock buttons for?

    Update: ok, I understood what the unlock buttons are for. Great thinking. Still, why does the sound stop when you tap a second time the screen? Magic?
     
  6. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    @Christoph you mean, when you start to play one sound, to play randomly sound after sound ?
    in `UI` menu is there some `action` to stop the sound

    I don't know how is the BB you donwload it, but in my BB when i press dog it start immediately,then i press the sheep and start immediately the sound
     
    Last edited: Nov 17, 2016
  7. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    I mean that when you click on one animal the other stops. So only one animal is present at the time. This I think has been the question from the OP.
     
    blad300 likes this.
  8. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    complicated but not impossible :)
     
    Christoph likes this.
  9. viimp

    viimp Boxer

    Joined:
    Oct 5, 2015
    Messages:
    34
    Likes Received:
    8
    Oh, blad300 you really did it!!! Nice!!!! Thank you so much!
    Incredible!

    I got why you have used unlocked buttons, but I don't understand what does "After play sound" UI do.
    Could you, please, explain?

    Thank you, one more time!
     
    Last edited: Nov 25, 2016
  10. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    There is an animation that stop all the sounds.
    The sound is 'enemy' and the action kill all sounds
     
  11. ON20

    ON20 Boxer

    Joined:
    Sep 18, 2018
    Messages:
    2
    Likes Received:
    0
    @blad300 Hi, I was looking a solution for this issue too, the link you share of video and BB file are expired, can you share again.
    Thank you.
     
  12. Shrek

    Shrek Boxer

    Joined:
    Jan 8, 2019
    Messages:
    18
    Likes Received:
    1
    I, too would like to have that link. Would love to study it firsthand. :)
     

Share This Page