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.

Home Forums Official Announcements Verge3D 4.1.1 Maintenance Update

Tagged: ,

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #55515
    fsguegl
    Customer

    THans again, KDV.

    Attachments:
    You must be logged in to view attached files.
    #55517
    fsguegl
    Customer

    SAME file , ETB

    Attachments:
    You must be logged in to view attached files.
    #55519
    kdv
    Participant

    I’ve tested this https://github.com/json-iterator/test-data/blob/master/large-file.json big json file. No problem with any extention.

    Change a little the function loadFile in visual_logic.js. Remove these three lines

    if (req.getResponseHeader('Content-Type').indexOf('application/json') > -1)
        _pGlob.loadedFile = JSON.parse(req.responseText);
    else

    and try again.

    Can you share one of your .ETB files?

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #55521
    fsguegl
    Customer

    Thanks a lot KDV!!! :heart: :good: :good:

    Deleting this 3 rows from “loaddata” function, all work as before,
    using ETB extension and with “readJSON from” loaded data.

    ia also have attached an ETB sample file

    thanks again and
    have great days!
    Franco

    Attachments:
    You must be logged in to view attached files.
    #55525
    kdv
    Participant

    Now you can get rid of this problem removing the unnesessary lines from puzzles.min.js in order not to correct visual_logic.js every time

    You’ll find them twice, remove the first ones. But first make a backup )))

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #55527
    fsguegl
    Customer

    and this is the final pearl I needed!

    I don’t know how to thank you more than I already did!

    thanks!!!
    Franco

    #55675
    fsguegl
    Customer

    I think I’ll have to go back to 3.9 anyway! :(
    Solved the initial problems of malfunction due to reading the projects saved in json, now I notice problems on the execution of (puzzle) exec scripts where I have a lot of code.
    I made a video to show the difference in the functioning of a script that manages the text (converting it in real time into a puzzle) and justifying it.

    link to video

    In the first part of the video you can see a small introduction that shows the script that performs the management of the text in texturing and starts the simulation in 4.1.1. ( is the same in 3.9)

    You noted that the writings are not justified. As I type the characters they accumulate on the same line without following the code that regulates the spacing and the carriage return.
    Then the same book project is loaded in version 3.9 and you can see how the text is arranged in a completely different way and when it is re-typed it follows the spacing and wrapping correctly

    #56738
    marinourso
    Participant

    come faccio a risolvere il problema? i miei file non hanno estensione

    #59410
    kdv
    Participant

    I made a video to show the difference in the functioning of a script that manages the text (converting it in real time into a puzzle) and justifying it.

    the problem is somewhere in your scripts (the line width/length is calculated incorrectly), not in the exec script puzzle. this puzzle forgives mistakes in the code… and this strange system with VARS can lead to some mess with variables used in scripts…

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

Viewing 9 posts - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.