|
Project Information
Featured
Downloads
Links
|
Score Ranking Library for AS3Usually, when you want a score ranking feature in your Flash app, you need a server and write serverside code to save scores. But using this library, you can have a simple score ranking feature in 2 lines of code. And if you write some more lines, you'll get a full customizable score submit form, and score ranking list view. The most simple score submit form is: import net.wonderfl.score.basic.BasicScoreForm; new BasicScoreForm( this, 0, 0, 9999, "SAVE GAME SCORE", null, "xxxxxxx-app-id-xxxxx", "xxxx-api-key-xxxx" ); where:
And to fetch ordered scores (aka score ranking): import net.wonderfl.score.basic.BasicScoreRecordViewer; new BasicScoreRecordViewer( this, 0, 0, "SCORE RANKING", 20, true, null, "xxxxxxx-app-id-xxxxx", "xxxx-api-key-xxxx" ); where:
wow, simple isn't it! This Score Ranking library is a frontend of the wonderfl.net serverside API. See the serverside API documents here: GET /score/<appid>, POST /score/<appid> |