leaderboard

Android Play Services Leaderboard cannot be installed (BaseGameUtils)

北慕城南 提交于 2020-02-02 13:52:52
问题 I follow https://developers.google.com/games/services/android/init to setup leaderboards. So in my game project I have setup google_play_services lib as it already uses AdMob. Now I need to all Also BaseGameUtils. But the steps in section "Setting up your game project" in the link above don't work. Let me tell what I have done: Opened https://github.com/playgameservices/android-basic-samples and pressed "Download ZIP". Extracted the zip and imported the folder into my project. Disselected all

Android Play Services Leaderboard cannot be installed (BaseGameUtils)

谁说胖子不能爱 提交于 2020-02-02 13:46:07
问题 I follow https://developers.google.com/games/services/android/init to setup leaderboards. So in my game project I have setup google_play_services lib as it already uses AdMob. Now I need to all Also BaseGameUtils. But the steps in section "Setting up your game project" in the link above don't work. Let me tell what I have done: Opened https://github.com/playgameservices/android-basic-samples and pressed "Download ZIP". Extracted the zip and imported the folder into my project. Disselected all

what is the best practice leaderboard with php, mysql, memcached?

烂漫一生 提交于 2020-01-16 19:28:27
问题 Recently I have developed mobile game (LAMP + memcached). The game has player's score table. The table has member_id , name , score column. I want to show leaderboard (global rank) to our user. Just query SELECT * FROM score ORDER BY score DESC , and show the resultset. But I don't think it is good way. If users reach 20 million, this query seem to be terrible. What is the best practice in this case? Could you give me some advice? And how can I check specific user's rank? I want to show each

Can't retrieve leaderboard

不羁的心 提交于 2020-01-16 06:31:49
问题 I want to use leaderboards in my game. I set up game services project in developer's console, built api client and connected to it. But when I try to retrieve leaderboard with following code (I replaced actual id with my_leaderboard_id): startActivityForResult(Games.Leaderboards.getLeaderboardIntent(mGoogleApiClient, LEADERBOARD_ID), 100); I receive following error: 05-18 17:25:04.330: E/Volley(1443): [149] BasicNetwork.performRequest: Unexpected response code 400 for https://www.googleapis

GKLeaderboardViewController initial leaderboard

浪子不回头ぞ 提交于 2020-01-15 04:57:39
问题 When GKLeaderboardViewController is presented, it shows first leaderboard on the list, even if the GKLeaderboardViewController 's leaderboard category is not set. Only way to see the list of all leaderboards is clicking Leaderboards button at the top. Is there any way to display list of all leaderboards when GKLeaderboardViewController is presented? 回答1: You can set category to nil. GKLeaderboardViewController *leaderboardController = [[GKLeaderboardViewController alloc] init]; if

How to open “All” by default instead of “Social” in Google Leaderboard?

老子叫甜甜 提交于 2020-01-13 12:06:53
问题 I have integrated Google Leaderboard in my android game app. When I open it, it goes to "Social" mode by default (aka my Google circle). I need to manually switch to "All" mode (players from all around the world). How can I make "All" mode default? 回答1: There is an overloaded method that takes all the parameters: getLeaderboardIntent (GoogleApiClient apiClient, String leaderboardId, int timeSpan, int collection) You can get the intent and display the all leaderboard by: Intent intent = Games

Facebook leaderboard [closed]

旧时模样 提交于 2020-01-07 04:18:08
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I was wondering whether anyone had any useful guides for implementing Facebook scores in an Android game. I am currently building a profile in-game but there are lots of features in the Facebook SDK and Graph API

Is Google Play Leaderboards suitable to rank users of my application according to their in-app purchases?

纵然是瞬间 提交于 2020-01-06 07:55:34
问题 Users can make in-app purchases in the application of my firm and fix the amount by themselves (I use Google in-app purchases API). They sign-up and sign-in thanks to Google Sign-in API, with and only with their Google Account (no Facebook, no Twitter, etc.). The client asked us to set up a leaderboard. Users who spent the most are first. Users who made cheap purchases are last. The application isn't a game. So it should not be bound to Google Play, in terms, for example, of Android

Is Google Play Leaderboards suitable to rank users of my application according to their in-app purchases?

心已入冬 提交于 2020-01-06 07:55:09
问题 Users can make in-app purchases in the application of my firm and fix the amount by themselves (I use Google in-app purchases API). They sign-up and sign-in thanks to Google Sign-in API, with and only with their Google Account (no Facebook, no Twitter, etc.). The client asked us to set up a leaderboard. Users who spent the most are first. Users who made cheap purchases are last. The application isn't a game. So it should not be bound to Google Play, in terms, for example, of Android