top of page

system: multi-save

flash demo: click on the flash demo to interact. there are 2 different save slots. each save slot uses 2 buttons. this flash file has only one actor type and one game attribute used.

References::: the load and save button in one actor type

ms 0a0.png
ms 0a1.png
the scene
ms 1a1.png
ms 1a2.png
ms 1a3.png

the Stencyl save system:

the save snippet and load snippet can be found in Game > save/load

the code for the save snippet:

*/==============================

saveGame("mySave",function(success:Bool):Void

{

});

==========================

​

the code for the load snippet:

loadGame("mySave",function(success:Bool):Void

{

});

=========================

​

however the "mySave" changed into other names and the save load system still works but different address. allowing the flash to have more than one save file.

​

if error occurs::: check that the ";" is placed at the end of these commands.

if it the load system does not work properly. make sure the save address is the same as load address.

bottom of page