Skip to main content
Apress

Unity Networking Fundamentals

Creating Multiplayer Games with Unity

  • Book
  • © 2022

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

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (9 chapters)

Keywords

About this book

Learn the fundamentals of networking with Unity and C#. This book covers a variety of topics, including accessing data using RESTful APIs, local networked games, and creating multiplayer online games using client-server architecture.

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

Readers familiar with Unity and C# development who want to create multiplayer games

Authors and Affiliations

  • Niagara Falls, Canada

    Sloan Kelly

  • Katihar, India

    Khagendra Kumar

About the authors

Sloan Kelly has worked in the games industry for more than 13 years. He has worked on a number of AAA and indie titles and currently works for an educational game company. He lives in Ontario, Canada with his wife and children. Sloan is on Twitter @codehoose and makes YouTube videos in his spare time.

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

Publish with us