Hello everyone. I'm very new to all of this so it may be a silly question but here it goes: I'm wondering the extent of the control you can exercise over the save system in sugarcube. I have managed to get the game to purge saves on start-up (SaveSystem.purge() in the javascript window) but I am struggling to get the same thing to happen when the player finds themselves on the "You are dead" passage in my story. I don't want to disable saving all together I just want saves to be deleted when the player dies.
That said for future projects: Can you disable saves altogether in sugarcube?
Thanks in advance for anyone who tries to answer my query
Comments
Not as such, no. That said, you don't have to provide players with a way to access the subsystem, which amounts to the same thing.
You may remove the "Saves" menu item from the UI bar in SugarCube v1 by doing something like the following: (goes in Story JavaScript)
You may remove the "Saves" menu item from the UI bar in SugarCube v1 by doing something like the following: (goes in Story JavaScript) [/quote]
Looking for a way to disable the save option so I tried this (adding that to the Story Javascript) but the "Saves" option remains. Using Sugarcube 1.0.32. Also tried publishing to file to see if final product was different but no change. Something else I should be doing?
SugarCube v1.x
SugarCube v2.x
Sorry about that.