question

tommy avatar image
tommy asked

Storing multiple scores/ integers into LeaderBoard Stats

Hello

After the game session ends, I want to save 3 different scores/values into one single leaderboard per user, is this possible? For example: SCORE, GRADE, LEVEL

Where would be a nice javascript example code to save such a data to leaderboard?

ps. Is there maximum limit how many entries/rows there can be in one leaderboard?

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
jital avatar image
jital answered

Greetings,

The Leaderboards track one statistic per board. So you would have to save SCORE, GRADE, and LEVEL in three separate leaderboards. What are you attempting to do by saving all three of these statistics to one Leaderboard?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image brendan ♦♦ commented ·

Also, note that you can use the profile settings to return the other statistics in a single call to the leaderboard, if your goal is to build a rich leaderboard display.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]