Play sound in with Puzzles

Home / Topic / Play sound in with Puzzles

Home Forums Puzzles Play sound in with Puzzles

This topic contains 9 replies, has 3 voices, and was last updated by Yuri Kovelenov Yuri Kovelenov 1 day, 6 hours ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2117

    bkumanchik
    Customer

    Is it possible to play sounds with Puzzles?

    #2119

    Sound puzzle was requested before so I’m adding it to our nearest TODO. Will start working on this on Monday.

    Founder & CEO at Soft8Soft. Creator of Blend4Web and Verge3D.

    #2120

    bkumanchik
    Customer

    Thanks Yuri :good:

    #2139

    Emailed the link with the developer preview build for you to check it out. :)

    Attachments:
    You must be logged in to view attached files.

    Founder & CEO at Soft8Soft. Creator of Blend4Web and Verge3D.

    #2143

    xfish3
    Participant

    I, too, like a beginner, still have questions.
    Yuri, could you make a lesson with an example of creating a simple application on Verge3D? At least for example with one cube, which begins to rotate immediately after loading and one monkey, starting to rotate after clicking on it.
    It is very desirable that the lesson be a video. To make it clearer, where to begin the development process.

    #2145

    xfish3
    Participant

    Sorry, wrote in the wrong section :)
    I asked the same question in the branch https://www.soft8soft.com/topic/animations-from-gltf-file/#post-2144

    #2337

    bkumanchik
    Customer

    Is there a minimum length for sound in a mobile browser, I have a tick.mp3 sound (a very short tick-like sound) and it plays fine on desktop browsers but the only way I can get it to play on a mobile browser is to first play it in some other way then it will play inside of some puzzle code.

    #2338

    Such a short sound is probably “played off” before it is loaded. Saving it in a variable in the beginning of your puzzles may help (similar to the example in the release article)

    Founder & CEO at Soft8Soft. Creator of Blend4Web and Verge3D.

    #2340

    bkumanchik
    Customer

    I tried that (saving it in a variable) didn’t work. weird thing is once it’s played it works from then on.

    Brian

    P.S. I’m going to buy a personal copy of Verge3D for myself today!

    #2349

    Brian, thank you for becoming our customer. I’m posting here the same solution that I sent you via email.

    The problem with sound on mobiles lies in security policy now enforced in all mobile browsers. The sound playback on mobiles is only allowed via explicit user action (touch).

    To work around this common problem, you can play all your sounds upon user action at first. After that they will become available for playing inside time events. See the attached example.

    Attachments:
    You must be logged in to view attached files.

    Founder & CEO at Soft8Soft. Creator of Blend4Web and Verge3D.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.