Storage (required)
The Storage module persists player data: progress, settings, currency, level state. Without it, players lose progress between sessions. How to use it is one of the required steps; what moderation checks about saved progress is section 3.2 of the User Experience Requirements.
How it works
Bridge automatically picks the most suitable place to store data on the current platform, including cloud saves when they are available. No configuration is required from the game.
Implementation order
Required — On game start, call
storage.get(...)for the keys you need (level,coins,settings, etc.). Restore the player's state before showing gameplay.Required — On meaningful state change (level complete, purchase, settings change),
storage.set(...)to persist. Avoid saving every frame.
Load Data
Load data before gameplay starts. Missing keys return null, so always provide defaults in your game state.
In the event sheet:
On a trigger (e.g. Button → On clicked), queue the keys with Append Storage Data Get Request (one per key), then run Send Storage Data Get Request.
Add the On Storage Data Get Request Completed condition. Inside it, use Has Storage Data By Key for each key and read the value with the
PlaygamaBridge.StorageData("key")expression.
In the events sheet:
On a trigger (e.g. Button is clicked), queue the keys with Append Parameter to Storage Data Get Request (one per key), then run Send Storage Data Get Request.
Add the On Storage Data Get Request Completed condition. Inside it, use Has Storage Data for each key and read the value with the
PlaygamaBridge::StorageData("key")expression.

Save Data
Save data after meaningful progress changes, such as level completion, purchase, currency change, or settings update.
In the event sheet:
On a trigger (e.g. Button → On clicked), queue each key/value with Append Storage Data Set Request, then run Send Storage Data Set Request.
Add the On Storage Data Set Request Completed condition. Inside it, check Is Last Action Completed Successfully to confirm the save.
In the events sheet:
On a trigger (e.g. Button is clicked), queue each key/value with Append Parameter to Storage Data Set Request, then run Send Storage Data Set Request.
Add the On Storage Data Set Request Completed condition. Inside it, check Is Last Action Completed Successfully to confirm the save.

Delete Data
Delete data when you intentionally reset progress, clear settings, or migrate obsolete data.
In the event sheet:
On a trigger (e.g. Button → On clicked), queue the keys with Append Storage Data Delete Request (one per key), then run Send Storage Data Delete Request.
Add the On Storage Data Delete Request Completed condition. Inside it, check Is Last Action Completed Successfully to confirm the deletion.
In the events sheet:
On a trigger (e.g. Button is clicked), queue the keys with Append Parameter to Storage Data Delete Request (one per key), then run Send Storage Data Delete Request.
Add the On Storage Data Delete Request Completed condition. Inside it, check Is Last Action Completed Successfully to confirm the deletion.

Last updated