How do I find replacement for Local Storage functionality

0 favourites
  • 5 posts
From the Asset Store
"Easy Local Notifications" enhances games with customizable local notifications.
  • So far I had a good variable-exchange system that worked great in desktop and mobile games using Local Storage.

    Unfortunately the system is not functioning correctly (not functioning at all) on Chrome browser.

    The elements of my system:

    A – The main game made with Construct 2 (Local Storage and Global variables).

    B – The additional app made with any other program (Pano2VR, Twine 2, Cyberix3D…)

    C – The ‘link’ app made with Construct 2 (Local Storage variables).

    This is my system:

    1. App A has default Local Storage variables and Global variables.

    2. App B is being iframed into app A.

    3. Player reaches the needed goal in app B.

    4. App B opens (iframes) app C with new Local Storage variable values.

    5. App A detects changes in Local Storage variable values and changes its Global variables accordingly.

    Can anyone think of a way to do this with some other method so that apps don’t use Local Storage feature? Any suggestion would be great.

  • So far I had a good variable-exchange system that worked great in desktop and mobile games using Local Storage.

    just to clarify..when you say Local Storage.

    do think

    WebStorage?

    or

    localForage?

  • Local Storage <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> I think Web Storage is no longer supported but I'm not sure, I never used it.

    This is the one I use:

    https://www.scirra.com/manual/188/local-storage

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • c2 Local Storage

    for browser Local storage use WebStorage no c2 Local storage..

    ---------------------------------

    c2 Local Storage = localForage

    c2 WebStorage = Local Storage

  • I'm sorry, I'm not sure what you mean

    Do you mean that Web Storage and Local Storage are the same? In manual it's written "...as of r206, WebStorage is deprecated in favour of the new Local Storage plugin".

    Or should I download localForage plugin that you mentioned from Github?

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