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 / saving & loading save game?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 28th Aug 2006 03:23
anyone know where i can get a small example on saving & reloading into my game??
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 28th Aug 2006 03:53 Edited at: 28th Aug 2006 03:54
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. It's the near the last section.

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 28th Aug 2006 15:48
thanks!

Login to post a reply

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