We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

My first project with Verge 3D.

Home Forums Projects My first project with Verge 3D.

Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #24563
    3dguima
    Participant

    My first project with Verge 3D.
    https://3dguima.github.io/3d-Interativo/
    A little help …
    Any tutorial on creating a button that turns the sound on and off?
    I managed to create to play the audio, but I can’t do it like giving a stop.
    Thanks.

    #24566

    Hi,

    a nice start!

    Any tutorial on creating a button that turns the sound on and off?

    see the Teapot Heater demo in your Verge3D distribution where such the button exists

    Chief 3D Verger | LinkedIn | Twitter

    #24571
    3dguima
    Participant

    Thanks Yuri!
    I will study the code.
    One observation is that the presentations are too heavy for me, I don’t understand why.

    #24626
    Andrejus
    Participant

    Very nice :good:

    #24663
    3dguima
    Participant

    Hello @yuri!
    I opened the Teapot Heater project but it is very complex for me at the moment. Excuse me.
    If you have any other tips in a simpler video or project I would appreciate it.
    Thanks for everything.

    #24675

    Sure!

    The most simple way is to just have 2 3D objects which will serve as buttons for playing and pausing the sound.

    A more advanced way is to use just 1 object which will pause/resume playing the sound upon repeated clicks, as described here.

    Finally, you can use an HTML button to do the same.

    Chief 3D Verger | LinkedIn | Twitter

    #24689
    3dguima
    Participant

    “The most simple way is to just have 2 3D objects which will serve as buttons for playing and pausing the sound.”
    – I will see and study!

    “A more advanced way is to use just 1 object which will pause/resume playing the sound upon repeated clicks, as described here.”
    – I had already achieved this effect. I will visit the link and study to see if I did the same or if there is a better way.

    “Finally, you can use an HTML button to do the same.”
    – I will also visit to study and try to learn.

    Thank you, thank you, thank you.
    🍻

    #24758
    3dguima
    Participant

    Thank you @Andrejus! :)

    #24795
    3dguima
    Participant

    A doubt and a help please …
    I understood how to create the system with “PLAY and PAUSE” for music (audio).
    I didn’t find or understand how to create “PLAY and STOP”, where the music stops with the “STOP” button and starts from the beginning if the “PLAY” button is pressed again.

    #24796

    Hi,

    I didn’t find or understand how to create “PLAY and STOP”, where the music stops with the “STOP” button and starts from the beginning if the “PLAY” button is pressed again.

    If you are using puzzles for playing/pausing audio, then you can also utilize the “rewind sound” puzzle: https://www.soft8soft.com/docs/manual/en/puzzles/Sound.html#rewind_sound
    A combination of “pause sound” and “rewind sound” puzzles will make the audio play from the start next time you use “play sound”.

    Co-founder and lead developer at Soft8Soft.

    #24844
    3dguima
    Participant

    Hi, @ivan!
    That was what I was trying to understand.
    I’m not a programmer, I just try to get some code success so I’m sorry for the question if it’s not correct …
    Wouldn’t a specific stop function, such as the play and stop functions, be simpler?
    Thank you for your help.

    #24862

    I’m not a programmer, I just try to get some code success so I’m sorry for the question if it’s not correct …

    Sure, the question is fine, we also have a dedicated forum section for feature requests if you’d like to point out some missing features: Bug Reports and Feature Requests.

    Wouldn’t a specific stop function, such as the play and stop functions, be simpler?

    Yes, it’s definitely simpler. I’m not sure that we’ll add it in the near future, but this can ease the learning curve. Thanks for the suggestion!

    Co-founder and lead developer at Soft8Soft.

    #24941
    Al Sande
    Customer

    Hi, @3dguima..

    I use a simple puzzle and a couple of objects to control the sound. I did a screenshot where you can see the puzzle as well as the sound controls I made in Blender… This plays “tunes.mp3” in the application directory folder (or whatever your filename is).

    I’ve made a couple a bit more complex but with this same logic – but this has all of the basics.

    I’ve attached the image. I hope this helps.

    Al

    #24964
    3dguima
    Participant

    Hi, @al-sande!

    I ill see.
    Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.