概要 - パーティでプレイする - (Unreal Engine モジュール)
Introduction
Once you have a party of friends, you will want to play together. In this module, you will learn how to implement joining a Byte Wars match together with your party using AccelByte Gaming Services (AGS).
Prerequisites
In order 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 force enable this module by adding the following code to the
Config/DefaultEngine.ini
file:[AccelByteTutorialModules]
+ForcedEnabledModules=TutorialModule:PLAYINGWITHPARTY
...
Learning objectives
At the end of this tutorial, you will know how to implement:
- Joining matchmaking with your party.
- Joining game sessions with your party.
Preview
At the end of this module, your Byte Wars will look like the images below:
After matchmaking with your party:
Log output:
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::OnStartPartyMatchmakingComplete Party matchmaking started.
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::OnPartyMatchmakingComplete Party matchmaking found. Currently joining the match.
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::OnJoinPartyGameSessionComplete Success to join party game session.After joining a game session with your party:
Log output:
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::OnCreatePartyGameSessionComplete Success to create party game session.
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::InvitePartyMembersToJoinPartyGameSession Send party game session invitation to: a247f4685e124bddbb0262cdc62cec29.
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::OnJoinPartyGameSessionComplete Success to join party game session.After browsing matches with your party:
Log output:
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::OnJoinPartyGameSessionComplete Success to join party game session.
LogPlayingWithParty: Log: UPlayWithPartySubsystem_Starter::InvitePartyMembersToJoinPartyGameSession Send party game session invitation to: a247f4685e124bddbb0262cdc62cec29.