Networking
One of the most exciting aspects of the iPhone as a mobile platform is the ability to network from anywhere. Most people think of networked games as real-time multiplayer, but they can also take the form of a turn-based multiplayer, interactive community (think leader boards and achievements), or downloadable content.
Those familiar with network programming will be interested to know that both UDP/IP and TCP/IP are available. In addition, the 3.0 SDK, which Apple released in June 2009, now has the ability to use Bluetooth to automatically discover and network with other iPhone users in the area. See the Game Kit Programming Guide on the Apple developer website for more information.
Apple has also added an API to allow publishers to use the App Store to charge players for downloadable content natively within the game, thereby increasing the life span of your game and the value you can provide to customers.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access