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.

Refresh Scene (bring pre-loader back)

Home › Forums › Puzzles › Refresh Scene (bring pre-loader back)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #88434
    emadamsinc1
    Participant

    I need help refreshing my scene ideally it would reactivate the pre-loader like when you type ctrl-r to reset the whole app but I do not see that as an option so have explored two other solutions.

    Solution 1 (screenshot below): I looked at a different solution which was resetting the scene back to my first annotation and turning off all annotations that were open. When I do that, I can’t get the annotation that was open in the sequence to close but this article says they should by creating a list: https://www.soft8soft.com/topic/make-all-annotation-popups-text-windows-disappear-when-clicking-elsewhere/

    Solution 2 (screenshot below): I looked over this response however, this is for going between scenes and when I do something with the load/unload scene puzzles all my annotations disappear in the scene: https://www.soft8soft.com/topic/how-to-enable-verge3d-preloader-after-loading-new-scene/

    Solution 3 (ideal solution): When the reset button is hit it would reset the page in the same way ctrl+r refreshes the browser or desktop app, that way the preloader shows again and the annotations do not disappear like in solution 2

    Test file: https://www.dropbox.com/scl/fi/4188d406cd0e9dm15wcuw/0922-test-2.zip?rlkey=44v1s76mamddfkjekceqln14b&st=ssq32uqw&dl=0

    Thank you – sorry to have a second question in such short succession

    #88438
    xeon
    Customer

    Ok…happy to provide some help. The following is based on my experience…your specific needs may differ.

    I have never seen or encountered a need to restart an app from the preloader. Even when creating “games”, an interactives that require a reset of sorts…starting from the preloader is not required.

    Whats important is creating a “startup” procedure and a “reset” procedure.
    The startup procedure should execute the required items to start your app.
    The reset procedure should reset all the variables, cameras, frame positions, etc. that would exist under a restart.

    So now comes the bigger question….are…you just trying to reset the annotations or are you trying to do a full reset?

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #88439
    emadamsinc1
    Participant

    A reset procedure that just reset the annotations back to one would be fine. But since I was running into an issue with closing the open annotations upon return to 1 I had initially just thought full reset would be the easiest solution.

    #88440
    xeon
    Customer

    Ok…so you are going to want to pay attention to how V3D executes puzzles and the order in which they are fired.

    I do many of the MOD and MOAs that you look to be creating and a simple approach to a restart is in the project file here:

    https://v3d.net/1ihk

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #88482
    emadamsinc1
    Participant

    Thank you for taking the time to respond. This was very helpful and I am starting to understand better how the puzzles trigger.

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