Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gdevelop5:all-features:storage [2018/07/25 00:20] 4ian created |
gdevelop5:all-features:storage [2020/12/26 13:56] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
Games can store data, such as the player progress. See [[gdevelop5: | Games can store data, such as the player progress. See [[gdevelop5: | ||
+ | |||
+ | < | ||
+ | |||
+ | ## Clear the storage during a preview | ||
+ | |||
+ | Data is stored permanently in the internal storage of the preview window, which is persisted across previews and even after GDevelop is closed (like in an exported game). | ||
+ | |||
+ | When we preview our game it can be sometimes useful to have the data reset, like if it's the first time the game is launched. To do this, you can clear the storage: | ||
+ | |||
+ | - In the top bar of the preview window select **View** -> **Toggle developer tools**. | ||
+ | - The developer tools usually open with the ' | ||
+ | - Click the ' | ||
+ | - After you have selected the ' | ||
+ | - If you click the ' | ||
+ | - To clear the data, click ' | ||
+ | |||
+ | You can now close the preview window. When running the preview again, the stored data will be gone. |