Load & Save Game
March 14, 2025It’s not glamorous, but a video game requires a lot of behind-the-scenes work. I spent the last few days wiring up menus and developing a save game system based on serializing and deserializing JSON files—it’s not complex, but I realized that if not done carefully, this is exactly the kind of thing that can result in game saves becoming corrupted. There needs to be validation before, during, and after saving, along with a disaster recovery mechanism to guarantee the validity of a save file. Now I have a splash screen, title screen, settings screen, load game screen, and credits screen. It’s starting to feel like an actual product!