This repository contains a simple Breakout game with the UE PlayFab Plugin integrated. It depends on the PlayFab UE Plugin in the UE Marketplace.
- Start Screen - allows the user to register or login with an account. The DevSecret is registered on the Start Screen as it is needed to upload high scores.
- Gameplay - the Breakout game
- Leaderboard - shows the player display names for the high scores page
- ClientAPI::RegisterPlayFabUser() - used to create a new user account for the associated titleId
- ClientAPI::LoginWithPlayFab() - used to login with an existing user account for the associated titleId
- ServerAPI::UpdatePlayerStatistics() - used to save the current player's score
- ClientAPI::GetLeaderboard() - retrieves high scores
- Clone repository: git clone https://github.com/PlayFab/UeDemo.git
- Right click the uproject file and Generate Visual Studio project files
- Open and run the solution file (or open the uproject directly)
- Select the StartScreen level
- Play