Overview
Illustrates low-level alternatives to the deprecated HLAPI networking in Unity
Covers Software as a Service (SaaS) as well as peer-to-peer and client-server networking
Does not use third-party tools or services to enable multiplayer in your game
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (9 chapters)
Keywords
About this book
The book provides the basics of networking, sockets, TCP vs. UDP, client-server architecture, serialization, RESTful APIs, network latency, and client-side prediction. Projects are presented to illustrate the concepts, including a chat client/server overlay for your game, and a 3D maze game that allows up to four players to connect over the network.
By the end of the book, you will be familiar with low-level networking concepts such as protocols and architecture as well as high-level knowledge on how to create applications that use a client/server architecture for multiplayer games.
What You Will Learn
- Know the difference between TCP and UDP, and the pros and cons of these protocols
- Create client-server multiplayer games in Unity using C#
- Receive and process data from a remote server using RESTful APIs
- Understand latency and how to mitigate its impact
Who This Book Is For
Authors and Affiliations
About the authors
Khagendra Kumar has worked with a number of educational institutions and game studios for training and solutions. He lives in Bihar, India and spends most of his time working with game AI. He can be reached via Linkedin at /itskhagendra and Instagram @Khagendra_Developer.
Bibliographic Information
Book Title: Unity Networking Fundamentals
Book Subtitle: Creating Multiplayer Games with Unity
Authors: Sloan Kelly, Khagendra Kumar
DOI: https://doi.org/10.1007/978-1-4842-7358-6
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Sloan Kelly and Khagendra Kumar 2022
Softcover ISBN: 978-1-4842-7357-9Published: 14 November 2021
eBook ISBN: 978-1-4842-7358-6Published: 13 November 2021
Edition Number: 1
Number of Pages: XVI, 266
Number of Illustrations: 83 b/w illustrations
Topics: Game Development