Cloud Services

These function can be used to sync data to different cloud services.

When making games, it is often necessary to store information about the game state in a file of some type, but storing this information on the device is not always the best option as, if the player deleted the game and then re-installs, this information may be lost. To prevent this you can use various different cloud services, which offer data storage over the internet for retrieval and modification at any time. You should note that this function is limited to one single data "blob" per game, so every time you send a new save to the cloud service, whether it is a string or a file, it will overwrite any previously stored data.

GameMaker: Studio supports this with a few simple functions that work in conjunction with the Asynchronous Cloud Event. These functions are explained on the following pages:

  1. cloud_synchronise
  2. cloud_string_save
  3. cloud_file_save

NOTE: Currently only Amazon WhisperSync is supported and you must activate it through the Android Tab of the Global Game Settings.


Back: Reference
© Copyright YoYo Games Ltd. 2018 All Rights Reserved