Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5691 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Could someone tell me the correct approach for writing a SAVE module for a 3D game. Would like to know exactly what is used to save a game. Thank you Tom

Share this post

Link to post
Share on other sites
it's pretty much entirely dependant on the specifics of your game.

some things that may be universal:

-current map/level
-what objects (monsters/characters/bullets/spells) are currently active (index list of dynamic objects perhaps)
-position and stats of same objects (hp, spells left/bullets left, etc)
-state of any AI state machines

anything else that your game requires to run which is not already "saved" in some sort of file. i.e. you won't save the level map b/c that's already in a file.

more or less, it'll become readily apparent what you need to save once you write the game and engine. until the engine/game is at least partially written, there's not much point in coming up with a save game file format.


[edited by - Palidine on October 21, 2002 4:04:51 PM]

Share this post

Link to post
Share on other sites
I need to figure this out too.. how to write data from different types of arrays or structures to a file, then load them back into arrays or structures again, with another function. I dont just mean strings, that would be easy, but I need floating point numbers and bytes to be saved and then loaded too.
Anyone have any good links or tips?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!