game-center-leaderboard

How to display GameCenter leaderboard on tvOS?

梦想与她 提交于 2020-01-14 14:27:08
问题 I think I followed all the required steps to support leaderboards in my game (and they work just fine on iOS), however on tvOS it is not possible to configure the GKGameCenterViewController to show a specific leaderboard, the LeaderboardIdentifier property is simply missing (just like the ViewState ): var leaderboardController = new GKGameCenterViewController (); // Unavailable on tvOS /* leaderboardController.ViewState = GKGameCenterViewControllerState.Default; leaderboardController

Game Center groups

瘦欲@ 提交于 2020-01-13 11:36:27
问题 I have an iOS game with one Game Center leaderboard. I published the game a few months ago and now I'm working on the OSX version. I want to use the same leaderboard for both versions of the game, which means that I need to create a Game Center group. The problem is that Apple forces you to modify your leaderboard ID's when you move them into a group: Group ids must begin with grp. Now, if I do that, I will need to update the iOS version of the game so that my users can keep posting their

Game Center App Update Leaderboards stay the same?

爱⌒轻易说出口 提交于 2019-12-23 02:35:06
问题 When I go to update my app, will the old leaderboards that I created in previous versions stay the same in future updates for my app or will I have to create new leaderboards to follow with every update? 回答1: They'd stay the same unless you did anything explicitly. Just don't do anything and push the update. 来源: https://stackoverflow.com/questions/26939057/game-center-app-update-leaderboards-stay-the-same

iTunes Connect: Can't edit existing leaderboard

吃可爱长大的小学妹 提交于 2019-12-22 08:31:15
问题 It looks like there is a recent problem with iTunes Connect which prevents editing (changing any detail) of existing leaderboards. A few days ago iTunes Connect had an issue where we could not create a new leaderboard. As of last night a new deployment of iTunes Connect fixed that particular bug, although it seems like a new issue was introduced. The new issue is now that an existing leaderboard can no longer be edited, failing with an error upon save. The text of the error suggests the

Building a SpriteKit/GameKit leaderboard within a specific scene

这一生的挚爱 提交于 2019-12-18 11:33:55
问题 I'm pretty new to Swift and I'm having some trouble implementing a leaderboard into my game. I just watched a tutorial: 'Game Center Leaderboards! (Swift 2 in Xcode)' in which the GameCenter information all went through the one view of the app. In my game, I want the user to be able to play the game and then only when they are on a specific SKScene will they have access to GameCenter. So for example, on the GameOverScene will they be user authenticated and also will be able to upload their

Adding Game Center Leaderboard

旧城冷巷雨未停 提交于 2019-12-12 02:15:59
问题 I am new to Swift and am having trouble adding a Game Center leaderboard into my Sprite Kit game. I created a button for the leaderboard but it is in an SKScene and it seems that the code for Game Center needs to be inside a View Controller? I have added the code into my single View Controller, but now I'm not sure where to go. Again, I am very new to this and completely lost -- any help would be greatly appreciated. 回答1: you could create a cocoa touch class with the UIViewController Subclass

Implement a Game Center leaderboard (iOS 7)

帅比萌擦擦* 提交于 2019-12-11 10:45:42
问题 I need help with developing Game Center! I found this developer web page http://blog.lucaslouca.com/game-center-leaderboard-ios-7-app/#comment-3761 and need some help with it Here are my questions! Hi, my name is David! I have developed game, it is like flappy bird and I need to implement game center! I have MyScene.m and MyScene.h, so I understand steps up to 7, but don't know if I should add those three files to my game I am not experienced game developer and need some help. I have few

Calling method from viewcontroller to class xcode

随声附和 提交于 2019-12-11 09:52:30
问题 I don't know if it is possible, but I would like to call a view controller's method in a class object. I have method like this in my view controller's .m file: -(void)showLeaderBoard { GKLeaderboardViewController *leaderboardController = [[GKLeaderboardViewController alloc] init]; if (leaderboardController != nil){ leaderboardController.leaderboardDelegate = self; [self presentModalViewController: leaderboardController animated: YES]; } } I would like to call that method in a SKScene file.

Game Center Group Leaderboard issue

懵懂的女人 提交于 2019-12-11 06:58:40
问题 I have an iOS game with one Game Center leaderboard. Recently I published the game and it works fine with no issues. Then I did light version of the game and I'd like to use the same leaderboard for both games. I combined both versions of the game into the Game Center group and modified leaderboard ID, because Apple requires to start group leaderboard names with grp. . Now, if I load scores I receive nil. But if I firstly submit some score and load after that I receive only score for the

Testing GameCenter leaderboards in simulator, do you have to “submit for review”?

大城市里の小女人 提交于 2019-12-11 06:16:07
问题 I'm reading Apple's documentation for "Turning On Game Center for the App Version" and at the end of section "To enable a version of your app for Game Center" step 7 says: "Submit for Review" My app is unpublished and still in development, so I'm reluctant to submit for review. On the other hand my API calls to report/load scores are failing. Is it required to submit for review in order to test the leaderboard APIs? What happens after submitting for review? Can I delete the leaderboard later