Chapter 14. Come Play with Us! – Multiplayer Subtleties
Lots of great things in this world have incredibly humble beginnings. The contents of this book, from cover to cover, tell a story of a journey that began with nothing more than an interest and the will to create. Now that we're at the climax of our tale, why not end with a bang? Let's bring things back full circle and combine the framework we've developed with capabilities of networking to bring the third project of this book into new light! Let's connect our players not just through means of simple information exchange, but also through gameplay.
In this chapter, we're going to cover:
- Building a game server that supports previously implemented mechanics
- Exchanging entity data over a network
- Transforming existing game code into a client application
- Implementing player versus player combat
- Hiding network latency by smoothing out entity movement
There's a lot of code to cover, so let's get...