Skip to main content

Overview - Play with friends - (Unreal Engine module)

Last updated on October 24, 2024

Introduction

This module will show you how to implement allowing players to invite friends into their current game session.

Prerequisites

In order to complete this module, you need:

  • To have completed one of the following modules:

  • 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:PLAYINGWITHFRIENDS
    ...

Learning objectives

At the end of this module, you will know how to implement:

  • Inviting friends to the current game session
  • Rejecting game session invitations from other players
  • Accepting game session invitations from other players

Preview

At the end of this module, your project will look like the images below:

  • Invite a friend:

    Invite a friend Unreal Byte Wars play with friends

  • Reject an invitation:

    Reject an invitation Unreal Byte Wars play with friends

  • Accept an invitation:

    Accept an invitation Unreal Byte Wars play with friends