Overview - Joinable sessions with peer-to-peer - (Unreal Engine module)
Last updated on October 24, 2024
Introduction
A match session allows the players to directly create a game session and join a specific game session. In this module, you will learn how players can create, browse, and join a game session using peer-to-peer (P2P).
Prerequisites
To complete this module, you will need:
To have completed the following module:
The Byte Wars
tutorialmodules
branch checked out in your local Byte Wars Unreal project repository.To have force enabled this module. You can do this by adding the following code to the
Config/DefaultEngine.ini
file:[AccelByteTutorialModules]
+ForcedEnabledModules=TutorialModule:MATCHSESSIONP2PESSENTIALS
...
Learning objectives
At the end of this module, you will know how to implement:
- Creating a game session with P2P
- Browsing and joining player-created game sessions with P2P
Preview
At the end of this module, your project will look like the images below.
Creating a game session.
Browsing and joining a game session.