Quote from: Crimson Wizard on Mon 22/06/2020 02:25:27Quote from: Totora Games on Mon 22/06/2020 02:02:11
I assume that those saved files were created in all my tries, but I don't know how to erase it so that the ListBox appears empty the first time you enter the game.
You may add Delete Save button and call DeleteSaveSlot() on click to let user delete existing saves.
I don't think it's a good idea to automatically delete all existing files without asking, because player could have transferred them from another location for example.
And of course you may just go into %USERPROFILE%\Saved Games\<your game name> folder in Windows Explorer and delete these by hand.
Great, that finally worked and now I can save/load games! The only thing is that I really don't know how to add a Delete Save Button, due to the fact I'm using the SaveGameDialog.