Chapter 9. Real-time Tank Game

WE’VE COME A long way in this book. We’ve learned the basics of communicating over a socket using the ElectroServer API, explored client-server authority in games, and looked at real-time movement concepts in detail. This is the chapter where it all comes together in the form of a real-time multiplayer tank game!

This chapter is partly devoted to discussing how things learned up to this point have been applied in this game. After that, we look at line of sight in detail as it is used for path validation and predicting some bullet collisions. In addition, we will briefly discuss the level editor as well as introduce the concept of spatial audio.

Game Overview

In this game, you control a tank using your mouse and ...

Get ActionScript for Multiplayer Games and Virtual Worlds 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.