On Touch Make A Sound

Discussion in 'How Can I...?' started by eyal, Nov 9, 2016.

  1. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    Hi,

    I would like to do a simple app for my baby where on the screen I will show 10 icons that each on will lead to pictures that you can touch and they make a sound.
    once you go back you can touch again and it will show a different picture with different sound.
    possible ?
     
  2. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    yea it is possible.
    You will need a different UI for each image.
    So on the UI put in your image and character button then have it set to No Action, and add your sound to that button. Done.
    Then all you will need is a button to go back.
     
    blackswan likes this.
  3. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    Thank you for that - so the sound will be heard when touching ?
    And let's say I have 100 images - I need 100 UI's ????
     
  4. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Yea sound will play like that.
    And yes 100 UI's. But you will have no worlds so it should work out well.
     
    eyal likes this.
  5. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    Thank you for that
     
  6. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    How can the back happen if you press the image ? meaning how can the image play sound by itself and upon touch it will go back to the menu ? the emphasise is that it will play sound only once
     
  7. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    I don't want her to need to find the back button
     
  8. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    I tries and here is my problem -

    1. touch the icon - works
    2. touch the image and make a sound - works
    3. go back without a go back button - possible ??
    4. upon touching again The Same icon a new image will appear (like random) - possible ?
     
  9. fez_94

    fez_94 Boxer

    Joined:
    Nov 1, 2016
    Messages:
    19
    Likes Received:
    2
    for point 4 do you want the icon to transform into another random icon (within the same UI)? I would like to know if you could do that.

    But the way I would go around it is just make it that upon pressing the icon you get into other UI by random. It is shown in this tutorial I found in the community (you can see that at the end of the video the user presses the start button and everytime it shows a random UI)
     
    eyal likes this.
  10. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Well now your being tricky, Sounds like a good idea though.
    You could try @fez_94 video he shared and see if that works.
    Im not sure about the return without a button.
    You could use a navigation button for the sound and some sort of animation on the UI Closing. It would have to be long enough so the sound finishes before the animation, otherwise the sound would be playing when at the icon menu UI.
     
  11. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    But how will the pictures will be random ?
    What I was able to do is to add a world with for example 3 random scenes.
    On top in the UI there is a Back button on all of the space without an image.
    BUT

    1. There is no way to make the sound happen only once
    2. There is no way to make it stop when you go back to the main menu so you would here the same voice over and over

    What does this means ? - "You could use a navigation button for the sound"
     
  12. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    Great Idea but doesn't solve -

    1. Random images with sound
    2. Sounds should stop
    3. The way my menu was supposed to work
    3.1 Menu with categories
    3.2 Press a category and you are presented with let's say 10 icons
    3.3 Touch an icon and you are presented each time with a different image and sound (of the same icon - for example 10 different cows)
     
  13. fez_94

    fez_94 Boxer

    Joined:
    Nov 1, 2016
    Messages:
    19
    Likes Received:
    2
    I'm very sorry but I wouldnt know how to get through these kind of things as I just started with bb about a week ago. However I kinda see where you're coming from, I myself would also love to make "games" that are a bit unorthodox to the templates available in this game. Still experimenting but enjoying the possibilities so far.

    But for 3.1 and 3.2 wouldn't that just be basic UI into another UI? Like have the "world1" and insert say 3 'navigation buttons' as your categories. If you click on one (say the cow category) it takes you to World_cow (you would create another world that includes your 10 icons).

    So basically the world_cow is linked to your mainmenu world via the navigation button in your mainmenu world UI.
     
    eyal likes this.
  14. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Let me think about it some more.
     
    eyal likes this.
  15. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    Any idea came to mind @playsgames6666 ?
     
  16. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    sorry, not yet. but i should have a bit of time on the weekend to have a better play around.
    I will see how i go.
     
    eyal and Christoph like this.
  17. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
  18. eyal

    eyal Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    642
    Likes Received:
    121
    This is great and much appreciated but how does it work with this ?

    1. Random images with sound
    2. Sounds should stop
    3. The way my menu was supposed to work
    3.1 Menu with categories
    3.2 Press a category and you are presented with let's say 10 icons
    3.3 Touch an icon and you are presented each time with a different image and sound (of the same icon - for example 10 different cows)
     
  19. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    Did you download it ?
    1 the sound stop it when it's finish, it's not loop .
    when you press back the sound it stop .
    2 . - in first menu you have there animals, you can create for cars, baby songs and so on...
    3.3 - add different worlds,ex :
    World 1 - Animals->Dog 1->Sound 1
    xxxxxxxxxxxxxx->Sheep 1->Sound 1
    xxxxxxxxxxxxxx ->Bird 1->Sound 1
    World 2 - Animals->Dog 2->Sound 2
    xxxxxxxxxxxxxx->Sheep 2->Sound 2
    xxxxxxxxxxxxxx ->Bird 2->Sound 2
    And make this choose it RANDOM !
     

Share This Page