Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Saves and loading maps

Hi

When I have a saved map I have a problem. If I edit the map and load the save nothing changes. If I transport to a different map and back (after loading), will the map have the made changes?

Thx~~!
 
How about database changes like changing the level at which a skill is gained from above the saved game character level to below the saved game char level, etc.?
If I'm reading this correctly, you should probably use conditional branches.  Make the system run a check, based on something like this:

If Switch [New Map] is ON (if you want to change it mid-game.  If it's just you playtesting, you don't really need this)
If Character Level = Whatever
If Character has Skill A

Make that into a parallel event and make changes based on the conditions, and that should work. :thumb:
 
I think cheeze is right. Although your way will work, Guardian, it would just be simpler to change it in the database. If you were to do your way, and you had a quite a few of those parallel process running, then it would really slow down your game. I would just suggest that you just add the skill in the database under the classes tab. You shouldn't need to change the skills in-game. Set them in the database. That's what it's for... Really though, I have now idea how you guys made anything out of that post  :dead: . It just seems like a lot of jibberish... If I make it out right, then the question has something to do with multiple saved games. Which, if that's the case, to check something in another save game will include some scripting.
 
^

What post was gibberish?

Anyways, thanks for the advice. : ) Though nice to know, I actually was just talking in general about database changes and don't need any specific fix for skills.

To elaborate for ^, here's a better example than the skills:

Monster Bob has 200 HP. I save the game.
I go into database and change HP to 300. I load the game.

Will Bob have 200 or 300 HP?

That's basically what I'm getting at; general database changes like weapon's physical attack, skill levels, animations, set battle BGM, etc.. :3
 
ahhh... I get it. I think that it should, though I'm not sure. You may have to leave the map and come back to it.

and I was talking about your last post. The end of it made my head hurt trying to make sense of it...  :crazy:
 
To answer your example, Bob will have 200 HP, since the information has already been stored in the file. That character information was only refered to during the initiation of the game or in other words, when you select new game, and isn't addressed anymore unless you alter it during the game. So, if you get rid of Bob completely, he will still be there in the load file. That answers your question right?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top