Apple SpriteKit and Game Center


This game utilizes the excellent, but often overlooked SpriteKit for iOS. Although I long for it to be cross-platform it is a great full-featured 2d dev environment. The origin (0,0) is in the lower left, which is different than iOS which is in the upper left. The anchor position can be changed so that the origin could be the center of a sprite (0.5, 0.5) which is helpful at times.

I am coding my UI completely in SpriteKit as to avoid UIKit to ease development for tvOS and macOS. It currently works great on iOS and macOS. I am working on networking for it and want to have a good TestFlight build up at the end of the Finish Your Game Gamejam (https://itch.io/jam/finishyourgamejam2020). I am a long-time GameJammer having done the Global Game Jame 4 times and a few others.

For networking I am using Game Center. I am primarily using GKTurnBasedGame which is very quirky and was extremely difficult to find how to actually connect players together. It "turns" out that once a game is created you need to finish one turn before another player can even join and further for more players. There is no way to create or join a game as it is a combined action that maybe you'll created one or maybe you join one. After getting generally matchmaking working I'd like to create an interface to connect with friends. 

Leave a comment

Log in with itch.io to leave a comment.