Sign in to follow this  
PhasedEvolution

Phaser android game. How would you save highscore?

Recommended Posts

Just now, bruno_ said:

If it is a website its the same thing. If cordova, you could use file plugin to write a file

Well I had the html5 game I created first. Then using intelXDK  I created a new project that is HTML5 + Cordova. So should I use plugin? ( I am new to this...)

Share this post


Link to post
Share on other sites

Yes. I don't know exactly how to do it in intel xdk, I use cordova directly.

The plugin is this one: https://github.com/apache/cordova-plugin-file

 

Local storage would also work, but if the user clears the cache your progress is gone.

It's also a problem in the web version, the user can also clear his local storage.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.