What’s currently the best save load solution for the game engine? This is an integral part of my game yet I don’t have the technical know how to make my own system from scratch. I’ve tried monster’s system as well as agoose’s with no luck. Agoose’s worked but had trouble with added objects/ deleted objects. I need a system that’s simple to implement and gives me the ability to have multiple saves, or at least one save. I can set up the logic for when to execute the save/load, I just need a working system.
Here is a video tutorial on this:
Yeah I’ve been through that tutorial, it’s a little too basic, it doesn’t deal with spawned/removed objects and scenes.
I think this a really important discussion regarding save/load and one that shouldn’t be swept under the rug. I’ve been able to find working solutions for just about anything on this website and it amazes me that there aren’t more resources for something that is so important.
There are many Python tutorials on the web that explain how to save, and load data from a file, so there’s no need for a BGE specific tutorial (the methods are the same).
I’m sure there are people here who would help you write the relevant code, if you could be a little more specific about what kind of data you want to save for each object in the scene.
As for spawned objects: You’ll just have to re-spawn them at load-time, and set their position/orientation to whatever was previously saved. If you know Python, and how to spawn objects in the BGE, it shouldn’t be that difficult (if you don’t know Python, you might want to learn that first).
I know enough python to control objects and their parameters and deal with logic but I’m not very technical, I basically know enough to get me by. It’s becoming obvious that there isn’t a one size fits all solution that I was hoping for and I’m going to have to do some work to get a system in place.
A little knowledge is a dangerous thing.
well said Goran. Fluppi, I went through that video again with a different perspective and it shows the very basics of save/load. Implementing my own system won’t be as hard as I thought. Thanks guys
spawned/removed objects
Is that an object pool?