Home › Forums › Official Announcements › Verge3D 4.1.1 Maintenance Update
- This topic has 23 replies, 7 voices, and was last updated 1 year, 10 months ago by kdv.
-
AuthorPosts
-
2022-09-03 at 9:19 am #555152022-09-03 at 9:20 am #555172022-09-03 at 11:21 am #55519kdvParticipant
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 linesif (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 coding. 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 the meaning at all.
2022-09-03 at 3:42 pm #55521fsgueglCustomerThanks a lot KDV!!!
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!
FrancoAttachments:
You must be logged in to view attached files.2022-09-03 at 4:45 pm #55525kdvParticipantNow you can get rid of this problem removing the unnesessary lines from
puzzles.min.js
in order not to correctvisual_logic.js
every timeYou’ll find them twice, remove the first ones. But first make a backup )))
Puzzles and JS coding. 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 the meaning at all.
2022-09-03 at 5:10 pm #55527fsgueglCustomerand this is the final pearl I needed!
I don’t know how to thank you more than I already did!
thanks!!!
Franco2022-09-08 at 9:24 pm #55675fsgueglCustomerI 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.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 correctly2022-10-21 at 9:46 am #56738marinoursoParticipantcome faccio a risolvere il problema? i miei file non hanno estensione
2023-01-05 at 10:47 pm #59410kdvParticipantI 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 withVARS
can lead to some mess with variables used in scripts…Puzzles and JS coding. 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 the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.