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.

blippypixel

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • blippypixel
    Customer

    Thanks so much I’m very grateful :heart:

    blippypixel
    Customer

    Thanks.
    Here it is.
    Sorry for the state of it lol I am no programmer!

    Attachments:
    You must be logged in to view attached files.
    in reply to: Using Mac Catalina #77835
    blippypixel
    Customer

    I think there was another issue with this. I will report back. I had some javascript code with canvas in the project and I think it was stopping this button colour changing. I will report back ( testing my mac when I get it back out)

    blippypixel
    Customer

    Thank you. It’s kind of you to try to help.
    Is that what you write in Javascript? VARS
    If anyone can point me to the page with the documentation or an example it would be great.
    Sorry I am really struggling with this simple thing!

    blippypixel
    Customer

    Sorry I thought your webp attachment was the code or the project not a screenshot! I am still trying to work this out….

    blippypixel
    Customer

    Sorry I just saw you had attached the puzzle to this so I will try that. Apologies

    blippypixel
    Customer

    Sorry Yuri. I had a go at this. I’m a bit confused.
    The procedure above – I can’t see how you can add one like your example.
    to getVar with: varname

    I can’t see with: varname in the procedure puzzle.
    Also where is the ‘variable value by name’ please? I know they are colour coded but I can’t find it either. Sorry!

    Maybe it would be useful if Verge had a search function so the user could search for a puzzle by name. Thanks!

    blippypixel
    Customer

    Thank you Yuri! :good:

    in reply to: Glitch #77711
    blippypixel
    Customer

    Yeh I only say this as I’ve had Verge 3d experiements on my hard drives over the years then I lose them or can’t remember where backups are.
    If they were in the cloud it would make life much easier to revisit projects.

    in reply to: Trigger a click with the mic of a phone #77689
    blippypixel
    Customer

    I asked Chat GPT and it produced this code. I wasn’t sure how to integrate it or get the click into Verge 3d. Any help is greatly appreciated. Thank you

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”UTF-8″>
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
    <title>Voice-Triggered Click</title>
    </head>
    <body>

    <button id=”myButton”>Click me</button>

    <script>
    // Function to trigger a click on the button
    function triggerClick() {
    document.getElementById(‘myButton’).click();
    }

    // Check if browser supports Web Speech API
    if (‘webkitSpeechRecognition’ in window || ‘SpeechRecognition’ in window) {
    const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
    const recognition = new SpeechRecognition();

    recognition.continuous = true; // Keep listening for multiple commands
    recognition.interimResults = false; // Don’t display partial results
    recognition.lang = ‘en-US’; // Set language

    // Start recognition
    recognition.start();

    recognition.onresult = function(event) {
    // Get the recognized speech
    const transcript = event.results[event.resultIndex][0].transcript.trim().toLowerCase();

    console.log(‘Recognized speech:’, transcript);

    // If the recognized command is ‘click’, trigger the click event
    if (transcript === ‘click’) {
    triggerClick();
    }
    };

    recognition.onerror = function(event) {
    console.error(‘Speech recognition error:’, event.error);
    };

    } else {
    console.error(‘Web Speech API is not supported in this browser.’);
    }

    // Optional: add a listener to show feedback for manual clicks
    document.getElementById(‘myButton’).addEventListener(‘click’, function() {
    alert(‘Button was clicked!’);
    });
    </script>

    </body>
    </html>

    in reply to: How to load a javascript library #77619
    blippypixel
    Customer

    Thanks a lot.
    I just couldn’t see how to do it in the examples.
    I really struggle with Verge 3d but I am making some small steps!

    in reply to: Videos #69769
    blippypixel
    Customer

    Thanks. I had but to be honest they are too difficult to understand (for me)

    in reply to: How do I turn this into VR #69719
    blippypixel
    Customer

    It’s ok I can see how to download it with the green down arrow

    in reply to: How do I turn this into VR #69718
    blippypixel
    Customer

    Thank you.
    I can see the demo but how can I see the code underneath this or the puzzles?

    in reply to: Buttons and multiple animations #67601
    blippypixel
    Customer

    If you see this screenshot – you can see I’ve got quite a few animations in the Dope sheet but I can’t seem to select any of them in Verge 3d.

    Verge 3d seems to look at the ‘NLA’ track. It only seems to see the first one ( hence only one animation can be selected in the scene). Yet I have many animations

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 19 total)