How do I difference webstorage , array and dictionnary ???

Get help using Construct 2

Post » Tue Aug 19, 2014 4:54 am

hi all,
iam using webstorage to save my high score on my game
some people talk a lot about array and dictionnary ?
what is the difference between them ?
thanks
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Tue Aug 19, 2014 7:46 am

There;s a lot of difference between them,

It's like asking to explain the difference between a bicycle, a car and an aeroplane..
All of which are ofcourse just transportationdevices..

If you have some time, you might want to look at these video-tutorials by English Acorn:

webstorage

Arrays

dictionary
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Aug 19, 2014 4:15 pm

that mean for saving only highscores
webstorage is better no ?
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Tue Aug 19, 2014 4:17 pm

Webstorage is good for saving data even when players have closed and re-opened the game. So yes Webstorage is a good options for highscores
B
63
S
12
G
6
Posts: 456
Reputation: 8,969


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests