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.

Something strange with Variables puzzles

Home Forums Puzzles Something strange with Variables puzzles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69521
    peet
    Customer

    Hi all,

    Is it possible, If I use too many “Variables” puzzles at a point goes broken my app? It was working everything okay before, even though I disabled the new variables some of my previously created “sets” are not working anymore. I have a backup from yesterday which is perfectly the same and working well. Is it possible that the app went broken because the too many variables? I have no idea. :scratch:

    Best regards,
    Peter

    #69522
    xeon
    Customer

    Since you are stating your previous version is working its very possible your latest version is just corrupt or you new file has a bug you have yet to identify. What is the console log stating?

    There is no limit to the number of variables you can have but depending on how you are releasing it there can be limits to the amount of memory the variables can hold.

    Typically variables contain small items not large data sets so its this is rarely the case but you would know better than I would how you used your variables and what for.

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

    #69523
    kdv
    Participant

    Is it possible that the app went broken because of too many variables?

    No.

    But it’s possible if your variable’s name is the same with one of variables predefined in puzzle.min.js.

    Try to use really unique names for your variables.

    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.

    #69647
    peet
    Customer

    Thank you for the suggestions, it was very helpful!

    I reorganized a bit the problematic part and add more unique names as well. Works like a charm.

    Best regards,
    Peter

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