Keep unlocked endings and extras when the player starts over
A player who earns every ending wants the gallery to remember it, whatever save they load or delete. Here is how to split what belongs to the player from what belongs to one run, and what to carry into a new game on purpose.
Why this works
Things the player has earned belong to the player, not to one playthrough. Keeping them in a separate record that only grows means deleting a save or loading an old one can never take away what was already seen.
When not to use it
Wrong when the experience is meant to be one single run that cannot be repeated, or where unlocking should cost effort each time. Keep everything inside the save there, and drop the shared gallery.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- A diagram of every state
- 26 lines of example code with 3 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "Keep unlocked endings and extras when the player starts over" (read_entry gallery-unlocks-survive-new-games) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP