There seems to be a type of score called a “DURATION”, which I assume means a time value. Submitting a score using the LeaderboardClient is very easy, though it takes a 64-bit integer. If we want to, for example, show a leaderboard that used time values (fastest time to complete a level for example), how would we set that up in the GameCircle developer web interface? Also, I don’t see a definition for what a “DURATION” is, so how might we determine what scalar would we use to represent the time (milliseconds or microsecond perhaps)?
Duration based leaderboards are currently disabled in the GameCircle portal. If you need this feature, please let us know and we'll try to work something out for you. Although this leaderboard type has not been enabled yet, the API is designed to support durations. The submitScore() method is the same for either leaderboard type. When the leaderboard is set to represent durations, the 64-bit integer parameter for the submitScore() is interpreted as a duration in milliseconds.
Hi, Any update about 'Duration' based scoreFormats? We're porting our game, and we'll need a leaderboard that use 'duration' too. Is there a way to setup our leaderboard properly using the Amazon Game Services? Thanks! Dominic
Hi Dominic, The specialized DURATION data type isn't fully supported yet, but NUMERIC works fine for most cases. In your situation, you could create a NUMERIC leaderboard with ASCENDING sort order and set Score Units to be something like "Milliseconds" or "Seconds." Just remember that if you track milliseconds in your game (for example), but call the leaderboard "Seconds," you'll need to divide by 1000 before posting the value with submitScore(). -peter
Is this is a joke ?? No duration for the leaderboard. What can i say to my clients, sorry but Amazon fail with the leaderboard implementation, duration is not supported. Can you increase the priority for this feature ?. This is the minimum requirement for a leaderboard, it must support float and Integer.
We generally do not answer questions about future products or services, which this falls under. Please stay tuned on Mobile App Distribution Portal or Blogs (
https://developer.amazon.com/blog/index.html) for any updates related to this.