Questions tagged [gamekit]

GameKit is an Apple Framework that provides classes to create social games.

The Game Kit framework provides three distinct technologies: Game Center, Peer-to-Peer Connectivity, and In-Game Voice. You can adopt each technology in your application independently of the other technologies.

See : http://developer.apple.com/library/ios/#DOCUMENTATION/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html

867 questions
0
votes
1 answer

GKSession sendDataToAllPeers getting invalid parameter

This is my first post and I wanted to start it by thanking the many stackoverflow contributors who will never know how much they helped me out these past several days as I worked to complete my first iOS app. I am indebted to them and to this site…
cb4
  • 6,689
  • 7
  • 45
  • 57
-1
votes
1 answer

GKMartch.sendData method is obsoleted in iOS 14

I am working on a game that involves gameCenter and by extension sending data with Game Center. Before iOS 14 betas began coming out, the GKMatch sendData:toPlayers:dataMode:error: method worked great however, the console is now telling me that this…
-1
votes
1 answer

Using 1D Perlin Noise to Generate 2D Terrain

Alright, so I'm working with Swift, and I have GameKit's GKNoise class which allows me to get a noise value given an input. If you graph it you get that standard perlin noise mountain. What I need to do is create a second perlin noise function that…
theParadox42
  • 65
  • 1
  • 7
-1
votes
1 answer

Check if a game center account is logged in

I am having some troubles with my game center implementation. Is there a piece of code that can check if the users game center account is logged in? Thanks
Vince
  • 648
  • 1
  • 7
  • 17
-1
votes
1 answer

how to programmatically find game center friends in IOS 8

My app is a multiplayer game that only invited friends can play. So, I would prefer to implement a custom match making view controller. However, I am unsure how to programmatically determine the friends of the GKLocalPlayer.localPlayer. …
-1
votes
1 answer

iOS / App Store - Found a bug after submitting for review

We submitted for review. We got approved. I found a bug that's pretty destructive to our leaderboards. We have a low time leaderboard and the time is submitted for each character and then a total. For some reason, the check was disabled and the…
-1
votes
1 answer

Gamekit and Game Center sample from Apple

For some reason, all the Apple's links to Gamekit samples are broken. I am looking for Apple's Gamekit and Game Center sample code.
EmilyJ
  • 872
  • 2
  • 8
  • 19
-1
votes
1 answer

get rank of weekly leaderboard in GameKit of iOS

I want to give a feedback to a player who's on the top of the leaderboard. i do it for daily leaderboard like this: GKScore* gkScore = [self createScoreForeCategory:kLeaderboardCategoryCumulativePoints]; if (!self.gameCenterFeaturesEnabled ||…
Sam
  • 2,707
  • 1
  • 23
  • 32
-1
votes
1 answer

How do you put Game Center Achievements into your iPhone app?

I am very new to Xcode and Objective C. So I need help with the Game Center achievements. I have already set it up on the iTunes connect but don't know how to make them work in my game. Also, I want to make it so if the user presses a button they…
-2
votes
1 answer

Cannot send data using GKMatch.sendData(toAllPlayers:, with: ) in IOS 14

I am writing a multiplayer gamein iOS using Gamekit. I am trying to send data from a player to other using below methods match.send(data, to: [player], dataMode: .reliable) match.sendData(toAllPlayers: data, with: .reliable) It works fine on ios 13…
Mithra Singam
  • 1,905
  • 20
  • 26
-2
votes
1 answer

Cocoa Touch Bluetooth TicTacToe (GameKit)

I'm going to create a bluetooth Tic-Tac-Toe App for iPhone. Now I've connected 2 Devices. How do I differentiate Player 1 and Player 2? I want Player 1 to be able to make the first turn (so Player 1 is RED and Player 2 is blue). The one who…
BatWayne
  • 21
  • 2
-3
votes
1 answer

How to play news in TV when i switch on, using scripting language in Unity3D?

I am new in unity3D. I need to know how can we play news in TV when i switch on using the scripting languages in Unity3D
1 2 3
57
58