Hello, I have a game with different levels. There are 3 stars hidden in each level. How do I make the save game so that each star can only be collected once and doesn’t appear again afterwards?
I think this is more like a “how to save progress” type of question since it’s practically the same thing whether you’re saving levels or collecting stars. Here’s a video I personally watched to learn about this exact topic: https://www.youtube.com/watch?v=14wmGdbhLOA
Hey there @NotPasi_TV! As Vis Agilis mentioned, for cases like this you would want to save the data of which stars were collected on level end and then load it whenever the level starts and remove the stars that have already been. I generally like to setup the Saving and Loading system functions in the GameState so you can keep variables persistent.
Here’s the documentation saves to accompany the video: