Webstorage for Arcade

If you have found a bug, or have a suggestion/comment then leave it here

Post » Mon Feb 27, 2012 11:35 pm

@sqiddster, no, localvalue wasn't on that list! It's only the get key at expressions, which take an integer index rather than the key names, that are blocked. To clarify, the following ACEs work on the arcade:

Local key exists
Session key exists
Set local value
Set session value
Remove local value
Remove session value
LocalValue (get local value)
SessionValue (get session value)

The following are blocked:
Clear local storage
Clear session storage
LocalCount (number of local values)
SessionCount (number of session values)
LocalAt (Nth local value)
SessionAt (Nth session value)
LocalKeyAt (Nth local key)
SessionKeyAt (Nth session key)

The latter can also be worked around if necessary, but with a lot to do that build I thought I'd just get the basics out in time for the competition. You can still save and load values. The blocked stuff, without some extra work, would allow using and modifying other game's data, since they work with the global list of all saved data. That's why for the time being they're not allowed. Do you urgently need any of those other features?Ashley2012-02-27 23:37:21
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Mon Feb 27, 2012 11:54 pm

Not at all. I was just worried that "get value at" prevented us from using the expression webstorage.localvalue().

You. Are. The. Best.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue Feb 28, 2012 9:36 am

Hi, do i have to export my game from release 80 or the webstorage implementation is in scirra arcade itself?Can i export from previous releases and get the webstorage to work in scirra Arcade?Tks cesisco2012-02-28 09:37:27
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Feb 29, 2012 1:45 am

@cesisco... I'm sure they will fix the problems with r80 asap, definitely before the competition's close. Just use r79.4 for now, and don't export yet.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Wed Feb 29, 2012 10:01 am

@sqiddster, ok, thanks.
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Feb 29, 2012 2:15 pm

@cecisco: with r80.2 out, you don't need to change/touch your groups (I hope you haven't finished modifying them and/or have a previous save that you can open).
And the arcade should work with webstorage as planned.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Wed Feb 29, 2012 2:52 pm

@Kyatric ,thanks i froze up and i didn't touch anything :)
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Feb 29, 2012 3:00 pm

@cecisco: Well then go on and update safely.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Previous

Return to Website Issues and Feedback

Who is online

Users browsing this forum: No registered users and 0 guests