alesan99 / mari0_ae

Mari0: Alesan99's Entities
Do What The F*ck You Want To Public License
69 stars 26 forks source link

Add per-mappack suspend/save support with the option for map creators to save progress automatically #645

Closed skysometric closed 3 months ago

skysometric commented 3 months ago

Inspired by the number of people who dropped Retrush when they forgot to save, this PR adds tooling for map creators to add an "autosave" feature to their mappacks via the animation system. Each mappack now has its own suspend file, saved in the saves directory next to the mappacks folder. To maintain backwards compatibility, old mappacks do not autosave unless the creator adds support for it.

skysometric commented 3 months ago

Added a new dialog when starting a new game warning the player that doing so will delete save data. When "New Game" is selected, the "Select World" dialog appears. The save is not deleted until a world is selected. Saves are not deleted when loading the game through the editor, online, or other means. image

Alesan, WilliamFrog, and I all collectively agreed that saves should be permanent, and the self-destructing suspends discontinued. As such, the collectables requirement has been removed, and the pause menu has been updated to always show the Save Game option.

This satisfies my level of polish for this PR, so I'm opening it for review and merge.