Skip to main content

Overview - Cloud saves - (Unity module)

Last updated on October 24, 2024

Introduction

Being able to save player preferences can make for a more enjoyable and personal gaming experience. In this module, you will learn how to leverage cloud storage to save a player's preferences for cross-platform support.

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 Unity project repository.

  • To have force enabled this module. You can do this by adding the following code to the Assets/Resources/Modules/TutorialModuleConfig.json file:

    {
    "enableModulesOverride": true,
    "forceEnabledModules": ["CloudSaveEssentials"],
    "forceDisabledOtherModules" : true
    }

Learning objectives

At the end of this module, you will know how to implement getting and saving player records with the AccelByte Gaming Services (AGS) Cloud Save service. You will also learn how to delete player records in the AGS Admin Portal or by using the AGS Game SDK.

Preview

At the end of this module, your project will look like the image below.

Game Options with Cloud Save record preview Unity Byte Wars cloud saves