How do I make a save system for a collecting/building game?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Danielle’sgames

I’m working on a game where I’d like to have it be that items are collected and then they can be used to build things, be eaten for food, etc. I’ve been trying to figure out, though, how to build a system where if you push a key things such as the player’s position, item amounts, object states(whether or not it was collected.)etc. would be saved and then when you go back into the game later, and click on the load button, the game would load. Unfortunately, I haven’t really found any tutorials that help with what I’m looking to do.

:bust_in_silhouette: Reply From: vnmk8

in this flappy bird tutorial there’s saving and loading from a file in the user device