November 2011
Beginner
238 pages
6h 19m
English
In the past few chapters, we explored how to connect to peers through a variety of methods. So far, we have not been able to do much with that connection. In this chapter, we will learn all that there is to know about exchanging data between sets of peers using Game Kit and Game Center networking. We have already added the ability to find peers using both Game Center and the Peer Picker (Game Kit) to our UFO game. We will now add the ability to actually play a multiplayer match.
Because all the groundwork has already been laid out in previous chapters, there are only two items that we need to worry about in regards to exchanging data. First, we need to send the actual data; second, we need to receive and process that ...