So basically, I'm making a game with multiple paths, just like Undertale. I want it so that when you get to the end of one of the paths, it deletes your save file. Can I do this?
Delete Save
RPG Maker MV SupportTo erase Save File through script call-
index = save id
Or plugin: https://forums.rpgmakerweb.com/inde...by-events-ect-rpg-maker-mv.88607/#post-807083
Code:
StorageManager.remove(index);
Or plugin: https://forums.rpgmakerweb.com/inde...by-events-ect-rpg-maker-mv.88607/#post-807083
The answer to your question is "yes, it is possible", the question you should ask yourself though is:
"Why do you want to delete it?"
The only reason I can see is that of forcing the player to replay the whole game to be able to see a different ending. If that is the case, I can see two different situations:
After all, once your data is saved, there is nothing preventing the player from making backup saves if replaying your game is not an enjoyable experience. This is why, even if it is possible, I would strongly recommend to avoid resorting to such a thing.
In the end, these two questions are my main point:
"Do you like when people tell you what to do in your free time? If you do not, why would the player enjoy you telling him or her to replay your game?"
"Why do you want to delete it?"
The only reason I can see is that of forcing the player to replay the whole game to be able to see a different ending. If that is the case, I can see two different situations:
- Your game is good and replaying it is a nice experience;
- Your game is mediocre and replaying it is not a very nice experience and it is quite boring.
After all, once your data is saved, there is nothing preventing the player from making backup saves if replaying your game is not an enjoyable experience. This is why, even if it is possible, I would strongly recommend to avoid resorting to such a thing.
In the end, these two questions are my main point:
"Do you like when people tell you what to do in your free time? If you do not, why would the player enjoy you telling him or her to replay your game?"
I want to give the player the idea that they are no longer the one in control of their own save file, that someone else, some kind of self-aware entity in the game, is.
You know how in Undertale, after the genocide ending, Chara deletes your save and the world you destroyed? I want it to kinda simulate that.
@AcousticJamm I did not take that possibility into account. If that is the reason just go for it, the code that tale wrote above should do the trick.
Yes, that worked. Thanks.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/delete-save.110904/