|
-
Aug 22nd, 2011, 01:44 PM
#1
Thread Starter
New Member
Video Game Save Files
In my game, there are many chapters that the character plays through. I want a savefiledialog to save to a folder (OF my choice) and then have another dialog in the main menu that can read exactly what chapter that save file was and then start the user at that chapter. What I need to know is A) How to assign a savefile with properties such as the Chapter name and B) How to save/load files with the savefile dialog
-
Aug 22nd, 2011, 02:31 PM
#2
Fanatic Member
Re: Video Game Save Files
So... You're wanting to save a file per chapter completed and whatnot via a file dialog?
Why not just automatically save a text file or something to your appdir, on completion, then on the program load, parse said dir, and display which ones are there for them to pick?
However, for your 'issue', use the search. Use google, this is fairly simple.
-
Aug 22nd, 2011, 07:27 PM
#3
Thread Starter
New Member
Re: Video Game Save Files
 Originally Posted by TCarter
So... You're wanting to save a file per chapter completed and whatnot via a file dialog?
Why not just automatically save a text file or something to your appdir, on completion, then on the program load, parse said dir, and display which ones are there for them to pick?
However, for your 'issue', use the search. Use google, this is fairly simple.
Is there a type of file and could use for this that is not editable? Like a file that only works in VS apps?
-
Aug 22nd, 2011, 08:38 PM
#4
Fanatic Member
Re: Video Game Save Files
you could always save your data into a txt file, but have it be encrypted...
and it doesnt necessarily have to be .txt, but .gme or whatever
-
Aug 22nd, 2011, 11:13 PM
#5
Thread Starter
New Member
Re: Video Game Save Files
 Originally Posted by TCarter
you could always save your data into a txt file, but have it be encrypted...
and it doesnt necessarily have to be .txt, but .gme or whatever
how would i encrypt a .txt so that only my application can read it? Also, how can i make Visual studio read from certain lines in the document/how can I edit/create writing in the text file?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|