The Saved Games service gives you a convenient way to save your players' game
progression to Google's servers. Your game can retrieve the saved game data to allow returning players to continue a game at their last save point from any device. The Saved Games service makes it possible to synchronize a player's game data across multiple devices. For example, if you have a game that runs on Android, you can use the Saved Games service to allow a player to start a game on their Android phone, and then continue playing on a tablet without losing any of their progress.
This service can also be used to ensure that a player's game play continues from where it left off even if their device is lost, destroyed, or traded in for a newer model. To learn how to implement saved games for your platform, see Client implementations. A saved game consists of
two parts:
A game can write an arbitrary number of Saved Games for a single player, subject to user quota, so there is no hard requirement to restrict players to a single save file. Cover imagesThe Saved Games service provides a visual user experience in addition to persistence features. You are strongly encouraged to associate representative images with corresponding save files. If you are using the default Saved Games list user interface (UI) provided by the Play Games SDK in your game, the UI will display these cover images. The cover images may also appear in the Google Play Games app. DescriptionsYou can provide a short text description of the content of a particular saved game. This description is directly displayed to players and should summarize the state that the saved game represents; for example, “Fighting the Goblins in the Dark Woods”. QuotaDevelopers are not charged for any saved game data that’s stored in the cloud. Instead, this data is counted against the player’s Google Drive quota - you never have to worry about it. The only quota that game developers need to care about is their Google Drive API quota. Read/Write isolationAll Saved Games are stored in your players' Google Drive Application Data Folder. This folder can only be read and written by your game - it cannot be viewed or modified by other developers’ games, so there is additional protection against data corruption. In addition, Saved Games are insulated from direct tampering by players so they cannot modify individual Saved Games. Offline supportYour game can still read and write to a saved game when the player's device is offline, but will not be able to sync with Google Play games services until network connectivity is established. Once reconnected, Google Play games services asynchronously updates the saved game data on Google's servers. Conflict resolutionWhen using the Saved Games service, your game may encounter conflicts when attempting to save data. These conflicts can occur when a user is running more than one instance of your application on different devices or computers. Your application must be able to resolve these conflicts in a way that provides the best user experience. Typically, data conflicts occur when an instance of your application is unable to reach the Saved Games service while attempting to load data or save it. In general, the best way to avoid data conflicts is to always load the latest data from the service when your application starts up or resumes, and save data to the service with reasonable frequency. However, it is not always possible to avoid data conflicts. Your application should make every effort to handle conflicts such that your users' data is preserved and that they have a good experience. LimitsGoogle Play games services currently enforce size limits on binary data and cover image sizes of 3 MB and 800 KB respectively. Saved game metadataThe structured metadata for a saved game contains these these properties:
Client implementationsTo learn how to implement Saved Games for your platform, see the following resources:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2021-10-04 UTC. [{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }] How do you install Stardew Valley mods on Android?Install a mod. Open SMAPI.. Open the Help tab.. Tap the Nexus button. ... . Find the mod you wish to download and tap MANUAL DOWNLOAD. ... . Move the downloaded mod to your newly created Mods Folder (in Internal Storage/Stardew Valley/Mods).. Extract the zipped mod into the Mods folder.. Restart SMAPI.. Can I play Stardew expanded on Android?It supports most SMAPI mods and content packs (including framework mods like Content Patcher, Farm Type Manager, Json Assets, and PyTK), but some mods may not be compatible. Stardew Valley 1.5 and SMAPI 3.8 aren't available on Android yet. You may need to use older versions of many mods.
Is it possible to mod Stardew Valley Mobile?Once SMAPI is installed, install mods by unzipping them into the newly-created StardewValley/Mods folder. To launch the game with mod support, just run the SMAPI Stardew Valley icon or tap the floating action button in the installer app.
Can I play my Stardew Valley save on my phone?On mobile, Stardew Valley's save method is based upon the system used for computers, but with some additions to make it more suited to mobile devices. The game creates a folder on the device for each saved game.
|