Computer Science Canada Text-Based RPG: Saving the game? |
Author: | Matterialize [ Wed Jan 10, 2007 9:13 pm ] |
Post subject: | Text-Based RPG: Saving the game? |
I'm writing a simple text-based RPG, and I have the basic necessities down (leveling up, stats, attacks and damage, etc) but there's one very important piece of the puzzle that I can't figure out: How do I create a save file, and then later load it up? Normally I wouldn't post an outright "Help Me" thread, but I really have no clue what I'm doing in this neck of the woods. And it really is a necessary part of the program, because it's an RPG. ![]() I'll post the code if you want, although I'm not sure if that would help. Also, this isn't for any school project or anything. Just my own personal enjoyment, but it's bugging me. ![]() |
Author: | ericfourfour [ Wed Jan 10, 2007 9:17 pm ] |
Post subject: | RE:Text-Based RPG: Saving the game? |
Check out the tutorial on file io. It should be found in The Turing Walkthrough. |
Author: | Matterialize [ Wed Jan 10, 2007 10:00 pm ] |
Post subject: | Re: Text-Based RPG: Saving the game? |
Ah, excellent. I missed that. Thanks! |