barbara

How to store levels passed in a wordpress site

2 posts in this topic

Hi,

I'm writting a platform game in phaser, and i want it to have 30 levels. 

I wanna post them in a wordpress page and i really don't know how can i storage the data: levels passed, lifes left, etc... so i can use it in the wordpress site to show some "leves/icons" as completed and in my phaser game to get this informacion further than the cache data i can pass throught States.

My programmer skills are few so i don't even know how to start.

Anyone can tel me where to start looking?

Many thanks!!

Barbara

Share this post


Link to post
Share on other sites

Take a look at storing information in the sql database backend.. if you already have wordpress you should have access to a database.. alternatively you could just use localstorage if its only keeping data for each individual player.  You may have to use some php coding to get data from the database (and also to store it).

barbara likes this

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

  • Recently Browsing   0 members

    No registered users viewing this page.