Files would work better than DATA. DATA consumes valuable space.

by (Login burger2227)
R

Create the default files with your editor and save them for the game package. That way a user can go back to defaults any time they want. Then create user files to save game data when completing a level.

To create the first user files just copy the default files with different names. Then the user can play, alter the setting while playing and resume anytime.

How do you find out if it is a first time user? Use the LOF for a file that is created when the user enters their name and any other info. If the file is empty then the program knows to create the user files automatically and asks for a user name and password. It does not have to ask for user info unless they ask to use another name.

DATA will just consume valuable program space that you really need for the game itself.

Ted

Posted on Jan 17, 2010, 12:00 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
i know DATA will take up space. on Jan 17
 i forgot to add.. on Jan 17
  Let me save you a lot of hell... on Jan 17
   few QB64 questions on Jan 17
    Yes to both. You can also continue to program in the QB IDE. on Jan 17
    32 bit is good. Try it and see. It should work! on Jan 17
 *You could put all the files in a folder and ZIP them up to send to people.Solitaire on Jan 17
  My hunch is, Solitaire, (and an alternative for Mike) is that since it is a game... on Jan 17
   exactly pete on Jan 17
    You could use ASCII encryption on Jan 17
     If you use that, just be sure you don't have a CHR$(26) in your data... on Jan 17
      I normally only change letter\number codes from 48 up. I leave lowers alone. on Jan 17