how do you save the game??
Author |
Message |
BPhelmet
|
Posted: Fri Dec 31, 2004 2:34 pm Post subject: how do you save the game?? |
|
|
i'm making a game, and i want it to be able to save, how do you do that? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Fri Dec 31, 2004 2:47 pm Post subject: (No subject) |
|
|
Well, I've never done as such, but I would assume you'd want to save variable information to your text file, then use that information when you load the game file next time. |
|
|
|
|
![](images/spacer.gif) |
BPhelmet
|
Posted: Fri Dec 31, 2004 3:59 pm Post subject: (No subject) |
|
|
thx ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Fri Dec 31, 2004 5:01 pm Post subject: (No subject) |
|
|
for my othello project two years ago, you were allowed to save the current board, you can check it out in the turing submissions. |
|
|
|
|
![](images/spacer.gif) |
BPhelmet
|
Posted: Fri Dec 31, 2004 5:18 pm Post subject: (No subject) |
|
|
what does filenumber do? |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Fri Dec 31, 2004 6:04 pm Post subject: (No subject) |
|
|
read up on file i/o in the turing help manual |
|
|
|
|
![](images/spacer.gif) |
|
|