Skip to Content
Unity Networking Fundamentals: Creating Multiplayer Games with Unity
book

Unity Networking Fundamentals: Creating Multiplayer Games with Unity

by Sloan Kelly, Khagendra Kumar
November 2021
Beginner
285 pages
4h 18m
English
Apress

Overview

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 ofthese 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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Building Multiplayer Games in Unity: Using Mirror Networking

Building Multiplayer Games in Unity: Using Mirror Networking

Dylan Engelbrecht

Publisher Resources

ISBN: 9781484273586Purchase LinkPublisher Website