question

Anonymous avatar image
Anonymous asked

Do Leaderboards support decimal score values?

Do Leaderboards support decimal score values and if so how do you implement?
10 |5000

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

1 Answer

DougM@Amazon avatar image
DougM@Amazon answered
Hello Developer, Gamecircle Leaderboard scores are in positive long integer values. So you would not be able to store fractional values within your scores. For more information, please see the Javadoc for the Score class: https://developer.amazon.com/public/binaries/content/assets/javadoc/gamecircle-api/2_4/reference/com/amazon/ags/api/leaderboards/Score.html And in addition our document on how to implement Leaderboards within GameCircle will also let you know what types of values you can submit. https://developer.amazon.com/public/apis/engage/gamecircle/docs/leaderboards
10 |5000

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