Game Development Reference
In-Depth Information
Introduction
So far in the topic, we have done a lot of cool game-related stuff, such as SpriteKit, paral-
lax scrolling background, physics simulation with autonomous moving agents, three-di-
mensional game programming using OpenGL, and much more. All these were done to
make a single-player game, meaning only one person can play it at a time. But now, we
will be moving forward to make a multiplayer game, which engages more than one person
at the same time. Multiplayer is, in itself, more engaging and fun for the user, as live com-
petition gets into the picture, making the gaming experience a lot more enjoyable for the
users. So, it's time to understand things related to multiplayer games. In Chapter 12 , Imple-
menting Multiplayer Games , we will be creating a multiplayer game. For taking a tour of
multiplayer game development, the overall agenda will be divided into the following sec-
tions:
1. Creating a sample multiplayer game to understand the anatomy and various states
of a multiplayer game.
2. Doing the setup for the same multiplayer game using SpriteKit and Apple's Mul-
tipeer Connectivity framework. After that, handshaking or connection establish-
ment between players using MCBrowserViewController of the same frame-
work.
3. Assigning roles to players by sending and receiving network packets.
Search WWH ::




Custom Search