I dont understand LocalStorage, even after reding the document.

0 favourites
  • 3 posts
  • Even after reading about it from the docs it still doesn't work.

    If you can please tell me what did I do wrong. I'm checking the system and it shows that SelectedMenu (Global) is 0. Why and what I did wrong?

    - Thanks.

  • Both of the conditions 'on item missing' and 'on item exists' only run after you have run the action 'Check item exists' which you didn't use.

    I assume you are using clear storage for testing purposes. So you can start by adding 'check item exists' action to run 'on storage cleared'. Normally you would do this on start of layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Both of the conditions 'on item missing' and 'on item exists' only run after you have run the action 'Check item exists' which you didn't use.

    I assume you are using clear storage for testing purposes. So you can start by adding 'check item exists' action to run 'on storage cleared'. Normally you would do this on start of layout.

    Thank you! You helped a LOT. The code is not done but at least it's working. Maybe it's a bit unoptimized but it's working. Thank you again. :)

    I'm very greatful.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)