r/gamemaker•
AgentLym

How should I keep track of the game's "state"?

I am currently working on my game, and I am about to start adding some kind of system that will keep track of the current state of the game; for example, if player has accomplished x, then room y will have z changed.

It would be simple enough if it were just a couple of changes here and there-- but the problem is I want the game to follow a small story, so certain in-game events can only occur after other events, and only if player has done such and such.

Is there a generally accepted method for keeping track of all this, and also loading in all the changes when the player exits and re-loads his save file? I'm having trouble finding tutorials.

Posted Dec 31, 2019, 1:35 PM UTC

210
Loading comments…