Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Text-Based RPG: Saving the game?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Matterialize




PostPosted: 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. Sad

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. Smile If there's some sort of generic code template for savegames, that'd be fantastic, because I'm hoping to go GUI with this, later on.
Sponsor
Sponsor
Sponsor
sponsor
ericfourfour




PostPosted: 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.
Matterialize




PostPosted: Wed Jan 10, 2007 10:00 pm   Post subject: Re: Text-Based RPG: Saving the game?

Ah, excellent. I missed that. Thanks!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: