Unity Networking Fundamentals (eBook)
XVI, 266 Seiten
Apress (Verlag)
978-1-4842-7358-6 (ISBN)
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
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.
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 LearnKnow the difference between TCP and UDP, and the pros and cons ofthese protocolsCreate client-server multiplayer games in Unity using C#Receive and process data from a remote server using RESTful APIsUnderstand latency and how to mitigate its impact Who This Book Is ForReaders familiar with Unity and C# development who want to create multiplayer games
Erscheint lt. Verlag | 13.11.2021 |
---|---|
Zusatzinfo | XVI, 266 p. 83 illus. |
Sprache | englisch |
Themenwelt | Informatik ► Software Entwicklung ► Spieleprogrammierung |
Schlagworte | Networking • RESTful APIs • Serialization • Socket Programming • TCP • UDP • UNITY |
ISBN-10 | 1-4842-7358-3 / 1484273583 |
ISBN-13 | 978-1-4842-7358-6 / 9781484273586 |
Haben Sie eine Frage zum Produkt? |
Größe: 5,3 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich