Questions tagged [game-center-leaderboard]

The game-center-leaderboard tag is used for questions on Apple's Game Centre service that use the leaderboard function. DO NOT use this tag for android questions.

The game-center-leaderboard tag is used for questions on Apple's Game Centre service that use the leaderboard function. DO NOT use this tag for android questions.

167 questions
17
votes
1 answer

Game Center Challenges in iOS 10

I've implemented Game Center features like achievements and leaderboards, and now I'm working on the challenges. I was under the impression that I didn't have to add any additional code - if I had achievements or leaderboards, players would be able…
11
votes
3 answers

How to display Game Center leaderboard with SwiftUI

I created a tester app to test adding a GameCenter leaderboard to a simple SwiftUI game I am creating. I have been unable to figure out how to display the Game Center leaderboard with all the scores. I have created a class containing all the Game…
Thomas Braun
  • 1,109
  • 2
  • 13
  • 27
9
votes
2 answers

iOS Game Center Leaderboard not allowing ties?

This weekend I was working on a game I am developing. On Level 2 a number of players will get the best score (9 moves). Rather than placing everyone with the same score in 1st position, the first player to get 9 moves is positioned 1st, the second…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
9
votes
2 answers

How to display Leaderboard Sets in iOS

I was trying to get this to work all last night but it wouldnt. Can anyone help? I use the following code to display a leaderboard: gameCenterViewController.leaderboardIdentifier = leaderboardId This works fine for normal leaderboards, but fails…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
9
votes
2 answers

Building a SpriteKit/GameKit leaderboard within a specific scene

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…
muZero
  • 948
  • 9
  • 22
8
votes
1 answer

Itunes Connect: You must have only 1 Leaderboard as default

I'm getting the above error when I try to create the first leaderboard for my newest app. Does anyone know how to resolve the error? I do have another app with a leaderboard but surely that won't affect this app. For reference, I'm trying to create…
8
votes
3 answers

GameCenter iTunesConnect - Leaderboard is not a member of a leaderboard set attached to version

Does anyone know what does this mean? I've tried searching everywhere but can't find a word on it. Essentially I created a group for an app (and its deluxe counterpart), then created some leaderboards and added them to leaderboard sets. Then I…
veta
  • 716
  • 9
  • 22
7
votes
4 answers

Difference between GameViewController and SKScenes

I've been developing a game using SpriteKit and Swift but I seem to be having trouble determining what the real differences are between the GameViewController and any one of my SKScenes. I'm trying to understand the differences because I want to…
7
votes
2 answers

Posting score to Game Center leaderboards

I am creating a game using swift on apple's Xcode 6 beta 6, and trying to add the high score of my game to gamecenter leader boards. I have created the leader boards in gamecenter. So, how do I add my high score, which I saved as a NSUserDefault,…
6
votes
1 answer

Understanding the "daily" and "weekly" scopes in Unity.Social & Apple GameCenter Leaderboards

Unity's Social.TimeScope documentation says: TimeScope.Today: Only return scores from today https://docs.unity3d.com/352/Documentation/ScriptReference/TimeScope.Today.html However, Apple's native Swift documentation says: case today: Each…
BlueYoshi
  • 1,534
  • 12
  • 18
6
votes
3 answers

How to open GameCenter in tvOS

How can I open a game center leaderboard in tvOS? I've used this code for my iPhone games, 'leaderboardIdentifier' aren't available on tvOS. I've planned to use the same leaderboard on the AppleTV (it will be the same game). Many thanks for your…
Stefan
  • 5,203
  • 8
  • 27
  • 51
6
votes
2 answers

how report highscore in Game center with swift

I'm trying to report my highscore in the game center. I think my code is working but the game center is not updating with the highscore. The leaderboard is create with this reference name : "funfairBalloon" and this leaderboard ID : 55009943. I…
Haox
  • 608
  • 1
  • 7
  • 23
5
votes
0 answers

iOS show specific leaderboard Game Center

How can I display an specific leaderboard in Game Center? My code is: GKGameCenterViewController *gameCenterController = [[GKGameCenterViewController alloc] init]; if (gameCenterController != nil) { …
Jose19589
  • 81
  • 3
5
votes
0 answers

iOS 9 press ok GameCenterDashboardExtension have console message

I have a message when press ok when dismiss the view. plugin com.apple.GameCenterUI.GameCenterDashboardExtension invalidated What can i do?
Fabio
  • 1,913
  • 5
  • 29
  • 53
5
votes
1 answer

Do I need "Multiplayer Compatibility" enabled in iTunes Connect in order for Game Center leaderboards to function globally?

I have a functioning Sprite Kit Game Center leaderboard. Is it necessary to have "multiplayer compatibility" enabled if my game is not multiplayer, but has a global leaderboard?
1
2 3
11 12