Webstorage for Arcade Forum Home > Arcade > Arcade |
Post Reply
|
Page 12> |
| Author | |
Post Options
Quote Reply
Topic: Webstorage for ArcadePosted: 13 Feb 2012 at 9:56am |
|
|
While working on my game for the rotary competition, i noticed that the webstorage plugin is not available in the arcade?!
I think this is one of the most important plugins and it NEEDS to be available in the arcade to save scores, unlocked level(my case), achievements etc. Please allow us to use it in the arcade. |
|
![]() |
|
Post Options
Quote Reply
Posted: 13 Feb 2012 at 9:36pm |
|
|
It's on the todo list, we just need to modify it otherwise all arcade games will share the same storage.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 13 Feb 2012 at 10:00pm |
|
|
I hope it can be acheived before the competition deadline
![]() I had overlooked this before, thinking webstorage was supported and implemented it in my entry. |
|
![]() |
|
Post Options
Quote Reply
Posted: 14 Feb 2012 at 9:52am |
|
|
@Ashley thanks :D
@Kystric hah! me too... :D |
|
![]() |
|
Post Options
Quote Reply
Posted: 20 Feb 2012 at 12:50pm |
|
|
Yeah, me too! This needs to be a priority to be done before the competition deadline! some of us have longer games, and if there is no way to save progress... :O
|
|
![]() |
|
Post Options
Quote Reply
Posted: 20 Feb 2012 at 1:00pm |
|
|
@Ashley - you may have already found a way to make the WebStorage "arcadable", but if not, here's my idea:
I thing, WebStorage is nothing else then "placing" cookies, and the cookiefile has a generic name. Why don't use the MAC-Adresse of the c2 "compiling" PC (ie the game developers PC) as a HASH-seed to generate a uniqe name for the cookie file? |
|
|
_____________________
You want help? Post your CAPX! virtus junxit mors non separabit |
|
![]() |
|
Post Options
Quote Reply
Posted: 22 Feb 2012 at 8:14am |
|
|
Sounds like a good idea. I hope you guys can push out a new release with the "fixed" webstorage before the rotary competition closes. :O
|
|
![]() |
|
Post Options
Quote Reply
Posted: 27 Feb 2012 at 11:18pm |
|
|
@Ashley...
On the blog post, you mention that "on the Arcade the following features are blocked to prevent games accessing other game's data: clear storage, get number of values, get value at, get key at." What exactly does this mean? Does this mean that webstorage is completely useless as we can't use webstorage.localvalue? I urgently need a response for this. If we can't save our user's progress, what hope is there for big games??? |
|
![]() |
|
Post Options
Quote Reply
Posted: 27 Feb 2012 at 11:20pm |
|
|
Nice question @sqiddster.. I was wondering that myself
|
|
![]() |
|
Post Options
Quote Reply
Posted: 27 Feb 2012 at 11:35pm |
|
|
@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? Edited by Ashley - 27 Feb 2012 at 11:37pm |
|
![]() |
|
Post Reply
|
Page 12> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |