question

pitup3 avatar image
pitup3 asked

gamesummary

in game circle i want to display the game summary, so that user can see both achievement & leaderboards data on single click, how to achieve this
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 pitup3, You can not customize the GameCircle UI. You can add the leaderboard and achievement description to be displayed in the GameCircle overlay.
10 |5000

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

pitup3 avatar image
pitup3 answered
Thanx @Sujoy i have integrated both leaderboards & achievement in my game, so i don't want to call showAchievementsOverlay() & showLeaderboardsOverlay() separately, i have gone through the api in which "AGResponseHandle showGameCircle(java.lang.Object... userData)" what is the use of this, & how to implement it please provide some sample code in response ,
10 |5000

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

Bipin@Amazon avatar image
Bipin@Amazon answered
AchievementsClient acClient = agsGameClient.getAchievementsClient(); AGResponseHandle ach = acClient.getAchievement("FIRST_HURDLE"); ach.setCallback(new AGResponseCallback () { @Override public void onComplete(GetAchievementResponse getAchievementResponse) { Log.i(TAG, "getAchievementResponse.getAchievement() -" + getAchievementResponse.getAchievement()); } }); AGResponseHandle achs = acClient.getAchievements(); achs.setCallback(new AGResponseCallback () { @Override public void onComplete(GetAchievementsResponse getAchievementsResponse) { Log.i(TAG, "getAchievementResponse.getAchievement() -" + getAchievementsResponse.getAchievementsList()); } }); you can do many things: Request all leaderboards for this game. Requests the current users top RankedScore for the leaderboard. Requests the percentile ranks for the passed leaderboard. Request the top 100 scores from a leaderboard based on the filter selected. Check the api link for reference: https://developer.amazon.com/sdk/gamecircle/reference/api-reference.html
10 |5000

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

pitup3 avatar image
pitup3 answered
i want to display amazon game circle in the same way as "Matchblocks" game do , on a single click it displays the game circle with summary, achievement, leaderboard, friends etc. how to do that ,please provide some refrence code to it Message was edited by: pitup3
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 Pitup3, The UI you see in the app you mentioned, it's from GameCircle 1.x. The app is using our old GameCircle SDK which is no longer available. Thank you for posting.
10 |5000

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