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.

Saving and Sharing Configurations

Home Forums Programming Saving and Sharing Configurations

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12676
    Luke224
    Participant

    Hi, i have the save state puzzle working. What i would like to be able to do is allow someone to share that saved state with someone say on Facebook look at my build etc. Also as an added bonus be able to see your saved builds in my account page on WordPress or something along those lines. Does anyone know if its possible and if so some general guidance on how to do it would be great. Thanks A lot :good:

    #12770

    Hi!
    You need to encode your state in the dictionary manually, send this dictionary to the server with the “send data” puzzle and encode the URL/ID of this state in the application URL.

    It may sound a bit complicated, that’s why please check out the Custom Image demo in the recent Verge3D builds and use it as an example.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #12813
    Luke224
    Participant

    Hi Alexander, Thanks for the reply. That makes sense. Cant find the example you are referring too? :scratch:

    #12816

    Thanks!

    The example should be in the application/custom_image directory inside the recent Verge3D distro.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #12833
    Luke224
    Participant

    Ah yes, i sort of understand the process of this puzzle. Struggling to find a way to assign it to my puzzle though. Is there a simple way of me being able to encode the url based on the saved state of the objects. I have around 50 Objects.

    Example when clicked “save” save state of variables then encode url variable which when shared will load the state of the objects :wacko:

    #12855

    With 50 objects URL encoding won’t be a perfect way to store data due to size limitations imposed by the web browsers. So you might want to store your data on the server and encode ID/URL to that data instead. I believe using dictionary puzzles is the perfect way to encode your data.
    For example, you can store per-object data in the dictionaries and then push them to the array. Then this array can be uploaded to the server for persistent storage and retrieved by ID/URL.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #12858
    Luke224
    Participant

    Hi alexander, thanks for the continued support. Im not too sure how i would do that with puzzles could you possibly show an example of this :yahoo:

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