DIFFERENCE BETWEEN WEBSTORAGE AND LOCAL STORAGE

0 favourites
  • 3 posts
From the Asset Store
Basic Plugins for Firebase Authentication, Realtime-Database, Firestore, Cloud Storage
  • Good day to everyone can anyone out there please be kind enough to explain to me the difference between the webstorage and local storage plugins, is webstorage only used for the run layout preview or it can also be used when a game has been published as an app,i am really confused about the two most tutorials talk of local storage as an array saving plugin but dont really use it for highscore ,please if you understand the difference between them please enlighting me

  • DAVID - The webstorage plugin is the outdated version of the localstorage. Even if webstorage is replaced, it is still usable if you are not going to publish in chrome webstore. But if you are making a new game, make sure then to use localstorage since it is the lastest type of offline storage.

    Localstorage is the same as webstorage, the difference is that the localstorage is more efficient since it only runs as a function or trigger when you call it. Webstorage was replaced since it was always checking the keys and values since it was running every tick. Both has the same use, that is to store offline keys and values for example key("HighScore") value(10)points. Hope that clarifies it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot , i don't think am confused anymore about the two i really appreciate your help

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