Hi all,
we are just pleased to announce you our first script package on the Asset store : iXHighScore.
iXHighScore is a complete package that include all you need to install and run your own leaderboard system.
you’ll find a detailled installation manual, all server side scripts, the SQL code for the database and the procedure to install the database on your own server with the Freeware Toad For MySQL 4.5.
What you need is :
A webserver with MySQL 5 and PHP.
You will install the database only once ! The system can be then used for any games you may develop.
So, you’ll have 1 database only but can have several games that use the leaderboard system, with differents mode for each (like easy, normal, hard …)
The available methods are :
(note that for each methods, there is some return value like : “The player already exists in database”, “Cannot retrieve your player rank” …
//ADD a player to the database :
public IEnumerator postPlayerName (string name, string sid, string lang, int sidhash)
//POST a Score to the database
public IEnumerator postPlayerScore (string name, string score, string mode)
//POST information about the player (this increment how much time the player use your game)
public IEnumerator postPlayerCNX (string name)
//Retrieve the GLOBAL TOP 10 of the mode (in parameter)
public IEnumerator getGlobalTOP10 (string mode)
//Retrieve the GLOBAL PLAYER RANK of the mode (in parameter)
public IEnumerator getGlobalPlayerRank (string name, string mode)
//Retrieve the CURRENT TOP 10 of the mode (in parameter)
public IEnumerator getActualTOP10 (string mode)
//Retrieve the CURRENT PLAYER RANK of the mode (in parameter)
public IEnumerator getActualPlayerRank (string name, string mode)
Difference between GLOBAL AND CURRENT IS :
GLOBAL concerns all datas for the mode
CURRENT concerns only daily datas for the mode.
Please find a very basic demo using the iXHighscore component of the asset store:
http://ixgaming.com/UnityDemo/iXHighScore/Webplayer.html
And a new Leaderboard demo : http://ixgaming.com/UnityDemo/iXHighScore/demo2/Webplayer.html
This leaderboard is included from the v1.5.3 of the iXHighscore Leaderboard System.
Note that the game GalaXia on Appstore use the same scoring system.
So, you can now follow us on twitter :
x.com
Video of the Installation process :
http://www.youtube.com/watch?v=EboeMveQqOk
If you need any help to install or use the code, you can contact me by email (you’ll find in the documentation) or on this thread.
Happy new year 2011.
Regards
Julien