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
0
votes
1 answer

Game Center - Combined Leaderboard?

I'm not totally clear on how a combined leaderboard works. for example lets say i have a racing game and i want to combine the leaderboards for 3 levels.. if one player finishes all three with a time of 30 seconds on each one, and the other player…
hamobi
  • 7,940
  • 4
  • 35
  • 64
0
votes
0 answers

Is it possible to retrieve high score from leaderboards without user sign-in in iOS?

I want to show user's high score of the game. But I have problem that some users not login to game center. Can I retrieve only high score from gamecenter with out user login in iOS?
Rakesh
  • 1,035
  • 1
  • 14
  • 31
0
votes
1 answer

swift function to show the score in the Game Center

I am developing a game with five scenes (SKSecne) in swift. I am using the following function to show the score in the Game Center at the end of each scene. Currently I have to copy the function to all the scene files. How can I modify the function…
Julien
  • 1
0
votes
1 answer

how to use swift function loadLeaderboardSetsWithCompletionHandler

GKLeaderboardSet.loadLeaderboardSetsWithCompletionHandler(_ completionHandler: (([GKLeaderboardSet]?,NSError?) -> Void)?) I'm trying to use this class function to retrieve the information of the leaderboard sets from Game Center. var…
Pirlo Lochisomo
  • 185
  • 1
  • 16
0
votes
1 answer

Saving high scores and displaying different leaderboards in a Game Center leaderboard set with swift

I am able to display a single leaderboard. I created a leaderboard set in iTunes Connect and I am not sure how to save the scores into different leaderboards in a leaderboard set. I am also not sure how to display all of the leaderboard in my…
Pirlo Lochisomo
  • 185
  • 1
  • 16
0
votes
0 answers

Game Center tvOS closes after scrolling leaderboard

I managed to get my leaderboards up and running on tvOS. But I have a very strange issue. I have 37 leaderboards and when you begin scrolling on the Siri remote, after about 20 leaderboards Game Center closes. I get the following output 2016-01-26…
Ruff
  • 1
  • 2
0
votes
0 answers

How to show detailed storyboard in Game Center?

I have incorporated code to login and show game center in my app, but it does not show a detailed storyboard, instead it shows a list item as shown in the screenshot below. When I click on the list item it shows the whole storyboard. Is there a way…
Parth Tiwari
  • 855
  • 2
  • 9
  • 23
0
votes
1 answer

Latest match data game center

As I am working on a turn based game using game center. All is working fine like sending turn to next player, skip turn, quit match and all. The only problem is that I am not getting the latest match data until or unless user doesn't clicks on…
0
votes
1 answer

Can't Implement GKGameCenterControllerDelegate

I have used GameViewController to authenticate the player, and upon coming into my Menu class and writing the protocol GKGameCenterControllerDelegate gives me an error, Type 'Menu' does not conform to protocol 'GKGameCenterControllerDelegate'. I…
Sharukh
  • 199
  • 1
  • 1
  • 12
0
votes
1 answer

Need help to fix my code when uploading a High Score to a Game Center leaderboard in iOS

With some research, this is what I thought to be the right code. Everything seems to be working and there are NO errors. The first high score uploaded shows on the leaderboard (for both Game Center accounts I am using for testing), but any score…
0
votes
1 answer

In spritekit I cant pop GameCenter view

I am making a game with sprite kit , and all went fine before I use GameCenter inside , Here is my code define the Gameviewcontroller: var GameController:GameViewController = GameViewController() When you touch the node inside the TouchecBegan : …
0
votes
1 answer

Access Leaderboard without user logon

My game, Fire-Balls, uses game centre to populate the leaderboard and also to extract data from leaderboard and show to the user. This happens when the user has logged on to game centre. If the user does not log on to the game centre, how do I…
0
votes
0 answers

This application is modifying the autolayout engine from a background - Why?

Since then I have updated Xcode(7.1) I receive (after calling the Game Center leaderboard) this error: This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This …
SteV8
  • 79
  • 6
0
votes
1 answer

How do I get a friends scope rank in Game Center?

I made this code below to get the rank from friend scope in game centre. Unfortunately it only returns the rank of the global scope. ... GKLeaderboard *friendLeaderboard=[[GKLeaderboard alloc] initWithPlayers:@[[GKLocalPlayer localPlayer]]]; …
Striker
  • 507
  • 4
  • 11
0
votes
1 answer

How to show leaderboard?

I can't find how to show leaderboard in my app. I have leaderboard ID in the iTunes Connect. I tried a few things but I got always the message "Player is not signed in". Can someone please help me understand how to show the leaderboard with…