Computer Science Canada continuing a game???? |
Author: | the_noodle [ 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 |
Author: | Tony [ Thu Mar 27, 2003 12:14 pm ] |
Post 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 |