Cloud Save
The Cloud Save plugin is specifically designed to implement native mobile Cloud Storage features in both Android and iOS, for games built using Construct 3.
The Cloud Save plugin utilizes Android's free Google storage features and iOS' free iCloud storage features. The plugin allows you to store your player's game save state and application settings online for free, and safely in the user account's free storage allocation.
The Cloud Save plugin includes save and load features with support for string data or data object (JSON), and dictionary support. Version control features include overwrite and merge. And, data fetch and retrieval features include the data timestamp.
Introduction
The Construct Master Collection supports the full and easy integration of native mobile Android SDKs and iOS SDKs for both Construct 3 and Construct 2.
Please click here to learn more about Mobile.
Features
The Cloud Save plugin is specifically designed to implement native mobile Cloud Storage features in both Android and iOS, for games built using Construct 3.
Here are some of the native features of the mobile plugin:
Android SDK
iOS SDK
Google storage
iCloud storage
Free built-in Android application cloud save service.
Free built-in iOS application cloud save service.
Save user's game application data.
Load user's game application data.
Save and load in object or JSON string.
Save and load in dictionary.
Version control
Overwrite
Merge
Date timestamp
Debugging tools
GDPR and other data privacy compliances.
Well maintained and fully tested on all platforms and platform versions, and ready for production release.
For more information about native mobile or Android and iOS features, please click here to learn the introductory lessons to Mobile.
Platform Integration
Here are some of the platforms that are natively supported:
Android
iOS
Native Android
Native iOS
Build Support
Here are some of the supported build options:
Construct 3 Build Service
Android Studio
Xcode
Phonegap
Editor Features
Here are some of the features in the Construct editor:
Construct 3
How to use?
It is easy to use the Cloud Save plugin, you will only need to follow the steps below.
1. The first step is to add the Cloud Save object into the project.
Documentation
There is currently nothing to show, we will add more in the future.
Actions, Conditions & Expressions
Actions
The following action groups:
General
Cloud
Dictionary
General
Initialize - Run to initialize the cloud save features.
Cloud
Load - Load the latest saved state from the cloud.
Save - Upload the JSON string representing the user account's save state data.
JSON - The JSON string containing the save state object to upload to the cloud.
Method - Choose whether to overwrite the old data. Or, merge changes with the previous data.
Dictionary
Add Key - Add a key-value pair data for the next "Save Dictionary" action.
Key - The name of the data property.
Value - The value of the data property.
Save Dictionary - Upload the created dictionary representing the user account's save state data.
Method - Choose whether to overwrite the old data. Or, merge changes with the previous data.
Conditions
The following condition groups:
General
Cloud
Debug
General
On Initialized - Trigger fires when the native cloud save sdk has fully initialized.
Is Initialized - Check if the Cloud Save SDK has been initialized.
Cloud
Has Record - Check if the user has a saved state recorded, upon initialization.
On Update - Trigger fires when another device of the same account updated the user's cloud storage while the current device application is running.
On Loaded - Trigger fires when the user's native cloud state data for the application has been retrieved.
On Saved - Trigger fires when the current user's device has successfully uploaded the cloud save data.
On Load Failed - Trigger fires when an attempt to load the user's cloud save data has failed.
On Save Failed - Trigger fires when an attempt to upload the user's data changes for the cloud has failed.
Debug
On Error - Trigger fires when an error happens.
On Debugger - Trigger fires when Android Studio or Xcode runs the debug command, enabling native debug mode.
Is Debugging - Check if Android Studio or Xcode had ran the debug command which enables native debug mode.
Expressions
The following expression groups:
Cloud
Dictionary
Debug
Cloud
Timestamp - The timestamp of the currently loaded cloud save data.
Data - The currently loaded save data from the user's native cloud storage, in JSON string.
Dictionary
Get - Retrieve the currently loaded cloud data value from a key. This is only for "Save Dictionary" written data!
Key - The key of the value to retrieve.
Debug
Error - Retrieve the error message from the recent error event.
Showcase
The Cloud Save plugin is specifically designed to implement native mobile Cloud Storage features in both Android and iOS, for games built using Construct 3.
Game Projects
Instructions Kit
Specifications
-
Instructions - The game project contains instructions and steps on how to use the addon and its features.
-
Action, Conditions and Expressions - It covers the implementation of each action, condition and expression.
-
Tips and Tricks - It provides some tips and tricks on the recommended ways of using the addon.