question

BusyMom avatar image
BusyMom asked

Post to leaderboards in Unity

Ok When I test my app and get a high score I see the game circle popup saying a new high score earned and shows the icon of the correct leaderboard, but when I go to the game circle leaderboards I don't see any scores? Any Ideas? Also when I call game circle I see all the leaderboards in there as well as all achievements. only the leaderboards don't contain any scores. Thanks Message was edited by: BusyMom
10 |5000

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

BusyMom avatar image
BusyMom answered
In my game I use var arr2 = new Array(); if( Application.loadedLevel == 36){ Cartoon = true; arr2.push("UMG-CARTOON"); arr2.push(totalGameScore); SendMessage ("SubmitScore", arr2.join("|")); } In the Game Circle Script I use this private void SubmitScore(string data) { string[] arr2; arr2 = data.Split("|" [0]); string leaderBoardId = arr2[0]; int val = (int) System.Convert.ToSingle(arr2[1]); Debug.Log("SubmitScore: " + leaderBoardId + " " + val); AGSLeaderboardsClient.SubmitScore(leaderBoardId,val); } I just don't understand why I see the High score earned popup on my kindle but if I click on leaderboards I see no score also my debug log is getting called and all variables seem correct Thanks
10 |5000

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

BusyMom avatar image
BusyMom answered
10 |5000

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

BusyMom avatar image
BusyMom answered
Ok I think I figured out my problem I found this https://developer.amazon.com/public/community/post/Tx3DCAJ41RZGAIU/Tips-and-Best-Practices-for-the-Amazon-GameCircle-API it says "No negative leaderboard values – Leaderboards do not currently support negative scores, so you will experience errors if you submit them." But I have a golf game and the lower the score the better and someone might possibly get a negative score. So how do I handle this. Please reply I have been trying to figure this out. Thanks
10 |5000

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi BusyMom, Unfortunately, Leaderboards do not currently support negative scores. So you can not submit negative score in your app.
10 |5000

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

Brandon Hoskins avatar image
Brandon Hoskins answered
Is there any plans on adding negative scores in the future? I have 2 apps that could really use this, and negative scores are supported by both Apple and Google. Thanks
10 |5000

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
We generally do not answer questions about future products or services, which this falls under. However, I'm going to forward this feedback/suggestion to the concern team. Please stay tuned on Mobile App Distribution Portal or Blogs ( https://developer.amazon.com/blog/index.html) for any updates related to this. Thanks.
10 |5000

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