The Essential Guide to Creating Multiplayer Games with Godot 4.0 - Henrique Campos

The Essential Guide to Creating Multiplayer Games with Godot 4.0

Harness the power of Godot Engine's GDScript network API to connect players in multiplayer games

(Autor)

Buch | Softcover
326 Seiten
2023
Packt Publishing Limited (Verlag)
978-1-80323-261-4 (ISBN)
42,35 inkl. MwSt
Level up your Godot 4 networking skills with this comprehensive guide featuring dedicated servers and persistent worlds, illustrated with key images in color

Key Features

Ensure player synchronization and coexistence in a game world
Mitigate latency in your multiplayer games to design a seamless shared experience
Optimize and debug your games using profilers and monitors to visualize performance
Purchase of the print or Kindle book includes a free PDF eBook

Book DescriptionThe Essential Guide to Creating Multiplayer Games with Godot 4.0 guides you in exploring the built-in network API for online multiplayer games, offering practical knowledge through concrete use cases.
Throughout the book, you'll assume the role of a network engineer in a fictional indie game studio, tackling real-world requests from your peers and gaining expertise in adding new network features to the studio's games. Following step-by-step instructions, you’ll go from making your first network handshake to optimizing online gameplay. You’ll learn how to sync players and pass data over the internet as you add online multiplayer features to a top-down shooter adventure game.
This book puts you in a fictional game project team where you set up your first online server before advancing to creating an online chat system and transitioning local gameplay to go online. With a focus on implementing multiplayer features, you’ll create shared world adventures and learn optimization techniques to allow more players to join your virtual world.
By the end of this book, you’ll have learned how to set up a client-server network, implement remote procedure calls (RPCs), sync node properties remotely, and optimize your games to create smooth online multiplayer experiences.What you will learn

Understand the fundamentals of networking and remote data exchange between computers
Use the Godot game engine’s built-in API to set up a network for players
Master remote procedure calls and learn how to make function calls on objects remotely
Enhance your GDScript proficiency to get the most out of this powerful language
Explore industry-standard solutions for common online multiplayer challenges
Improve your networking skills and discover how to turn single-player games into multiplayer experiences

Who this book is forIf you’re involved in game development with Godot and want to add multiplayer capabilities to enrich the shared gaming experience, then this book is for you. You’ll also find this book useful if you’re a network engineer looking to gain hands-on experience with practical projects. To get the most out of this book, a prior understanding of the Godot Engine design philosophy, the GDScript programming language, the SceneTree structure, and how nodes work is essential.

Henrique Campos is an indie game developer and game designer working in the industry since 2015. Starting as a University teacher in the Computer Graphics and Artificial Intelligence chairs and working for the GDQuest team from 2018 to 2022, he has also been providing consultancy for solo developers, studios, and schools. Under the alias of Pigdev, Henrique has been creating game development content on his YouTube channel since 2016. Among his projects, he wrote the Top 7 Godot Engine Recipes and the Platformer Essential Recipes ebooks where he presents design patterns that people can use to make games with the Godot Engine. A passionate open-source enthusiast, Henrique has been working and contributing to the Godot Engine project since 2016.

Table of Contents

Setting up a server for multiplayer game
Sending and receiving data
Making a lobby to gather players together
Creating an online chat
Making an online quiz game
Building an online checkers game
Developing an online Pong
Designing an online co-op platformer
Creating a top-down adventure game
Debugging and profiling the network
Optimizing data requests
Implementing prediction and interpolation
Caching data to decrease bandwidth

Erscheinungsdatum
Vorwort Nathan Lovato
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Spieleprogrammierung
Informatik Theorie / Studium Algorithmen
ISBN-10 1-80323-261-7 / 1803232617
ISBN-13 978-1-80323-261-4 / 9781803232614
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
2D- und 3D-Spiele entwickeln

von Thomas Theis

Buch | Softcover (2023)
Rheinwerk (Verlag)
29,90