Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / help with making .sav files for my game

Author
Message
SpartanR93
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location:
Posted: 24th Mar 2009 18:02
does anyone know how to make a save file that the user/ player can save all data to, so the game will be exactly as they left it?
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 24th Mar 2009 22:59 Edited at: 24th Mar 2009 22:59
Quote: "Basically, to save you need to save EVERY attribute about your game, you need to save EVERYTHING. Player's position, character, health, world, score, etc. You can do this using the file commands or you can use an array and then save it. This I find easier. If you want to learn how to save arrays, check out my tutorial on arrays, titled A TUTORIAL ON ARRRAYS in this board."

-I wrote that in another thread

However, I now tend to use the file commands method now because my stuff doesn't always fit neatly into an array.

<---Spell casting battle game!
SpartanR93
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location:
Posted: 26th Mar 2009 17:36
thanks, that helped a lot.

Login to post a reply

Server time is: 2024-11-24 11:26:35
Your offset time is: 2024-11-24 11:26:35