Kenthria's Recent Forum Activity

  • Answers :

  • Brilliant it works thanks for the help! Nailed it completely

    Very happy with it.

  • Okay it isnt working as is.

    Here is an image of the code and the debug information for the array after save. Loading game currently just loads the array state of that previous state and is not replacing it with the localstorage info (localstorage is untouched too). Same issue without checking the key exists too.

    I have checked and the event- on item get- IS being called, however setting array to key is not.

  • I did but nothing under Arrays was on there.

    My bad, that was the bit I needed thanks. Will say how it goes asap! Thanks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The array has a "Load" action, which you put the JSON string into.

    What would the string be please?

    I have entered LocalStorage.Key however it does not work and does allow me to point to a specific key.

  • linkman2004

    I create the key and set it to array.asJson. Now, I'm trying to use Localstorage.itemValue("array_key") do load Json and I can't. Do you know where is the problem? Thanks in advance.

    It's a shame this never got answered.

    I too am wondering what JSON string I need to tell the array to load. The only thing I can enter is 'LocalStorage.Key' but it will not let me specify which key.

  • What do I do once I have gotten the Array.AsJSON back from the local storage?

    Do I set the array to it somehow? I'm not sure how I would change the array to make it the local storage again.

  • Please make this available again to download! I have a 75% made game but I lost the plugin needed to play/open my game!

  • scirra.com/manual/188/local-storage

    Write Array.AsJSON to a local storage key, which can then be loaded with the array load action.

    Apologies for the slow reply, I had a ransomware problem and had to reset my computer.

    Thanks for the help! I will give this a go immediately.

  • I have 12 slots, all use the integrated system-save/load feature in Construct. I also have an array that is storing all the data about each slot.

    I believe I need to externally store the array and load it in every time a save is loaded- otherwise it will load a previous array state. I know arrays have a download function, but I cannot use that as it actively asks where to be downloaded to. (bad for game saves).

    The reason I use the system save/load is because my game has over 3000 tiles with instant variables packed into them, and i'm not sure anything else could store all that, especially so simply.

    All help is very much appreciatedd.

  • Kenthria

    This plugin does not support multiple line height (paragraphing ), sorry.

    That's fine, thank you anyway .

  • Kenthria

    It won't add "paragraphing", actually I don't know how "paragraphing " will look like. BTW, it is not CSS style.

    Paragraphing divides up sections of text. It's a form of formatting to make chunks of text more readable and better presented.

Kenthria's avatar

Kenthria

Member since 30 Dec, 2014

None one is following Kenthria yet!

Connect with Kenthria

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies