Update the Game Scene to Send the Match Data
Now that you’ve got the methods in place to handle passing the game data back and forth between players, you need to update the rest of the project code to use those methods. You also need to add a way for players to launch a multiplayer match.
To speed up the process, use the Find Navigator to search for the TODO marks, like so:
Now that you know which files need your attention, you’re ready to begin.
Updating the Scene Manager
Working from the bottom up, select the second TODO listed in the SKScene+SceneManager.swift file. This will open the SKScene+SceneManager.swift file in the Source Editor, with ...
Get Apple Game Frameworks and Technologies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.