What’s this? #
The built-in save system has been developed to allow you to permanently save the changes you make on the touch interface during the game. It therefore allows you to save and load different configurations of your touch interface in real time.
How to save a configuration? #
After modifying the touch interface, such as adding a new virtual button, you can use the Save Configuration node. This node has two parameters:
- User Index: Indicate which user is affected by this change.
- Config Index: You can save several different configurations. Simply indicate the index you want to use to save your configuration.
These two parameters will be asked when you want to load a configuration.
How to load a configuration? #
To load a configuration, you can use the Load Configuration node, it contains the two parameters mentioned above which will allow you to load the correct configuration. The Load Configuration node checks on its own if a save game slot exists on the storage space and if a configuration exists at the specified index. You can of course do these checks yourself by using the Configuration Exist and Virtual Control Designer Slot Exist nodes.
You can also use the initialization parameters of the touch interface if you want to load a configuration when you create a new interface.