Setting Up Leaderboards

I have been trying to figure out how to create a leaderboard. I have done a few searches but nothing that helped me. Not sure if this is the best section for this topic but I was not sure if it needed to be in programming or ui.
I have set up my levels so the items needed in the leaderboard are saved temporarily as xml in game directory so it can be accesed by base level and wrote to leaderboard xml. I can display them this way but dont know any way to organize by points or time placement. Also I cant figure out how to get the leaderboards online. I have very little experience in programming but am learning more every day (currently working on C++). Here are the questions I have.

Is writing to xml in flowgraph the best way to send the info from game play to leaderboard?
Can I create a leaderboard from flowgraph or do I have to use C++ or a mixutre of both?
Should it be built in cryengine or as a seperate program?

I am not looking for someone to build it for me, but just point me in the right direction to head in. Thanks for the help.

Re: Setting Up Leaderboards

Hey there,

An online leaderboard is not something CRYENGINE provides as this would most always be a custom implementation based on what data you want and what your game is about. Typically online games take data during a match on the server side (where the players play), during the match the server will send the data to some master server which will then store the data in some database usually by SQL (SQL is a language, many databases are available free and commercial that understands SQL).

Once the data is stored on the master server, then the data can be retrieved by the client from the master server and displayed in a custom fashion (I would advise using the Scaleform Helper for this, there is a nice introduction to this on YouTube - Introduction to UI).
CRYENGINE Community Coordinator
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Re: Setting Up Leaderboards

If you also look into the source material of the GameSDK Flash setup there is a leaderboard setup in the UI Elements and Flash/Scaleform files. As Jeremy stated you should be doing a proper implementation in order to read/write the data. If you wish to experiment with Flowgraph you can also look at the videos on reading and writing XML data out of Flow Graph in the video section. ... /flowgraph


Who is online

Users browsing this forum: No registered users and 3 guests