I’m not a game designer but I am a software engineer. There’s a pattern called Event Sourcing that basically tracks all of the events that may happen to a system (that are storage worthy).
To put this into simpler terms, imagine you have a piece of paper (a ledger), a basket, and an apple, and that you record every time the apple is added or removed from the basket. Rather than crossing out or erasing the last line and rewriting it, you would simply add a new line to describe what happened. At the end, you would have a series of additions and removals of the apple to and from the basket, but in the end you still have one apple either in, or out of the basket.
Extrapolate that to much larger game systems and you have, obviously, much more than an apple and a basket, but the theory is the same. Everything that took place was recorded and can be replayed to produce the exact same state as before.
This doesn’t apply to all games/software, as some just save a previous state at a given moment and reload it. This would be more akin to a backup than event sourcing.
Latest Answers