This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
editor:blocks:variables:load [2020/03/14 16:11] cyberix3d created |
editor:blocks:variables:load [2020/03/20 20:27] (current) cyberix3d |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Load ====== | ====== Load ====== | ||
- | The Load commands allows you to load saved data in your game. | + | The Load commands allows you to load [[editor:blocks:variables:save|saved]] data in your game. |
The Load commands also allows you to share data between diffrent game projects. | The Load commands also allows you to share data between diffrent game projects. | ||
- | {{:editor:blocks:variables:load1.png|500}} | + | {{:editor:blocks:variables:load1.png|}} |
===== Parameters ===== | ===== Parameters ===== | ||
- | * **File** - The file name to load data from. You can share saved data between diffent games by using the same file name. For example - If game1 save data to file1 then game2 can load the data from file1. | + | * **File** - The file name to load data from (the same file as the [[editor:blocks:variables:save|Save]] command). You can share saved data between diffent games by using the same file name. For example - If game1 save data to file1 then game2 can load the data from file1. |
- | * **Key** - The key value to load (the same key as the Save command) | + | * **Key** - The key value to load (the same key as the [[editor:blocks:variables:save|Save]] command) |
* **Target** - Where to load the data. It can be varible or some object's property. | * **Target** - Where to load the data. It can be varible or some object's property. | ||
+ | |||
+ | The ability to save data from one game and load it in the second game will work only on the web and windows (exe) but not on the apk version. | ||
===== Examples ===== | ===== Examples ===== |