achievements

Google Play Game Services get achievements list

半世苍凉 提交于 2020-01-23 02:45:49
问题 I'm integrating Google Play Game Services in my game. Now I want to retrieve a list of achievements without starting the achievements intent. I want the list behind that intent so that I can populate my own UI elements with this information. I'm not using the old GooglePlayServicesClient, I'm using the GoogleApiClient! Thanks for your help ;) 回答1: The code to retrieve a list of achievements can be found in this answer. Below is the code snippet - see the linked answer for a full description:

Achievement order in default game center view controller

牧云@^-^@ 提交于 2020-01-06 16:01:29
问题 Is there a way to control the order achievements are shown in the Game Center achievement view controller (GKAchievementViewController)? Currently they are showing up in the order I created them in iTunes Connect. I did see that it is also possible to import all the achievement info for use in a custom achievement viewer where I could set the order myself, but I would prefer to just use the already existing viewer if possible. 回答1: You can re-order the achievements in iTunes Connect. Does

Achievement order in default game center view controller

一世执手 提交于 2020-01-06 16:01:26
问题 Is there a way to control the order achievements are shown in the Game Center achievement view controller (GKAchievementViewController)? Currently they are showing up in the order I created them in iTunes Connect. I did see that it is also possible to import all the achievement info for use in a custom achievement viewer where I could set the order myself, but I would prefer to just use the already existing viewer if possible. 回答1: You can re-order the achievements in iTunes Connect. Does

Get a users Xbox Achievements list?

你说的曾经没有我的故事 提交于 2019-12-31 00:38:06
问题 Is there a way to get a user's achievements list from Xbox without dealing with screen scraping etc.? How do sites like http://www.trueachievements.com do it? (they're definitely not screen scraping as they do not have my Live ID credentials...) I know there's the Xbox LIVE Community Developer Program (XCDP) that provides some API but they do not provide achievements information as far as I can tell (links below) http://duncanmackenzie.net/Blog/put-up-a-rest-api-for-xbox-gamertag-data http:/

java.lang.IllegalStateException: GoogleApiClient is not connected yet

大兔子大兔子 提交于 2019-12-23 10:16:43
问题 I'm trying to add achievements to my game by using google play game services. The activity in my game that is responsible for giving the achievement already extends BaseGameActivity and it calls the beginUserInitiatedSignIn when it has to give the achievement, so the user must be signing in, but at the time I unlock the achievement for the user, I keep getting "java.lang.IllegalStateException: GoogleApiClient is not connected yet". Can anyone tell me what I am doing wrong? Here's the code

OAuthException 2500 (Unknown path components) when trying to register Achievement in Facebook

你说的曾经没有我的故事 提交于 2019-12-22 08:37:23
问题 I am trying to register a Facebook open graph achievement for an app. I obtain the app access token and post the following request using open graph API explorer: https://graph.facebook.com/752901688356092/achievements&achievement=https://googledrive.com/host/0B1R_JKMKJc2KbkNqZTdleEZvOUE/brags/fb_achive_100_words.html&display_order=100&access_token=752901688356092|pPwn52AvX-Pkj2n8Tavopew5Rav (note that app ID an access token above are not the real ones). However, I get the following response:

Android - Play a sound on achievement unlocked

倾然丶 夕夏残阳落幕 提交于 2019-12-21 03:03:09
问题 I have an Android game and I'd like to play a sound whenever a players unlocks an achievement, but I can't seem to find a way to know when the user unlocks the achievement, since most of my achievements are incremental I have no way to code it on the client side, the only way would be some callback called when the Google API shows the achievement box, but I can't find any of those on the documentation... Only thing i found was this: Integrating Google Play services achievements and android

Modern tools for Ruby/Rails for building an achievement system

限于喜欢 提交于 2019-12-20 08:01:21
问题 I am interested in building a robust achievement system for my Ruby on Rails application. The achievements can happen in a myriad of ways. Normally, we'd have some criteria that can happen to several models, some required, some optional (mix and match) that triggers an achievement. I would say this is similar to the achievement system on here or Foursquare badges. Ideally if there is a modern tool out there that can help abstract a lot of the work in some DSL, that would be fantastic. I'm

Integrating Google Play services achievements and android notifications

好久不见. 提交于 2019-12-20 06:17:17
问题 I am using Google Play services to set up achievements for an android game. Goal: In my onAchievmentUnlocked callback I want to send a notification to the device that opens the achievement screen when the user touches the notification (from wherever they are). What works : The notification gets sent properly and all the icons etc. are visible. Touching the notificatoin does nothing though. The achievement activity does work, since I have an Option Menu item to call it up in the app via this