Saving and Loading


A saving system was made that would record collected coins on the map into an array. Upon loading in, any coins in this "collected" array will change its mesh to indicate that it has been collected before. A checkpoint brings us to a new level. There is also a widget on the wall that lets the player get rid of the current or all saves.

There are a few things that are saved when it is called upon. If the checkpoint is hit, respawn point for the player will located at the checkpoint location. A door can be opened as well. That door will remember that it was opened if the save is called, and will open up upon a respawn event.

Get Coding II Project

Leave a comment

Log in with itch.io to leave a comment.