Book Image

Multiplayer Game Development with Unreal Engine 5

By : Marco Secchi
Book Image

Multiplayer Game Development with Unreal Engine 5

By: Marco Secchi

Overview of this book

If you’re fascinated by the immersive gaming experiences that enable multiple users to engage in collaborative or competitive gameplay, this Unreal Engine 5 game development book is for you. In this book, you’ll learn the foundational principles behind multiplayer games. Starting with a sample project, you’ll learn how to set up a networked system and make it work. Once the prototype of the project is functional, you’ll start adding game logic, including obstacles and AI opponents, to heighten the challenges and engagement, offering a captivating experience for players. Next, you’ll learn how to debug and optimize the project, before finally deploying the game build and integrating it with cloud services such as the Epic Online Services system. By the end of this book, you’ll have the confidence to develop and manage multiplayer experiences using the Unreal Engine environment, taking your newfound programming skills in your upcoming projects.
Table of Contents (22 chapters)
1
Part 1:Introducing Multiplayer Games
5
Part 2:Networking and Multiplayer Games in Unreal Engine
10
Part 3:Improving Your Game
15
Part 4:Deploying Your Game Online

Reviewing gameplay twists

Given all the aforementioned options available, it is simply a matter of personal preference which multiplayer game genre a player chooses. However, as a developer, you need to be aware of different types of gameplay and technologies to make your project work properly. In this section, I will present a couple of twists applied to regular gameplay.

Asymmetrical gameplay

In asymmetric multiplayer games, two or more teams of players compete in gameplay where the mechanics are different for each group. These games usually require players to set their strategy depending on their chosen side.

One of the best examples is Among Us (https://www.innersloth.com/games/among-us/), which is set on a spaceship where some player takes the role of an impostor whose aim is to let all other crewmates die in some “unexpected” accident before their true identity is revealed.

Hide-and-seek gameplay

There are some games that are meant to be open-ended, letting players explore worlds with considerable freedom and achieve more objectives compared to other more linear adventures.

In multiplayer games, this has led to some hide-and-seek variants, where players try to avoid each other (or the main storyline), whether the game officially supports them or not.

An example of this kind of twist is Secret Neighbor (https://www.secretneighbor.com/), a multiplayer social game where a group of adventurous kids is trying to sneak into their mysterious neighbor’s home to uncover evidence that suggests he is keeping children captive.

Asynchronous gameplay

An asynchronous multiplayer game will let players interact with each other without the need to be connected at the same time. These games are usually played in turns, where each player will make their move and will wait for the opponent to complete the next one.

And yes...online chess is an asynchronous game!

Now that you have a strong understanding of the main networked game genres, you may be wondering whether game engines’ multiplayer technologies are just for gaming. In the next section, I will provide some examples that demonstrate the opposite.