store data in an app created with cocoon

Recommended Posts

Hi, i'm creating a game with phaser and i converted it in an app with cocoon so i can put it up in the play store.

Now i face a problem, i don't know how to store simple data, as levels, lifes, etc... so when the user exits the app and get back in can continue playing where it was left.

I found some info about it but it seems pretty difficult as it is in native android (wich i don't know very well), i don't know if there are more options, i'm looking for something easy, at least to start.

Many thanks.

Share this post

Link to post
Share on other sites

This might be better answered on a Cocoon rather than Phaser forum. I haven't used Cocoon, but Phaser (and I believe Cocoon) is just essentially an in-browser game so you just store data like you would any browser data using LocalStroage. 


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.