DIFFERENCE BETWEEN WEBSTORAGE AND LOCAL STORAGE

Discussion and feedback on Construct 2

Post » Sat Apr 16, 2016 12:02 am

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 :roll:
B
11
Posts: 10
Reputation: 395

Post » Sat Apr 16, 2016 4:30 am

@ADEGBE 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.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
64
S
19
G
90
Posts: 1,119
Reputation: 59,667

Post » Sat Apr 16, 2016 9:01 am

Thanks a lot , i don't think am confused anymore about the two i really appreciate your help
B
11
Posts: 10
Reputation: 395


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests