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.

Ivan Lyubovnikov

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 415 total)
  • Author
    Posts
  • Hi @mrdetectivekid,

    when i upload my project to verge3d web, the sound in my project is not working

    Your sound files have the extension part in the lower case (.mp3) but you load them in puzzles using the upper case (.MP3). It does work on Windows, but the verge3d cdn requires them to be exact the same. So, in order to fix that you can do either:
    – rename all mp3 files in your project from *.mp3 to *.MP3
    – or change all sound paths in puzzles from *.MP3 to .*mp3

    Then it should work after reupload.

    Co-founder and lead developer at Soft8Soft.

    in reply to: Need help with reading ValueInput ‘TEXT’ feild. #54205

    Hi, that’s the default behavior of the textMultiline puzzle. In order to output its content as it is you need to simply return the value of its TEXT field:

    
    const textBlock = block.getInputTargetBlock('TEXT');
    if (textBlock !== null && textBlock.type === "textMultiline") {
        return textBlock.getFieldValue('TEXT');
    }
    
    // default behavior for other input blocks
    var text = Blockly.JavaScript.valueToCode(block, 'TEXT', Blockly.JavaScript.ORDER_NONE);
    return '${text}\n';
    

    Co-founder and lead developer at Soft8Soft.

    in reply to: Stuck at 18% on the file below #54048

    Hello
    I also have this problem
    The files are the same name
    How can I solve it!?

    Hi, can you check the browser console for potential errors?

    Co-founder and lead developer at Soft8Soft.

    in reply to: Video texture requirement #54047

    Yeah embedding videos doesn’t work for me either following all instructions, really frustrating

    Hi, can you share your app to check what’s going on there? One common mistake is trying to play an unmuted video without prior user interaction, e.g. clicking on the page.

    Co-founder and lead developer at Soft8Soft.

    in reply to: Puzzle Saving Error for React Integrated Apps #54045

    UPDATE: Verge3D 4.1 pre1 is out and the new info about using Puzzles with a React/Vue app can be found here: https://www.soft8soft.com/docs/manual/en/programmers_guide/Integration-with-Reactjs-Vuejs.html#using_the_puzzles_editor – it requires a new app template added in 4.1, so you need to update to the new version if you want to check it out

    Co-founder and lead developer at Soft8Soft.

    in reply to: Not able to upload the file in verge network #54044

    Hi, can you check if there’s any errors in the browser console?

    Co-founder and lead developer at Soft8Soft.

    in reply to: Puzzle Saving Error for React Integrated Apps #53965

    Hi Roel,

    I have simular problems, by me it’s not always saving and it’s deleting random puzzles. Also the Ctrl Z function is not working properly.

    It would be helpful if you could provide an example of how to reproduce the issues, maybe a project with a simple puzzles setup.

    Co-founder and lead developer at Soft8Soft.

    in reply to: Puzzle Saving Error for React Integrated Apps #53964

    Hi aminemod,

    Currently the docs for using React/Vue with the puzzles editor don’t reflect changes made in verge3d 4.0 regarding how the editor works with its applications. We’ll fix the instruction in the docs in the next verge3d update. But for now, if you need React/Vue it’s better to stay on Verge3D 3.9.1. Sorry for the inconvenience.

    Co-founder and lead developer at Soft8Soft.

    in reply to: After update to 4.0: Puzzles have no effect #53762

    Hi ATGmedialab,

    This bug was already fixed in verge3d 4.0.1. Try to update to the newest version.

    Co-founder and lead developer at Soft8Soft.

    in reply to: After update to 4.0: Puzzles have no effect #53717

    It’s not allowed to attach xml and js files directly to the post. Try to zip the files and attach the archive.

    Co-founder and lead developer at Soft8Soft.

    in reply to: After update to 4.0: Puzzles have no effect #53711

    Hi, can you share the app so we can reproduce the issue?

    Co-founder and lead developer at Soft8Soft.

    in reply to: Verge3D 4.0.1 Maintenance Update #53658

    Verge3D team, why do you create var VARS with every exec script? Can’t you do it only twice like var PROC?

    Hi, that’s a good question! VARS is a bit more complex than PROC – if execScript is used inside a procedure puzzle then it needs access to parameter arguments as well as to global variables.

    For example in the following puzzle setup the first execScript puzzle should reference global “test” while the second one the local parameter “test”:
    execScript.png
    – this is achieved by declaring VARS two times so each of those declarations has correct variables in its closure.

    On the other hand VARS doesn’t have to be declared each time execScript is used, it only needs to appear once for the global scope and for every procedure that uses execScript inside.

    Initially, there was a measure to detect if we need to declare VARS at each particular place in code but it was commented out due to some issues. We might need to look further into that, because clearly the current approach can be optimized.

    This code will do exactly the same and there’s no need in var VARS and var PROC…

    In general, variables and procedures in the puzzles editor can have names that are not valid JS identifiers, like the default “do something” procedure name. They are renamed in the generated code to make sure that it works. Also, some of them can be renamed just to avoid collisions, e.g. “do_something”, “do_something2”, etc…

    So, unless you check the visual_logic.js file you can’t always be sure that the name of your variable/procedure stays the same when it comes to executing the contents of execScript. VARS and PROC are used to avoid something like that by providing mapping between the original names and the resulting identifiers.

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

    Co-founder and lead developer at Soft8Soft.

    in reply to: Verge3D 4.0.1 Maintenance Update #53605

    Every time a user opens or reloads the puzzles editor (after saving) all exec script puzzles gain one more empty string

    Thanks for the report! This bug will be fixed in the next verge3d update.

    Co-founder and lead developer at Soft8Soft.

    in reply to: No Ambient Occlusion #53388

    Can you check the version of the addon for Blender? It should say 4.0.1
    version.png

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

    Co-founder and lead developer at Soft8Soft.

    in reply to: No Ambient Occlusion #53385

    Hi, try to reexport your scene – that should fix the error and restore the ambient occlusion effect.

    Co-founder and lead developer at Soft8Soft.

Viewing 15 posts - 1 through 15 (of 415 total)