Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Multiplayer Game Development with Unreal Engine 5

You're reading from   Multiplayer Game Development with Unreal Engine 5 Create compelling multiplayer games with C++, Blueprints, and Unreal Engine's networking features

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781803232874
Length 394 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Marco Secchi Marco Secchi
Author Profile Icon Marco Secchi
Marco Secchi
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1:Introducing Multiplayer Games
2. Chapter 1: Getting Started with Multiplayer Game Development FREE CHAPTER 3. Chapter 2: Understanding Networking Basics 4. Chapter 3: Testing the Multiplayer System with a Project Prototype 5. Part 2:Networking and Multiplayer Games in Unreal Engine
6. Chapter 4: Setting Up Your First Multiplayer Environment 7. Chapter 5: Managing Actors in a Multiplayer Environment 8. Chapter 6: Replicating Properties Over the Network 9. Chapter 7: Using Remote Procedure Calls (RPCs) 10. Part 3:Improving Your Game
11. Chapter 8: Introducing AI into a Multiplayer Environment 12. Chapter 9: Extending AI Behaviors 13. Chapter 10: Enhancing the Player Experience 14. Chapter 11: Debugging a Multiplayer Game 15. Part 4:Deploying Your Game Online
16. Chapter 12: Managing Multiplayer Sessions 17. Chapter 13: Handling Data During a Session 18. Chapter 14: Deploying Multiplayer Games 19. Chapter 15: Adding Epic Online Services (EOS) 20. Index 21. Other Books You May Enjoy

Technical requirements

As you may already know, the Unreal Engine Editor may be very demanding in terms of hardware prerequisites but don’t be scared. Luckily, this book is more focused on game programming than on real-time visual effects.

Here, let’s look at the hardware and software requirements, as well as some pre-requisite knowledge you will need to follow this book.

Pre-requisite knowledge

Before you get started, it is my duty to remind you that this book is meant for people who already have some knowledge about Unreal Engine development. As such, you should already be familiar with the following topics:

  • The Epic Games Launcher and the Unreal Engine Editor
  • Blueprint classes and Blueprint programming
  • C++ programming with your IDE of choice
  • A minimum level of understanding of C++ programming with Unreal Engine.

Hardware requirements

The following are some basic requirements officially recommended by Epic Games at the time of writing this book; if you have at least this hardware, you should be guaranteed a nice experience throughout the chapters:

  • Windows OS:
    • Operating System: Windows 10 64-bit version 1909 revision .1350 or higher, or versions 2004 and 20H2 revision .789 or higher
    • Processor: Quad-core Intel or AMD, 2.5 GHz or faster
    • Memory: 8 GB RAM
    • Graphics Card: DirectX 11- or 12-compatible graphics card
  • Linux:
    • Operating System: Ubuntu 22.04
    • Processor: Quad-core Intel or AMD, 2.5 GHz or faster
    • Memory: 32 GB RAM
    • Video Card: NVIDIA GeForce 960 GTX or higher with the latest NVIDIA binary drivers
    • Video RAM: 8 GB or more
  • macOS:
    • Operating System: Latest macOS Ventura
    • Processor: Quad-core Intel, 2.5 GHz or faster
    • Memory: 8 GB RAM
    • Video Card: Metal 1.2-compatible graphics card

In my case, I’ve been writing this book with the following hardware:

  • Desktop:
    • Operating System: Windows 10 64-bit version
    • Processor: Intel Core i9 9900K @3.60GHz
    • Memory: 64 GB RAM
    • Graphics Card: NVIDIA GeForce RTX 3090ti
  • Laptop:
    • Operating System: Windows 10 64-bit version
    • Processor: Intel Core i7 9750H @ 2.60GHz
    • Memory: 16 GB RAM
    • Graphics Card: NVIDIA GeForce RTX 2070

Software requirements

This book assumes you have the Epic Games Launcher and Unreal Engine 5 installed and fully working on your computer.

Note

At the time of writing this book, the latest version of Unreal Engine is 5.1.1 but you will be able to follow along with any version more recent than 5.1.1.

Additionally, you’ll need an IDE supporting C++ and Unreal Engine. If you already have some past experience, chances are you have already installed Visual Studio 2019/2022 or JetBrains Rider; if you don’t, you will need to install one of them by the start of Chapter 4, Setting Up Your First Multiplayer Environment.

Note

This book assumes you have Visual Studio 2019 or 2022 installed and fully functional; however, it’s totally fine to use JetBrains Rider.

Setting up Visual Studio for Unreal Engine development

Once you have Visual Studio installed, you’ll need the following extra components to make it properly work with Unreal Engine:

  • C++ profiling tools
  • C++ AddressSanitizer
  • Windows 10 SDK
  • Unreal Engine installer

To include these tools, follow these steps:

  1. Open Visual Studio Installer.
  2. Select Modify from your own Visual Studio installation, selecting the version you will be using, as shown in Figure 1.1:
Figure 1.1 – Visual Studio Installer

Figure 1.1 – Visual Studio Installer

  1. Once the Modifying modal window opens, in the top bar, make sure you are in the Workloads section.
  2. Then, activate the Game development with C++ option by clicking the checkmark.
  3. Next, if it is closed, open Installation details | Game development with C++ | Optional from the right sidebar.
  4. Select C++ profiling tools, C++ AddressSanitizer, the latest Windows 10 SDK version available, and Unreal Engine installer, as shown in Figure 1.2.

Figure. 1.2 – Visual Studio with Unreal Engine installer activated

  1. Click the Install while downloading button (or the Download all, then install button) to start the installation process.

Once the download and installation process is finished, you will be ready to develop your own C++ games with Unreal Engine.

IDE support for Unreal Engine

Microsoft has recently introduced a new Unreal Engine integration extension for Visual Studio 2022 called IDE Support for Unreal Engine. This tool adds some new features such as Blueprint references, Blueprint assets, and CodeLens hints on top of Unreal Engine classes, functions, and properties.

To include this tool, follow these steps:

  1. Open the Workloads section if it has been closed.
  2. Activate the Game development with C++ option by clicking the checkmark.
  3. If it is closed, open Installation details | Game Development with C++ | Optional from the right sidebar.
  4. Select IDE support for Unreal Engine, as shown in Figure 1.3.
Figure 1.3 – Installing the IDE support

Figure 1.3 – Installing the IDE support

  1. Now install the tool.

Now that your IDE is properly configured, it’s time to gain some understanding of where multiplayer games come from. In the next section, you’ll learn a little bit of video game history.

You have been reading a chapter from
Multiplayer Game Development with Unreal Engine 5
Published in: Oct 2023
Publisher: Packt
ISBN-13: 9781803232874
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image