Game
Crumbling World

6 years ago

Save And Load System
Hello everyone! Over the last week, I have been creating the save and load system, which will allow users to save their progress and continue the game where they left off after stepping away.


5d090286d1c1b.jpg

Goals

The main goal of this update was to create a simple system that would allow players to save their progress. With the addition of this feature, if a player’s character is slain or if a player just wanted to take a break from gameplay they can return and resume their game from where they previously left off. While this seemed to be a pretty easy feature to implement in my mind, I underestimated the issues that I was going to face when I took a deeper dive into the system.

5d0902878f0e6.gif

Challenges

After I began work on the save and load system it became apparent that there were going to be some difficulties along the way. In particular, I had two main challenges that I had to work around.

The first challenge I faced was how to handle the procedural generation of the world. As Crumbling World procedurally generates levels, I wasn’t able to implement a system that would allow players to save their game at any given moment. Instead, I created checkpoints at which players would be able to save their progress. Thankfully, I was able to implement this solution much faster than I anticipated. The most significant disadvantage associated with this approach is that there are only a few checkpoints available per level, placed at the base and hubs associated with each level. This means that if players miss one of these checkpoints, they could quickly lose all of their progress. On the other hand, this checkpoint system provided the benefit of greater control, which allows me to instantiate players at these checkpoints regardless of how a given level is generated.

5d09028ed5057.gif

The second challenge with implementing this system involved the Quests. I had to figure out some method of tracking which challenges have been accepted by players and which ones have been completed. This is an especially important feature, as some levels remain closed until players complete certain quests, which means that there could potentially be an issue that would ruin gameplay by either breaking the game or allowing players to reach inaccessible levels without a fix. I solved this challenge by modifying the Quest System. Specifically, I moved the Quests list from the player to the Level Manager, which allowed me to retrieve and directly assign Quests to the player through a Quest ID.

5d0902908a205.gif

With this being said, one of the limitations of the save and load system is that it can only store certain types of data, such as integers, floats, strings, and boolean operators since binary encryption is used to protect the save files. The ability to save an ID, which is considered an integer, greatly simplified the save and load system. Now, I could check the Level Manager to see which Quests were accepted and completed, which helps the game to better track the progress of the player by merely matching IDs, instead of having to save and load all of the data associated with a Quest. By far, the current system is far more efficient, quick, and straightforward. Now, Crumbling World supports the ability for players to save their progress and enjoy the game even more.

I’m working hard on more exciting and enjoyable features that are sure to improve the playability of Crumbling World. If you’d like to keep updated on upcoming news and updates, please consider signing up in dumearts.com. Alternatively, consider checking out Steam, where you can wishlist Crumbling World. Thanks for reading, and I look forward to sharing more exciting updates with everyone soon!



0 comments

Loading...

Next up

In Lobo, enemies have a random chance to perform synced attack animations. To enhance the cinematic experience, I’ve added a spectator camera that spawns dynamically to capture the action—cleverly avoiding collisions and obstacles for the perfect shot!

UI, Communication And Usability This week, I have been working on the main user interface (UI) for Crumbling World. UI is an essential part of any game, as it is one of the main tools that we as game designers use to communicate with our players directly.

Testing enemy reactions and fine-tuning the timing window for perfect blocks and counterattacks in Lobo. Each enemy brings a unique challenge! 🛡️⚔️ #GameDev #IndieGame #ue5

Work in progress: Inventory and equipment system updated with new slots for my game, Lobo! 🛡️🎒 #GameDev #IndieGame #uidesign

Back to level design! Working on the lighting and atmosphere in Lobo to perfectly capture the story and lore of the world. 🌑💡

Do you want to play Crumbling World for free? The new demo includes the same features and improvements that the full game. Download the FREE DEMO here: https://gamejolt.com/games/crumblingworld/358092 Thanks so much for your support

When an enemy's health drops below a certain threshold, you can unleash brutal finishers! The threshold and animations scale with the player's level. Here's an example of a finisher using a firearm. 🔥

Jump And Grab Edge System Since the last update, I have been working on the Jump and Grab Edge System for Crumbling World. I decided to rework these movement mechanics, as I thought it would be great to add a bit more complexity to each of the levels.

Hi everyone! CrumblingWorld is finally out! Grab it now! It's 27% off on Steam. https://store.steampowered.com/app/1003560/Crumbling_World/

Crafting a sword for a video game! ⚔️

I’m available for commissions—whether it’s characters, accessories, or props for your game, don’t hesitate to reach out!