continuing a game????
Author |
Message |
the_noodle
|
Posted: Thu Mar 27, 2003 10:12 am Post subject: continuing a game???? |
|
|
hey I was wondering if you guys could help me with a code for continuing a game from where you last left off or saved??? i just cant figure it out.....like in an RPG. please ASAP ![Smile Smile](http://compsci.ca/v3/images/smiles/icon_smile.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Thu Mar 27, 2003 12:14 pm Post subject: (No subject) |
|
|
you load all the variable values from a file...
we have a tutorial on reading/writing to a file, so you just save the values of all the variables, then load them into the program. That will restore it to previous state ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|
|