Saving and Loading Feature


In this update, we added functionality to our save system. With a goal in mind, we determined how we were going to save/load in case the player dies. Changes include: 

  • The lava can now kill the player. When touched, it will reset the player to their last saved location or the respawn point. 
  • Coins can now be picked up. 
  • If a coin is picked up and the player dies before saving, it will respawn within the level as it should. 
  • If a coin is picked up, the player saves the game, and then the player dies, it will reappear with a emissive pink material, insinuating that it has already been collected (much like Mario).
  • The player can now delete all save data or just the current level's save data. 
  • The state of the door is saved. If it was closed and then the player saved, died, and respawn, then it would be closed on the player's latest save and vice versa. 
  • Stamina can now be saved as well. 
  • A way to hop between levels was implemented. If you stand on the glowing teal circle, it will teleport you to a new level. 
  • Finally, a new obstacle course level has been added. It combines all of the above features to make it a functional level. 


12/4/24 EDIT: 

Due to losing the level that was previously shown in this dev log, I have created a new video to show the saving and loading feature in a different level. My apologies. 

Get Game Design III/Coding II

Leave a comment

Log in with itch.io to leave a comment.