Search code examples
swiftsprite-kitmultiplayerscenekit

Does SpriteKit or SceneKit support multiplayer?


I want to make a multiplayer game with spriteKit or sceneKit with swift is this possible? if not when will it be and if it is can you give me a good tutorial on it? Thanks in advance!


Solution

  • Yes it is possible.

    But multiplayer doesn't depend on a framework like SpriteKit or SceneKit. You can implement multi-user capabilities in games like you would do it for other things like a chat or something like that.

    Simple multi-user frameworks, that apple provides are either the MultipeerConnectivity framework for local multiplayer or, especially for games, GameKit for multiplayer-games over the internet.

    There are many tutorials. For GameKit you can check the tutorial on raywenderlich.com. For the MultipeerConnectivity-Framework I'd recommend you to read the documentation.